/*
 * Noopur Maheshwari : 111464061
 * Rahul Rane : 111465246
 */
#include <iostream>
#include <map>
#include <queue>
#include <functional>
//#include "scheduler.h"
using namespace std;

map<pthread_t, deque<function<void()>>> cpu_que_map;
map<pthread_t, pthread_mutex_t> cpu_lock_map;
map<pthread_t, deque<function<void()>>> gpu_que_map;
map<pthread_t, pthread_mutex_t> gpu_lock_map;
map<pthread_t, cudaStream_t> stream_map;
extern bool completed;

pthread_t get_random_cpu() {
    static unsigned long x=123456789, y=362436069, z=521288629;

    unsigned long t;
    x ^= x << 16;
    x ^= x >> 5;
    x ^= x << 1;

    t = x;
    x = y;
    y = z;
    z = t ^ x ^ y;
    auto itr = cpu_que_map.begin();
    return next(itr, z%cpu_que_map.size())->first;
}

pthread_t get_random_gpu() {
    static unsigned long x=123456789, y=362436069, z=521288629;

    unsigned long t;
    x ^= x << 16;
    x ^= x >> 5;
    x ^= x << 1;

    t = x;
    x = y;
    y = z;
    z = t ^ x ^ y;
    auto itr = gpu_que_map.begin();
    return next(itr, z%gpu_que_map.size())->first;
}

void* __do_work_cpu(void *data) {
    pthread_t tid, tid_stolen;
    while(!completed) {
        tid = pthread_self();
        pthread_mutex_lock(&(cpu_lock_map[tid]));
        if (completed && cpu_que_map[tid].size() == 0) {
            pthread_mutex_unlock(&cpu_lock_map[tid]);
            break;
        }
        if (!cpu_que_map[tid].empty()) {
            cpu_que_map[tid].front()();
            cpu_que_map[tid].pop_front();
            pthread_mutex_unlock(&cpu_lock_map[tid]);
            continue;
        } else {
            pthread_mutex_unlock(&cpu_lock_map[tid]);
        }
        
        //Steal from other queue
        tid_stolen = get_random_cpu(); 
        pthread_mutex_lock(&cpu_lock_map[tid_stolen]); 
        if (completed && cpu_que_map[tid_stolen].size() == 0) {
            pthread_mutex_unlock(&cpu_lock_map[tid_stolen]);
            break;
        }
        if (!cpu_que_map[tid_stolen].empty()) {
            cpu_que_map[tid_stolen].back()();
            cpu_que_map[tid_stolen].pop_back();
            pthread_mutex_unlock(&cpu_lock_map[tid_stolen]);
            continue;
        } else {
            pthread_mutex_unlock(&cpu_lock_map[tid_stolen]);
        }
    }
    cout<<"CPU:"<<tid<<" exited"<<endl;
    pthread_exit(NULL);
}

void* __do_work_gpu(void *data) {
    pthread_t tid, tid_stolen;
    while(!completed) {
        tid = pthread_self();
        pthread_mutex_lock(&(gpu_lock_map[tid]));
        if (completed && gpu_que_map[tid].size() == 0) {
            pthread_mutex_unlock(&gpu_lock_map[tid]);
            break;
        }
        if (!gpu_que_map[tid].empty()) {
            gpu_que_map[tid].front()();
            gpu_que_map[tid].pop_front();
            pthread_mutex_unlock(&gpu_lock_map[tid]);
            continue;
        } else {
            pthread_mutex_unlock(&gpu_lock_map[tid]);
        }
        
        //Steal from other queue
        tid_stolen = get_random_gpu(); 
        pthread_mutex_lock(&gpu_lock_map[tid_stolen]); 
        if (completed && gpu_que_map[tid_stolen].size() == 0) {
            pthread_mutex_unlock(&gpu_lock_map[tid_stolen]);
            break;
        }
        if (!gpu_que_map[tid_stolen].empty()) {
            gpu_que_map[tid_stolen].back()();
            gpu_que_map[tid_stolen].pop_back();
            pthread_mutex_unlock(&gpu_lock_map[tid_stolen]);
            continue;
        } else {
            pthread_mutex_unlock(&gpu_lock_map[tid_stolen]);
        }
    }
    cout<<"GPU:"<<tid<<" exited"<<endl;
    pthread_exit(NULL);
}


	.file	"tmpxft_00346eec_00000000-6_scheduler.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB5516:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE5516:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmP11CUstream_stESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E.isra.0,"axG",@progbits,_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED5Ev,comdat
	.align 2
	.type	_ZNSt8_Rb_treeImSt4pairIKmP11CUstream_stESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E.isra.0, @function
_ZNSt8_Rb_treeImSt4pairIKmP11CUstream_stESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E.isra.0:
.LFB6590:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
.L3:
	testq	%rbx, %rbx
	je	.L7
	movq	24(%rbx), %rdi
	call	_ZNSt8_Rb_treeImSt4pairIKmP11CUstream_stESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E.isra.0
	movq	16(%rbx), %rbp
	movq	%rbx, %rdi
	movl	$48, %esi
	call	_ZdlPvm@PLT
	movq	%rbp, %rbx
	jmp	.L3
.L7:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6590:
	.size	_ZNSt8_Rb_treeImSt4pairIKmP11CUstream_stESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E.isra.0, .-_ZNSt8_Rb_treeImSt4pairIKmP11CUstream_stESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E.isra.0
	.section	.text._ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED2Ev,"axG",@progbits,_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED5Ev,comdat
	.align 2
	.weak	_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED2Ev
	.type	_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED2Ev, @function
_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED2Ev:
.LFB6579:
	.cfi_startproc
	endbr64
	movq	16(%rdi), %rdi
	jmp	_ZNSt8_Rb_treeImSt4pairIKmP11CUstream_stESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E.isra.0
	.cfi_endproc
.LFE6579:
	.size	_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED2Ev, .-_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED2Ev
	.weak	_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED1Ev
	.set	_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED1Ev,_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED2Ev
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0,"axG",@progbits,_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED5Ev,comdat
	.align 2
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0, @function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0:
.LFB6593:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
.L10:
	testq	%rbx, %rbx
	je	.L13
	movq	24(%rbx), %rdi
	call	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0
	movq	16(%rbx), %rbp
	movq	%rbx, %rdi
	movl	$80, %esi
	call	_ZdlPvm@PLT
	movq	%rbp, %rbx
	jmp	.L10
.L13:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6593:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0, .-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0
	.section	.text._ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev,"axG",@progbits,_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED5Ev,comdat
	.align 2
	.weak	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev
	.type	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev, @function
_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev:
.LFB6576:
	.cfi_startproc
	endbr64
	movq	16(%rdi), %rdi
	jmp	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0
	.cfi_endproc
.LFE6576:
	.size	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev, .-_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev
	.weak	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED1Ev
	.set	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED1Ev,_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev
	.text
	.type	_ZSt9__advanceISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEElEvRT_T0_St26bidirectional_iterator_tag.isra.0, @function
_ZSt9__advanceISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEElEvRT_T0_St26bidirectional_iterator_tag.isra.0:
.LFB6596:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	testq	%rsi, %rsi
	jle	.L16
	decq	%rbx
.L17:
	movq	0(%rbp), %rdi
	call	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base@PLT
	movq	%rax, 0(%rbp)
	subq	$1, %rbx
	jnb	.L17
	jmp	.L15
.L16:
	incq	%rbx
	cmpq	$1, %rbx
	je	.L15
	movq	0(%rbp), %rdi
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	movq	%rax, 0(%rbp)
	jmp	.L16
.L15:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6596:
	.size	_ZSt9__advanceISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEElEvRT_T0_St26bidirectional_iterator_tag.isra.0, .-_ZSt9__advanceISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEElEvRT_T0_St26bidirectional_iterator_tag.isra.0
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,comdat
	.align 2
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0, @function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0:
.LFB6597:
	.cfi_startproc
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movb	$1, %al
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	8(%rdi), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	16(%rdi), %rbx
.L24:
	testq	%rbx, %rbx
	je	.L32
	cmpq	32(%rbx), %r12
	movq	24(%rbx), %rdx
	movq	%rbx, %rbp
	cmovb	16(%rbx), %rdx
	setb	%al
	movq	%rdx, %rbx
	jmp	.L24
.L32:
	testb	%al, %al
	je	.L30
	cmpq	%rbp, 24(%rdi)
	je	.L28
	movq	%rbp, %rdi
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	jmp	.L27
.L30:
	movq	%rbp, %rax
.L27:
	xorl	%edx, %edx
	cmpq	%r12, 32(%rax)
	cmovnb	%rdx, %rbp
	cmovnb	%rax, %rbx
.L28:
	movq	%rbx, %rax
	movq	%rbp, %rdx
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6597:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0, .-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_.isra.0,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_,comdat
	.align 2
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_.isra.0, @function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_.isra.0:
.LFB6598:
	.cfi_startproc
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movb	$1, %al
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	8(%rdi), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	16(%rdi), %rbx
.L34:
	testq	%rbx, %rbx
	je	.L42
	cmpq	32(%rbx), %r12
	movq	24(%rbx), %rdx
	movq	%rbx, %rbp
	cmovb	16(%rbx), %rdx
	setb	%al
	movq	%rdx, %rbx
	jmp	.L34
.L42:
	testb	%al, %al
	je	.L40
	cmpq	%rbp, 24(%rdi)
	je	.L38
	movq	%rbp, %rdi
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	jmp	.L37
.L40:
	movq	%rbp, %rax
.L37:
	xorl	%edx, %edx
	cmpq	%r12, 32(%rax)
	cmovnb	%rdx, %rbp
	cmovnb	%rax, %rbx
.L38:
	movq	%rbx, %rax
	movq	%rbp, %rdx
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6598:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_.isra.0, .-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_.isra.0
	.section	.text._ZNSt14_Function_baseD2Ev,"axG",@progbits,_ZNSt14_Function_baseD5Ev,comdat
	.align 2
	.weak	_ZNSt14_Function_baseD2Ev
	.type	_ZNSt14_Function_baseD2Ev, @function
_ZNSt14_Function_baseD2Ev:
.LFB4681:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4681
	endbr64
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	.L49
	movq	%rdi, %rsi
	pushq	%rdx
	.cfi_def_cfa_offset 16
	movl	$3, %edx
	call	*%rax
	popq	%rcx
	.cfi_def_cfa_offset 8
	ret
.L49:
	ret
	.cfi_endproc
.LFE4681:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZNSt14_Function_baseD2Ev,"aG",@progbits,_ZNSt14_Function_baseD5Ev,comdat
.LLSDA4681:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4681-.LLSDACSB4681
.LLSDACSB4681:
.LLSDACSE4681:
	.section	.text._ZNSt14_Function_baseD2Ev,"axG",@progbits,_ZNSt14_Function_baseD5Ev,comdat
	.size	_ZNSt14_Function_baseD2Ev, .-_ZNSt14_Function_baseD2Ev
	.weak	_ZNSt14_Function_baseD1Ev
	.set	_ZNSt14_Function_baseD1Ev,_ZNSt14_Function_baseD2Ev
	.text
	.globl	_Z14get_random_cpuv
	.type	_Z14get_random_cpuv, @function
_Z14get_random_cpuv:
.LFB5509:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	_ZZ14get_random_cpuvE1x(%rip), %rdx
	movq	_ZZ14get_random_cpuvE1z(%rip), %rcx
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	movq	%rdx, %rax
	salq	$16, %rax
	xorq	%rdx, %rax
	movq	%rax, %rdx
	shrq	$5, %rdx
	xorq	%rax, %rdx
	movq	_ZZ14get_random_cpuvE1y(%rip), %rax
	movq	%rcx, _ZZ14get_random_cpuvE1y(%rip)
	movq	%rax, _ZZ14get_random_cpuvE1x(%rip)
	xorq	%rcx, %rax
	xorq	%rdx, %rax
	addq	%rdx, %rdx
	xorq	%rdx, %rax
	xorl	%edx, %edx
	movq	%rax, _ZZ14get_random_cpuvE1z(%rip)
	divq	40+cpu_que_map(%rip)
	movq	24+cpu_que_map(%rip), %rax
	movq	%rax, (%rsp)
	movq	%rdx, %rsi
	call	_ZSt9__advanceISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEElEvRT_T0_St26bidirectional_iterator_tag.isra.0
	movq	(%rsp), %rax
	movq	32(%rax), %rax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5509:
	.size	_Z14get_random_cpuv, .-_Z14get_random_cpuv
	.globl	_Z14get_random_gpuv
	.type	_Z14get_random_gpuv, @function
_Z14get_random_gpuv:
.LFB5511:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	_ZZ14get_random_gpuvE1x(%rip), %rdx
	movq	_ZZ14get_random_gpuvE1z(%rip), %rcx
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	movq	%rdx, %rax
	salq	$16, %rax
	xorq	%rdx, %rax
	movq	%rax, %rdx
	shrq	$5, %rdx
	xorq	%rax, %rdx
	movq	_ZZ14get_random_gpuvE1y(%rip), %rax
	movq	%rcx, _ZZ14get_random_gpuvE1y(%rip)
	movq	%rax, _ZZ14get_random_gpuvE1x(%rip)
	xorq	%rcx, %rax
	xorq	%rdx, %rax
	addq	%rdx, %rdx
	xorq	%rdx, %rax
	xorl	%edx, %edx
	movq	%rax, _ZZ14get_random_gpuvE1z(%rip)
	divq	40+gpu_que_map(%rip)
	movq	24+gpu_que_map(%rip), %rax
	movq	%rax, (%rsp)
	movq	%rdx, %rsi
	call	_ZSt9__advanceISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEElEvRT_T0_St26bidirectional_iterator_tag.isra.0
	movq	(%rsp), %rax
	movq	32(%rax), %rax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5511:
	.size	_Z14get_random_gpuv, .-_Z14get_random_gpuv
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB5539:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	movq	%rax, %rdi
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE5539:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv,"axG",@progbits,_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv,comdat
	.align 2
	.weak	_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv
	.type	_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv, @function
_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv:
.LFB5885:
	.cfi_startproc
	endbr64
	movq	72(%rdi), %rdx
	movq	%rdx, %rax
	subq	40(%rdi), %rax
	sarq	$3, %rax
	cmpq	$1, %rdx
	movq	48(%rdi), %rdx
	adcq	$-1, %rax
	subq	56(%rdi), %rdx
	sarq	$5, %rdx
	salq	$4, %rax
	addq	%rdx, %rax
	movq	32(%rdi), %rdx
	subq	16(%rdi), %rdx
	sarq	$5, %rdx
	addq	%rdx, %rax
	ret
	.cfi_endproc
.LFE5885:
	.size	_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv, .-_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv
	.section	.text._ZNKSt8functionIFvvEEclEv,"axG",@progbits,_ZNKSt8functionIFvvEEclEv,comdat
	.align 2
	.weak	_ZNKSt8functionIFvvEEclEv
	.type	_ZNKSt8functionIFvvEEclEv, @function
_ZNKSt8functionIFvvEEclEv:
.LFB5888:
	.cfi_startproc
	endbr64
	cmpq	$0, 16(%rdi)
	jne	.L62
	pushq	%rax
	.cfi_def_cfa_offset 16
	call	_ZSt25__throw_bad_function_callv@PLT
.L62:
	.cfi_def_cfa_offset 8
	jmp	*24(%rdi)
	.cfi_endproc
.LFE5888:
	.size	_ZNKSt8functionIFvvEEclEv, .-_ZNKSt8functionIFvvEEclEv
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv,comdat
	.align 2
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv, @function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv:
.LFB5889:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	movq	32(%rbx), %rax
	subq	$32, %rax
	cmpq	%rax, %rdi
	je	.L67
	call	_ZNSt14_Function_baseD2Ev
	movq	16(%rbx), %rax
	addq	$32, %rax
	jmp	.L68
.L67:
	call	_ZNSt14_Function_baseD2Ev
	movq	24(%rbx), %rdi
	movl	$512, %esi
	call	_ZdlPvm@PLT
	movq	40(%rbx), %rax
	leaq	8(%rax), %rdx
	movq	8(%rax), %rax
	movq	%rdx, 40(%rbx)
	leaq	512(%rax), %rdx
	movq	%rax, 24(%rbx)
	movq	%rdx, 32(%rbx)
.L68:
	movq	%rax, 16(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5889:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv, .-_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv,comdat
	.align 2
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv, @function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv:
.LFB5891:
	.cfi_startproc
	endbr64
	movq	48(%rdi), %rax
	movq	72(%rdi), %rdx
	cmpq	56(%rdi), %rax
	jne	.L71
	movq	-8(%rdx), %rax
	addq	$512, %rax
.L71:
	subq	$32, %rax
	ret
	.cfi_endproc
.LFE5891:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv, .-_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv,comdat
	.align 2
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv, @function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv:
.LFB5892:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	movq	48(%rdi), %rdi
	cmpq	56(%rbx), %rdi
	je	.L73
	subq	$32, %rdi
	jmp	.L75
.L73:
	movl	$512, %esi
	call	_ZdlPvm@PLT
	movq	72(%rbx), %rax
	movq	-8(%rax), %rdi
	leaq	-8(%rax), %rdx
	movq	%rdx, 72(%rbx)
	leaq	512(%rdi), %rax
	movq	%rdi, 56(%rbx)
	addq	$480, %rdi
	movq	%rax, 64(%rbx)
.L75:
	movq	%rdi, 48(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt14_Function_baseD2Ev
	.cfi_endproc
.LFE5892:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv, .-_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,comdat
	.align 2
	.weak	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_, @function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_:
.LFB6240:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	8(%rdi), %rax
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	(%rdx), %rsi
	cmpq	%rax, %rbx
	jne	.L77
	cmpq	$0, 40(%rdi)
	je	.L86
	movq	32(%rdi), %rdx
	cmpq	%rsi, 32(%rdx)
	jnb	.L86
	jmp	.L89
.L77:
	movq	32(%rbx), %rax
	cmpq	%rax, %rsi
	jnb	.L80
	movq	24(%rdi), %rax
	cmpq	%rbx, %rax
	je	.L87
	movq	%rbx, %rdi
	movq	%rsi, 8(%rsp)
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdx
	cmpq	%rsi, 32(%rax)
	jnb	.L86
	cmpq	$0, 24(%rdx)
	movq	%rbx, %rax
	jne	.L87
	jmp	.L89
.L80:
	cmpq	%rsi, %rax
	jnb	.L84
	movq	32(%rdi), %rdx
	cmpq	%rbx, %rdx
	jne	.L85
.L89:
	xorl	%eax, %eax
	jmp	.L79
.L85:
	movq	%rbx, %rdi
	movq	%rsi, 8(%rsp)
	call	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base@PLT
	movq	8(%rsp), %rsi
	cmpq	32(%rax), %rsi
	jnb	.L86
	cmpq	$0, 24(%rbx)
	jne	.L87
	xorl	%eax, %eax
	movq	%rbx, %rdx
	jmp	.L79
.L87:
	movq	%rax, %rdx
	jmp	.L79
.L86:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rbp, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0
.L84:
	.cfi_restore_state
	movq	%rbx, %rax
	xorl	%edx, %edx
.L79:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6240:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_, .-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.section	.text._ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_,"axG",@progbits,_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_,comdat
	.align 2
	.weak	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	.type	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_, @function
_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_:
.LFB5877:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	8(%rdi), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%r13, %rbx
	pushq	%rcx
	.cfi_def_cfa_offset 64
	movq	(%rsi), %rdx
	movq	16(%rdi), %rax
.L91:
	testq	%rax, %rax
	je	.L100
	movq	16(%rax), %rcx
	movq	24(%rax), %rsi
	cmpq	%rdx, 32(%rax)
	jnb	.L92
	movq	%rbx, %rax
	movq	%rsi, %rcx
.L92:
	movq	%rax, %rbx
	movq	%rcx, %rax
	jmp	.L91
.L100:
	cmpq	%rbx, %r13
	je	.L94
	cmpq	32(%rbx), %rdx
	jnb	.L95
.L94:
	movl	$80, %edi
	movq	%rbx, %r15
	call	_Znwm@PLT
	movq	(%r12), %r14
	movl	$10, %ecx
	movq	%r15, %rsi
	movq	%rax, %rbx
	leaq	40(%rax), %rdi
	movq	%r14, 32(%rax)
	xorl	%eax, %eax
	leaq	32(%rbx), %rdx
	rep stosl
	movq	%rbp, %rdi
	call	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	movq	%rax, %r12
	testq	%rdx, %rdx
	je	.L96
	testq	%rax, %rax
	setne	%dil
	cmpq	%rdx, %r13
	sete	%al
	orb	%al, %dil
	jne	.L97
	cmpq	32(%rdx), %r14
	setb	%dil
.L97:
	movzbl	%dil, %edi
	movq	%r13, %rcx
	movq	%rbx, %rsi
	call	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_@PLT
	incq	40(%rbp)
	jmp	.L95
.L96:
	movq	%rbx, %rdi
	movl	$80, %esi
	movq	%r12, %rbx
	call	_ZdlPvm@PLT
.L95:
	popq	%rdx
	.cfi_def_cfa_offset 56
	leaq	40(%rbx), %rax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5877:
	.size	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_, .-_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_,comdat
	.align 2
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_, @function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_:
.LFB6263:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	8(%rdi), %rax
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	(%rdx), %rsi
	cmpq	%rax, %rbx
	jne	.L102
	cmpq	$0, 40(%rdi)
	je	.L111
	movq	32(%rdi), %rdx
	cmpq	%rsi, 32(%rdx)
	jnb	.L111
	jmp	.L114
.L102:
	movq	32(%rbx), %rax
	cmpq	%rax, %rsi
	jnb	.L105
	movq	24(%rdi), %rax
	cmpq	%rbx, %rax
	je	.L112
	movq	%rbx, %rdi
	movq	%rsi, 8(%rsp)
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdx
	cmpq	%rsi, 32(%rax)
	jnb	.L111
	cmpq	$0, 24(%rdx)
	movq	%rbx, %rax
	jne	.L112
	jmp	.L114
.L105:
	cmpq	%rsi, %rax
	jnb	.L109
	movq	32(%rdi), %rdx
	cmpq	%rbx, %rdx
	jne	.L110
.L114:
	xorl	%eax, %eax
	jmp	.L104
.L110:
	movq	%rbx, %rdi
	movq	%rsi, 8(%rsp)
	call	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base@PLT
	movq	8(%rsp), %rsi
	cmpq	32(%rax), %rsi
	jnb	.L111
	cmpq	$0, 24(%rbx)
	jne	.L112
	xorl	%eax, %eax
	movq	%rbx, %rdx
	jmp	.L104
.L112:
	movq	%rax, %rdx
	jmp	.L104
.L111:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rbp, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_.isra.0
.L109:
	.cfi_restore_state
	movq	%rbx, %rax
	xorl	%edx, %edx
.L104:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6263:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_, .-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_
	.section	.text._ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_,"axG",@progbits,_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_,comdat
	.weak	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	.type	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_, @function
_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_:
.LFB6545:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
.L116:
	cmpq	%rbp, %rbx
	je	.L119
	movq	%rbx, %rdi
	addq	$32, %rbx
	call	_ZNSt14_Function_baseD2Ev
	jmp	.L116
.L119:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6545:
	.size	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_, .-_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EED5Ev,comdat
	.align 2
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev, @function
_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev:
.LFB6467:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	48(%rdi), %rax
	movq	40(%rdi), %r13
	movq	56(%rdi), %r14
	movq	72(%rdi), %r12
	movq	%rax, 8(%rsp)
	movq	16(%rdi), %rax
	leaq	8(%r13), %rbp
	movq	32(%rdi), %r15
	movq	%rax, (%rsp)
.L121:
	cmpq	%r12, %rbp
	jnb	.L130
	movq	0(%rbp), %rdi
	addq	$8, %rbp
	leaq	512(%rdi), %rsi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	jmp	.L121
.L130:
	cmpq	%r12, %r13
	je	.L123
	movq	(%rsp), %rdi
	movq	%r15, %rsi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	movq	8(%rsp), %rsi
	movq	%r14, %rdi
	jmp	.L129
.L123:
	movq	8(%rsp), %rsi
	movq	(%rsp), %rdi
.L129:
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	cmpq	$0, (%rbx)
	je	.L120
	movq	72(%rbx), %rax
	movq	40(%rbx), %rbp
	leaq	8(%rax), %r12
.L126:
	cmpq	%r12, %rbp
	jnb	.L131
	movq	0(%rbp), %rdi
	movl	$512, %esi
	addq	$8, %rbp
	call	_ZdlPvm@PLT
	jmp	.L126
.L131:
	movq	8(%rbx), %rax
	movq	(%rbx), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	leaq	0(,%rax,8), %rsi
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPvm@PLT
.L120:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6467:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev, .-_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EED1Ev
	.set	_ZNSt5dequeISt8functionIFvvEESaIS2_EED1Ev,_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,comdat
	.align 2
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_, @function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_:
.LFB6095:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA6095
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movq	%rsi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rdi, %r12
	movl	$120, %edi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%rcx, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	pushq	%r8
	.cfi_def_cfa_offset 48
.LEHB0:
	call	_Znwm@PLT
.LEHE0:
	xorl	%r9d, %r9d
	movl	$64, %edi
	movq	%rax, %rbx
	movq	0(%rbp), %rax
	movq	(%rax), %rax
	movq	%r9, 40(%rbx)
	movq	%r9, 56(%rbx)
	movq	%rax, 32(%rbx)
	movq	%r9, 64(%rbx)
	movq	%r9, 72(%rbx)
	movq	%r9, 80(%rbx)
	movq	%r9, 88(%rbx)
	movq	%r9, 96(%rbx)
	movq	%r9, 104(%rbx)
	movq	%r9, 112(%rbx)
	movq	$8, 48(%rbx)
.LEHB1:
	call	_Znwm@PLT
.LEHE1:
	movq	48(%rbx), %rdx
	movq	%rax, 40(%rbx)
	movl	$512, %edi
	leaq	-4(,%rdx,4), %rdx
	andq	$-8, %rdx
	leaq	(%rax,%rdx), %rbp
.LEHB2:
	call	_Znwm@PLT
.LEHE2:
	leaq	512(%rax), %rdx
	movq	%rax, 0(%rbp)
	movq	%r13, %rsi
	movq	%r12, %rdi
	movq	%rbp, 80(%rbx)
	movq	%rdx, 72(%rbx)
	movq	%rbp, 112(%rbx)
	movq	%rdx, 104(%rbx)
	leaq	32(%rbx), %rdx
	movq	%rax, 64(%rbx)
	movq	%rax, 96(%rbx)
	movq	%rax, 56(%rbx)
	movq	%rax, 88(%rbx)
	call	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_
	movq	%rax, %rbp
	testq	%rdx, %rdx
	jne	.L133
	jmp	.L151
.L147:
	endbr64
	movq	%rax, %rdi
.L135:
	call	__cxa_begin_catch@PLT
.LEHB3:
	call	__cxa_rethrow@PLT
.LEHE3:
.L148:
	endbr64
	movq	%rax, %rbp
.L136:
	call	__cxa_end_catch@PLT
	movq	%rbp, %rdi
	call	__cxa_begin_catch@PLT
	movq	48(%rbx), %rax
	movq	40(%rbx), %rdi
	leaq	0(,%rax,8), %rsi
	call	_ZdlPvm@PLT
	xorl	%ecx, %ecx
	movq	%rcx, 40(%rbx)
	movq	%rcx, 48(%rbx)
.LEHB4:
	call	__cxa_rethrow@PLT
.LEHE4:
.L146:
	endbr64
	movq	%rax, %rbp
.L137:
	call	__cxa_end_catch@PLT
	movq	%rbp, %rdi
	jmp	.L138
.L144:
	endbr64
	movq	%rax, %rdi
.L138:
	call	__cxa_begin_catch@PLT
	movl	$120, %esi
	movq	%rbx, %rdi
	call	_ZdlPvm@PLT
.LEHB5:
	call	__cxa_rethrow@PLT
.LEHE5:
.L145:
	endbr64
	movq	%rax, %rbx
.L139:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB6:
	call	_Unwind_Resume@PLT
.LEHE6:
.L133:
	testq	%rax, %rax
	movb	$1, %dil
	leaq	8(%r12), %rcx
	jne	.L140
	cmpq	%rcx, %rdx
	je	.L140
	movq	32(%rdx), %rax
	cmpq	%rax, 32(%rbx)
	setb	%dil
.L140:
	movzbl	%dil, %edi
	movq	%rbx, %rsi
	movq	%rbx, %rbp
	call	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_@PLT
	incq	40(%r12)
	jmp	.L141
.L151:
	leaq	40(%rbx), %rdi
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EED1Ev
	movl	$120, %esi
	movq	%rbx, %rdi
	call	_ZdlPvm@PLT
.L141:
	popq	%rdx
	.cfi_def_cfa_offset 40
	movq	%rbp, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6095:
	.section	.gcc_except_table._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,"aG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,comdat
	.align 4
.LLSDA6095:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT6095-.LLSDATTD6095
.LLSDATTD6095:
	.byte	0x1
	.uleb128 .LLSDACSE6095-.LLSDACSB6095
.LLSDACSB6095:
	.uleb128 .LEHB0-.LFB6095
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB6095
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L144-.LFB6095
	.uleb128 0x1
	.uleb128 .LEHB2-.LFB6095
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L147-.LFB6095
	.uleb128 0x1
	.uleb128 .LEHB3-.LFB6095
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L148-.LFB6095
	.uleb128 0x3
	.uleb128 .LEHB4-.LFB6095
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L146-.LFB6095
	.uleb128 0x3
	.uleb128 .LEHB5-.LFB6095
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L145-.LFB6095
	.uleb128 0
	.uleb128 .LEHB6-.LFB6095
	.uleb128 .LEHE6-.LEHB6
	.uleb128 0
	.uleb128 0
.LLSDACSE6095:
	.byte	0x1
	.byte	0
	.byte	0
	.byte	0x7d
	.align 4
	.long	0

.LLSDATT6095:
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,comdat
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_, .-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_
	.section	.text._ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_,"axG",@progbits,_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_,comdat
	.align 2
	.weak	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	.type	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_, @function
_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_:
.LFB5884:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	8(%rdi), %r8
	movq	(%rsi), %rcx
	movq	%rsi, %rdx
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	16(%rdi), %rax
	movq	%r8, %rsi
.L153:
	testq	%rax, %rax
	je	.L160
	movq	16(%rax), %r9
	movq	24(%rax), %r10
	cmpq	%rcx, 32(%rax)
	jnb	.L154
	movq	%rsi, %rax
	movq	%r10, %r9
.L154:
	movq	%rax, %rsi
	movq	%r9, %rax
	jmp	.L153
.L160:
	cmpq	%rsi, %r8
	je	.L156
	cmpq	32(%rsi), %rcx
	jnb	.L157
.L156:
	movq	%rdx, 16(%rsp)
	leaq	16(%rsp), %rcx
	leaq	15(%rsp), %r8
	leaq	_ZSt19piecewise_construct(%rip), %rdx
	call	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_
	movq	%rax, %rsi
.L157:
	leaq	40(%rsi), %rax
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L158
	call	__stack_chk_fail@PLT
.L158:
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5884:
	.size	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_, .-_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CPU:"
.LC1:
	.string	" exited"
	.text
	.globl	_Z13__do_work_cpuPv
	.type	_Z13__do_work_cpuPv, @function
_Z13__do_work_cpuPv:
.LFB5512:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	cpu_lock_map(%rip), %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
.L162:
	cmpb	$0, completed(%rip)
	jne	.L164
	leaq	8(%rsp), %rbp
	leaq	cpu_que_map(%rip), %r12
	call	pthread_self@PLT
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%rax, 8(%rsp)
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_lock@PLT
	cmpb	$0, completed(%rip)
	je	.L163
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv
	testq	%rax, %rax
	je	.L176
.L163:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rbp, %rsi
	movq	48(%rax), %rdx
	cmpq	%rdx, 16(%rax)
	je	.L165
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	16(%rax), %rdi
	call	_ZNKSt8functionIFvvEEclEv
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	jmp	.L174
.L165:
	movq	%rbx, %rdi
	leaq	16(%rsp), %rbp
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_unlock@PLT
	call	_Z14get_random_cpuv
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%rax, 16(%rsp)
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_lock@PLT
	cmpb	$0, completed(%rip)
	jne	.L167
.L170:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	cmpq	%rcx, 16(%rax)
	je	.L174
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv
	movq	%rax, %rdi
	call	_ZNKSt8functionIFvvEEclEv
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	jmp	.L174
.L167:
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv
	testq	%rax, %rax
	jne	.L170
.L176:
	movq	%rbx, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_unlock@PLT
	jmp	.L164
.L174:
	movq	%rbx, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_unlock@PLT
	jmp	.L162
.L164:
	leaq	.LC0(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	call	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L172
	call	__stack_chk_fail@PLT
.L172:
	xorl	%edi, %edi
	call	pthread_exit@PLT
	.cfi_endproc
.LFE5512:
	.size	_Z13__do_work_cpuPv, .-_Z13__do_work_cpuPv
	.section	.rodata.str1.1
.LC2:
	.string	"GPU:"
	.text
	.globl	_Z13__do_work_gpuPv
	.type	_Z13__do_work_gpuPv, @function
_Z13__do_work_gpuPv:
.LFB5513:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	gpu_lock_map(%rip), %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
.L178:
	cmpb	$0, completed(%rip)
	jne	.L180
	leaq	8(%rsp), %rbp
	leaq	gpu_que_map(%rip), %r12
	call	pthread_self@PLT
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%rax, 8(%rsp)
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_lock@PLT
	cmpb	$0, completed(%rip)
	je	.L179
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv
	testq	%rax, %rax
	je	.L192
.L179:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rbp, %rsi
	movq	48(%rax), %rdx
	cmpq	%rdx, 16(%rax)
	je	.L181
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	16(%rax), %rdi
	call	_ZNKSt8functionIFvvEEclEv
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	jmp	.L190
.L181:
	movq	%rbx, %rdi
	leaq	16(%rsp), %rbp
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_unlock@PLT
	call	_Z14get_random_gpuv
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%rax, 16(%rsp)
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_lock@PLT
	cmpb	$0, completed(%rip)
	jne	.L183
.L186:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	cmpq	%rcx, 16(%rax)
	je	.L190
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv
	movq	%rax, %rdi
	call	_ZNKSt8functionIFvvEEclEv
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	jmp	.L190
.L183:
	movq	%r12, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	call	_ZNKSt5dequeISt8functionIFvvEESaIS2_EE4sizeEv
	testq	%rax, %rax
	jne	.L186
.L192:
	movq	%rbx, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_unlock@PLT
	jmp	.L180
.L190:
	movq	%rbx, %rdi
	movq	%rbp, %rsi
	call	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	call	pthread_mutex_unlock@PLT
	jmp	.L178
.L180:
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	call	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L188
	call	__stack_chk_fail@PLT
.L188:
	xorl	%edi, %edi
	call	pthread_exit@PLT
	.cfi_endproc
.LFE5513:
	.size	_Z13__do_work_gpuPv, .-_Z13__do_work_gpuPv
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E.isra.0,"axG",@progbits,_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED5Ev,comdat
	.align 2
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E.isra.0, @function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E.isra.0:
.LFB6626:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
.L194:
	testq	%rbx, %rbx
	je	.L197
	movq	24(%rbx), %rdi
	call	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E.isra.0
	leaq	40(%rbx), %rdi
	movq	16(%rbx), %rbp
	call	_ZNSt5dequeISt8functionIFvvEESaIS2_EED1Ev
	movq	%rbx, %rdi
	movl	$120, %esi
	call	_ZdlPvm@PLT
	movq	%rbp, %rbx
	jmp	.L194
.L197:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6626:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E.isra.0, .-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E.isra.0
	.section	.text._ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev,"axG",@progbits,_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED5Ev,comdat
	.align 2
	.weak	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev
	.type	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev, @function
_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev:
.LFB6573:
	.cfi_startproc
	endbr64
	movq	16(%rdi), %rdi
	jmp	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E.isra.0
	.cfi_endproc
.LFE6573:
	.size	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev, .-_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev
	.weak	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED1Ev
	.set	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED1Ev,_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev
	.section	.text.startup
	.type	_GLOBAL__sub_I_cpu_que_map, @function
_GLOBAL__sub_I_cpu_que_map:
.LFB6581:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xorl	%eax, %eax
	leaq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED1Ev(%rip), %r12
	xorl	%edx, %edx
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xorl	%ecx, %ecx
	movq	%r12, %rdi
	leaq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED1Ev(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	__dso_handle(%rip), %rbx
	movl	%eax, 8+cpu_que_map(%rip)
	leaq	8+cpu_que_map(%rip), %rax
	movq	%rdx, 16+cpu_que_map(%rip)
	leaq	-8(%rax), %rsi
	movq	%rbx, %rdx
	movq	%rcx, 40+cpu_que_map(%rip)
	movq	%rax, 24+cpu_que_map(%rip)
	movq	%rax, 32+cpu_que_map(%rip)
	call	__cxa_atexit@PLT
	leaq	8+cpu_lock_map(%rip), %rax
	xorl	%esi, %esi
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	movq	%rbx, %rdx
	movl	%esi, 8+cpu_lock_map(%rip)
	leaq	-8(%rax), %rsi
	movq	%rdi, 16+cpu_lock_map(%rip)
	movq	%rbp, %rdi
	movq	%r8, 40+cpu_lock_map(%rip)
	movq	%rax, 24+cpu_lock_map(%rip)
	movq	%rax, 32+cpu_lock_map(%rip)
	call	__cxa_atexit@PLT
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	xorl	%r11d, %r11d
	leaq	8+gpu_que_map(%rip), %rax
	movq	%rbx, %rdx
	movq	%r12, %rdi
	movl	%r9d, 8+gpu_que_map(%rip)
	leaq	-8(%rax), %rsi
	movq	%r10, 16+gpu_que_map(%rip)
	xorl	%r12d, %r12d
	movq	%r11, 40+gpu_que_map(%rip)
	movq	%rax, 24+gpu_que_map(%rip)
	movq	%rax, 32+gpu_que_map(%rip)
	call	__cxa_atexit@PLT
	xorl	%eax, %eax
	xorl	%edx, %edx
	movq	%rbp, %rdi
	movq	%rax, 16+gpu_lock_map(%rip)
	leaq	8+gpu_lock_map(%rip), %rax
	movq	%rdx, 40+gpu_lock_map(%rip)
	leaq	-8(%rax), %rsi
	movq	%rbx, %rdx
	movl	%r12d, 8+gpu_lock_map(%rip)
	movq	%rax, 24+gpu_lock_map(%rip)
	movq	%rax, 32+gpu_lock_map(%rip)
	call	__cxa_atexit@PLT
	leaq	8+stream_map(%rip), %rax
	xorl	%esi, %esi
	xorl	%edi, %edi
	movq	%rsi, 16+stream_map(%rip)
	xorl	%ecx, %ecx
	movq	%rbx, %rdx
	leaq	-8(%rax), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	movq	%rdi, 40+stream_map(%rip)
	leaq	_ZNSt3mapImP11CUstream_stSt4lessImESaISt4pairIKmS1_EEED1Ev(%rip), %rdi
	popq	%r12
	.cfi_def_cfa_offset 8
	movl	%ecx, 8+stream_map(%rip)
	movq	%rax, 24+stream_map(%rip)
	movq	%rax, 32+stream_map(%rip)
	jmp	__cxa_atexit@PLT
	.cfi_endproc
.LFE6581:
	.size	_GLOBAL__sub_I_cpu_que_map, .-_GLOBAL__sub_I_cpu_que_map
	.section	.init_array
	.align 8
	.quad	_GLOBAL__sub_I_cpu_que_map
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.data
	.align 8
	.type	_ZZ14get_random_gpuvE1z, @object
	.size	_ZZ14get_random_gpuvE1z, 8
_ZZ14get_random_gpuvE1z:
	.quad	521288629
	.align 8
	.type	_ZZ14get_random_gpuvE1y, @object
	.size	_ZZ14get_random_gpuvE1y, 8
_ZZ14get_random_gpuvE1y:
	.quad	362436069
	.align 8
	.type	_ZZ14get_random_gpuvE1x, @object
	.size	_ZZ14get_random_gpuvE1x, 8
_ZZ14get_random_gpuvE1x:
	.quad	123456789
	.align 8
	.type	_ZZ14get_random_cpuvE1z, @object
	.size	_ZZ14get_random_cpuvE1z, 8
_ZZ14get_random_cpuvE1z:
	.quad	521288629
	.align 8
	.type	_ZZ14get_random_cpuvE1y, @object
	.size	_ZZ14get_random_cpuvE1y, 8
_ZZ14get_random_cpuvE1y:
	.quad	362436069
	.align 8
	.type	_ZZ14get_random_cpuvE1x, @object
	.size	_ZZ14get_random_cpuvE1x, 8
_ZZ14get_random_cpuvE1x:
	.quad	123456789
	.globl	stream_map
	.bss
	.align 32
	.type	stream_map, @object
	.size	stream_map, 48
stream_map:
	.zero	48
	.globl	gpu_lock_map
	.align 32
	.type	gpu_lock_map, @object
	.size	gpu_lock_map, 48
gpu_lock_map:
	.zero	48
	.globl	gpu_que_map
	.align 32
	.type	gpu_que_map, @object
	.size	gpu_que_map, 48
gpu_que_map:
	.zero	48
	.globl	cpu_lock_map
	.align 32
	.type	cpu_lock_map, @object
	.size	cpu_lock_map, 48
cpu_lock_map:
	.zero	48
	.globl	cpu_que_map
	.align 32
	.type	cpu_que_map, @object
	.size	cpu_que_map, 48
cpu_que_map:
	.zero	48
	.weak	_ZSt19piecewise_construct
	.section	.rodata._ZSt19piecewise_construct,"aG",@progbits,_ZSt19piecewise_construct,comdat
	.type	_ZSt19piecewise_construct, @gnu_unique_object
	.size	_ZSt19piecewise_construct, 1
_ZSt19piecewise_construct:
	.zero	1
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.hidden	__dso_handle
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

/*
 * Noopur Maheshwari : 111464061
 * Rahul Rane : 111465246
 */

#include <hip/hip_runtime.h>
#include <iostream>
#include <map>
#include <queue>
#include <functional>
//#include "scheduler.h"
using namespace std;

map<pthread_t, deque<function<void()>>> cpu_que_map;
map<pthread_t, pthread_mutex_t> cpu_lock_map;
map<pthread_t, deque<function<void()>>> gpu_que_map;
map<pthread_t, pthread_mutex_t> gpu_lock_map;
map<pthread_t, hipStream_t> stream_map;
extern bool completed;

pthread_t get_random_cpu() {
    static unsigned long x=123456789, y=362436069, z=521288629;

    unsigned long t;
    x ^= x << 16;
    x ^= x >> 5;
    x ^= x << 1;

    t = x;
    x = y;
    y = z;
    z = t ^ x ^ y;
    auto itr = cpu_que_map.begin();
    return next(itr, z%cpu_que_map.size())->first;
}

pthread_t get_random_gpu() {
    static unsigned long x=123456789, y=362436069, z=521288629;

    unsigned long t;
    x ^= x << 16;
    x ^= x >> 5;
    x ^= x << 1;

    t = x;
    x = y;
    y = z;
    z = t ^ x ^ y;
    auto itr = gpu_que_map.begin();
    return next(itr, z%gpu_que_map.size())->first;
}

void* __do_work_cpu(void *data) {
    pthread_t tid, tid_stolen;
    while(!completed) {
        tid = pthread_self();
        pthread_mutex_lock(&(cpu_lock_map[tid]));
        if (completed && cpu_que_map[tid].size() == 0) {
            pthread_mutex_unlock(&cpu_lock_map[tid]);
            break;
        }
        if (!cpu_que_map[tid].empty()) {
            cpu_que_map[tid].front()();
            cpu_que_map[tid].pop_front();
            pthread_mutex_unlock(&cpu_lock_map[tid]);
            continue;
        } else {
            pthread_mutex_unlock(&cpu_lock_map[tid]);
        }
        
        //Steal from other queue
        tid_stolen = get_random_cpu(); 
        pthread_mutex_lock(&cpu_lock_map[tid_stolen]); 
        if (completed && cpu_que_map[tid_stolen].size() == 0) {
            pthread_mutex_unlock(&cpu_lock_map[tid_stolen]);
            break;
        }
        if (!cpu_que_map[tid_stolen].empty()) {
            cpu_que_map[tid_stolen].back()();
            cpu_que_map[tid_stolen].pop_back();
            pthread_mutex_unlock(&cpu_lock_map[tid_stolen]);
            continue;
        } else {
            pthread_mutex_unlock(&cpu_lock_map[tid_stolen]);
        }
    }
    cout<<"CPU:"<<tid<<" exited"<<endl;
    pthread_exit(NULL);
}

void* __do_work_gpu(void *data) {
    pthread_t tid, tid_stolen;
    while(!completed) {
        tid = pthread_self();
        pthread_mutex_lock(&(gpu_lock_map[tid]));
        if (completed && gpu_que_map[tid].size() == 0) {
            pthread_mutex_unlock(&gpu_lock_map[tid]);
            break;
        }
        if (!gpu_que_map[tid].empty()) {
            gpu_que_map[tid].front()();
            gpu_que_map[tid].pop_front();
            pthread_mutex_unlock(&gpu_lock_map[tid]);
            continue;
        } else {
            pthread_mutex_unlock(&gpu_lock_map[tid]);
        }
        
        //Steal from other queue
        tid_stolen = get_random_gpu(); 
        pthread_mutex_lock(&gpu_lock_map[tid_stolen]); 
        if (completed && gpu_que_map[tid_stolen].size() == 0) {
            pthread_mutex_unlock(&gpu_lock_map[tid_stolen]);
            break;
        }
        if (!gpu_que_map[tid_stolen].empty()) {
            gpu_que_map[tid_stolen].back()();
            gpu_que_map[tid_stolen].pop_back();
            pthread_mutex_unlock(&gpu_lock_map[tid_stolen]);
            continue;
        } else {
            pthread_mutex_unlock(&gpu_lock_map[tid_stolen]);
        }
    }
    cout<<"GPU:"<<tid<<" exited"<<endl;
    pthread_exit(NULL);
}


	.text
	.file	"scheduler.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.section	.text._ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev,"axG",@progbits,_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev,comdat
	.weak	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev # -- Begin function _ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev
	.p2align	1, 0x90
	.type	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev,@function
_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev: # @_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev
	.cfi_startproc
# %bb.0:
	jmp	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev # TAILCALL
.Lfunc_end0:
	.size	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev, .Lfunc_end0-_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev,"axG",@progbits,_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev,comdat
	.weak	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev # -- Begin function _ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev
	.p2align	1, 0x90
	.type	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev,@function
_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev: # @_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev
	.cfi_startproc
# %bb.0:
	jmp	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev # TAILCALL
.Lfunc_end1:
	.size	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev, .Lfunc_end1-_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev,"axG",@progbits,_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev,comdat
	.weak	_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev # -- Begin function _ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev
	.p2align	1, 0x90
	.type	_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev,@function
_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev: # @_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev
	.cfi_startproc
# %bb.0:
	jmp	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev # TAILCALL
.Lfunc_end2:
	.size	_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev, .Lfunc_end2-_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z14get_random_cpuv             # -- Begin function _Z14get_random_cpuv
	.type	_Z14get_random_cpuv,@function
_Z14get_random_cpuv:                    # @_Z14get_random_cpuv
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	_ZZ14get_random_cpuvE1x(%rip), %rax
	movq	%rax, %rcx
	shlq	$16, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	shrq	$5, %rax
	xorq	%rcx, %rax
	movq	_ZZ14get_random_cpuvE1y(%rip), %rcx
	movq	%rcx, _ZZ14get_random_cpuvE1x(%rip)
	movq	_ZZ14get_random_cpuvE1z(%rip), %rdx
	movq	%rdx, _ZZ14get_random_cpuvE1y(%rip)
	xorq	%rax, %rcx
	addq	%rax, %rax
	xorq	%rcx, %rax
	xorq	%rdx, %rax
	movq	%rax, _ZZ14get_random_cpuvE1z(%rip)
	movq	cpu_que_map+24(%rip), %rdi
	xorl	%edx, %edx
	divq	cpu_que_map+40(%rip)
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	jle	.LBB3_1
.LBB3_4:                                # %.preheader.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	callq	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
	movq	%rax, %rdi
	decq	%rbx
	jne	.LBB3_4
	jmp	.LBB3_3
.LBB3_1:                                # %.preheader7.i.i.i
	je	.LBB3_3
.LBB3_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
	movq	%rax, %rdi
	incq	%rbx
	jne	.LBB3_2
.LBB3_3:                                # %_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEEET_SB_NSt15iterator_traitsISB_E15difference_typeE.exit
	movq	32(%rdi), %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z14get_random_cpuv, .Lfunc_end3-_Z14get_random_cpuv
	.cfi_endproc
                                        # -- End function
	.globl	_Z14get_random_gpuv             # -- Begin function _Z14get_random_gpuv
	.type	_Z14get_random_gpuv,@function
_Z14get_random_gpuv:                    # @_Z14get_random_gpuv
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	_ZZ14get_random_gpuvE1x(%rip), %rax
	movq	%rax, %rcx
	shlq	$16, %rcx
	xorq	%rax, %rcx
	movq	%rcx, %rax
	shrq	$5, %rax
	xorq	%rcx, %rax
	movq	_ZZ14get_random_gpuvE1y(%rip), %rcx
	movq	%rcx, _ZZ14get_random_gpuvE1x(%rip)
	movq	_ZZ14get_random_gpuvE1z(%rip), %rdx
	movq	%rdx, _ZZ14get_random_gpuvE1y(%rip)
	xorq	%rax, %rcx
	addq	%rax, %rax
	xorq	%rcx, %rax
	xorq	%rdx, %rax
	movq	%rax, _ZZ14get_random_gpuvE1z(%rip)
	movq	gpu_que_map+24(%rip), %rdi
	xorl	%edx, %edx
	divq	gpu_que_map+40(%rip)
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	jle	.LBB4_1
.LBB4_4:                                # %.preheader.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	callq	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
	movq	%rax, %rdi
	decq	%rbx
	jne	.LBB4_4
	jmp	.LBB4_3
.LBB4_1:                                # %.preheader7.i.i.i
	je	.LBB4_3
.LBB4_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
	movq	%rax, %rdi
	incq	%rbx
	jne	.LBB4_2
.LBB4_3:                                # %_ZSt4nextISt17_Rb_tree_iteratorISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEEET_SB_NSt15iterator_traitsISB_E15difference_typeE.exit
	movq	32(%rdi), %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z14get_random_gpuv, .Lfunc_end4-_Z14get_random_gpuv
	.cfi_endproc
                                        # -- End function
	.globl	_Z13__do_work_cpuPv             # -- Begin function _Z13__do_work_cpuPv
	.type	_Z13__do_work_cpuPv,@function
_Z13__do_work_cpuPv:                    # @_Z13__do_work_cpuPv
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	cmpb	$0, completed(%rip)
	jne	.LBB5_12
# %bb.1:                                # %.lr.ph
	callq	pthread_self
	movq	%rax, %r14
	leaq	8(%rsp), %rbx
	leaq	16(%rsp), %r15
	movl	$512, %r12d                     # imm = 0x200
.LBB5_2:                                # =>This Inner Loop Header: Depth=1
	movq	%r14, 8(%rsp)
	movl	$cpu_lock_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_lock
	cmpb	$0, completed(%rip)
	je	.LBB5_4
# %bb.3:                                #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	72(%rax), %rcx
	movq	%rcx, %rdx
	subq	40(%rax), %rdx
	shrq	$3, %rdx
	cmpq	$1, %rcx
	adcq	$-1, %rdx
	shlq	$4, %rdx
	movq	32(%rax), %rcx
	movq	48(%rax), %rsi
	subq	56(%rax), %rsi
	sarq	$5, %rsi
	addq	%rdx, %rsi
	subq	16(%rax), %rcx
	sarq	$5, %rcx
	addq	%rsi, %rcx
	je	.LBB5_11
.LBB5_4:                                #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	cmpq	16(%rax), %rcx
	je	.LBB5_8
# %bb.5:                                #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	16(%rax), %rdi
	cmpq	$0, 16(%rdi)
	je	.LBB5_18
# %bb.6:                                # %_ZNKSt8functionIFvvEEclEv.exit
                                        #   in Loop: Header=BB5_2 Depth=1
	callq	*24(%rdi)
	movl	$cpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	movq	%rbx, %rsi
	jmp	.LBB5_7
.LBB5_8:                                #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_lock_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_unlock
	callq	_Z14get_random_cpuv
	movq	%rax, 16(%rsp)
	movl	$cpu_lock_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_lock
	cmpb	$0, completed(%rip)
	je	.LBB5_13
# %bb.9:                                #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	72(%rax), %rcx
	movq	%rcx, %rdx
	subq	40(%rax), %rdx
	shrq	$3, %rdx
	cmpq	$1, %rcx
	adcq	$-1, %rdx
	shlq	$4, %rdx
	movq	32(%rax), %rcx
	movq	48(%rax), %rsi
	subq	56(%rax), %rsi
	sarq	$5, %rsi
	addq	%rdx, %rsi
	subq	16(%rax), %rcx
	sarq	$5, %rcx
	addq	%rsi, %rcx
	je	.LBB5_10
.LBB5_13:                               #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	movq	%r15, %rsi
	cmpq	16(%rax), %rcx
	je	.LBB5_7
# %bb.14:                               #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	cmpq	56(%rax), %rcx
	jne	.LBB5_16
# %bb.15:                               #   in Loop: Header=BB5_2 Depth=1
	movq	72(%rax), %rax
	movq	-8(%rax), %rcx
	addq	%r12, %rcx
.LBB5_16:                               # %_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv.exit
                                        #   in Loop: Header=BB5_2 Depth=1
	cmpq	$0, -16(%rcx)
	je	.LBB5_18
# %bb.17:                               # %_ZNKSt8functionIFvvEEclEv.exit5
                                        #   in Loop: Header=BB5_2 Depth=1
	leaq	-32(%rcx), %rdi
	callq	*-8(%rcx)
	movl	$cpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	movq	%r15, %rsi
.LBB5_7:                                # %.backedge
                                        #   in Loop: Header=BB5_2 Depth=1
	movl	$cpu_lock_map, %edi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_unlock
	cmpb	$0, completed(%rip)
	je	.LBB5_2
	jmp	.LBB5_12
.LBB5_18:
	callq	_ZSt25__throw_bad_function_callv
.LBB5_10:
	movq	%r15, %rbx
.LBB5_11:                               # %.loopexit.sink.split
	movl	$cpu_lock_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_unlock
.LBB5_12:                               # %.loopexit
	movl	$_ZSt4cout, %edi
	movl	$.L.str, %esi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	callq	_ZNSolsEm
	movl	$.L.str.5, %esi
	movq	%rax, %rdi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
	xorl	%edi, %edi
	callq	pthread_exit
.Lfunc_end5:
	.size	_Z13__do_work_cpuPv, .Lfunc_end5-_Z13__do_work_cpuPv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_,"axG",@progbits,_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_,comdat
	.weak	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_ # -- Begin function _ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	.p2align	1, 0x90
	.type	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_,@function
_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_: # @_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	.cfi_startproc
# %bb.0:
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rsi, %rdx
	movq	16(%rdi), %r8
	leaq	8(%rdi), %rsi
	testq	%r8, %r8
	je	.LBB6_5
# %bb.1:                                # %.lr.ph.i.i.i
	movq	(%rdx), %rcx
	movq	%rsi, %rax
.LBB6_2:                                # =>This Inner Loop Header: Depth=1
	xorl	%r9d, %r9d
	cmpq	%rcx, 32(%r8)
	setb	%r9b
	cmovaeq	%r8, %rax
	movq	16(%r8,%r9,8), %r8
	testq	%r8, %r8
	jne	.LBB6_2
# %bb.3:                                # %_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEE11lower_boundERS4_.exit
	cmpq	%rsi, %rax
	je	.LBB6_5
# %bb.4:
	movq	%rax, %rsi
	cmpq	32(%rax), %rcx
	jae	.LBB6_6
.LBB6_5:                                # %.critedge
	leaq	16(%rsp), %rcx
	movq	%rdx, (%rcx)
	leaq	15(%rsp), %r8
	movl	$_ZSt19piecewise_construct, %edx
	callq	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
.LBB6_6:
	addq	$40, %rax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_, .Lfunc_end6-_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_,"axG",@progbits,_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_,comdat
	.weak	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_ # -- Begin function _ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	.p2align	1, 0x90
	.type	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_,@function
_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_: # @_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	.cfi_startproc
# %bb.0:
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rsi, %rdx
	movq	16(%rdi), %r8
	leaq	8(%rdi), %rsi
	testq	%r8, %r8
	je	.LBB7_5
# %bb.1:                                # %.lr.ph.i.i.i
	movq	(%rdx), %rcx
	movq	%rsi, %rax
.LBB7_2:                                # =>This Inner Loop Header: Depth=1
	xorl	%r9d, %r9d
	cmpq	%rcx, 32(%r8)
	setb	%r9b
	cmovaeq	%r8, %rax
	movq	16(%r8,%r9,8), %r8
	testq	%r8, %r8
	jne	.LBB7_2
# %bb.3:                                # %_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEE11lower_boundERS9_.exit
	cmpq	%rsi, %rax
	je	.LBB7_5
# %bb.4:
	movq	%rax, %rsi
	cmpq	32(%rax), %rcx
	jae	.LBB7_6
.LBB7_5:                                # %.critedge
	leaq	16(%rsp), %rcx
	movq	%rdx, (%rcx)
	leaq	15(%rsp), %r8
	movl	$_ZSt19piecewise_construct, %edx
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_
.LBB7_6:
	addq	$40, %rax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_, .Lfunc_end7-_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv,comdat
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv # -- Begin function _ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	.p2align	1, 0x90
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv,@function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv: # @_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	movq	32(%rbx), %rax
	addq	$-32, %rax
	cmpq	%rax, %rdi
	je	.LBB8_5
# %bb.1:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	.LBB8_4
# %bb.2:
.Ltmp0:
	movq	%rdi, %rsi
	movl	$3, %edx
	callq	*%rax
.Ltmp1:
# %bb.3:                                # %._ZNSt16allocator_traitsISaISt8functionIFvvEEEE7destroyIS2_EEvRS3_PT_.exit_crit_edge
	movq	16(%rbx), %rdi
.LBB8_4:                                # %_ZNSt16allocator_traitsISaISt8functionIFvvEEEE7destroyIS2_EEvRS3_PT_.exit
	addq	$32, %rdi
	movq	%rdi, 16(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB8_5:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv # TAILCALL
.LBB8_6:
	.cfi_def_cfa_offset 16
.Ltmp2:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end8:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv, .Lfunc_end8-_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	.cfi_endproc
	.section	.gcc_except_table._ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv,"aG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv,comdat
	.p2align	2, 0x0
GCC_except_table8:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	1                               #   On action: 1
.Lcst_end0:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv,comdat
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv # -- Begin function _ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	.p2align	1, 0x90
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv,@function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv: # @_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdi, %rax
	movq	48(%rdi), %rcx
	cmpq	56(%rdi), %rcx
	je	.LBB9_5
# %bb.1:
	leaq	-32(%rcx), %rdi
	movq	%rdi, 48(%rax)
	movq	-16(%rcx), %rax
	testq	%rax, %rax
	je	.LBB9_3
# %bb.2:
.Ltmp3:
	movq	%rdi, %rsi
	movl	$3, %edx
	callq	*%rax
.Ltmp4:
.LBB9_3:                                # %_ZNSt16allocator_traitsISaISt8functionIFvvEEEE7destroyIS2_EEvRS3_PT_.exit
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB9_5:
	.cfi_def_cfa_offset 16
	movq	%rax, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv # TAILCALL
.LBB9_4:
	.cfi_def_cfa_offset 16
.Ltmp5:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end9:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv, .Lfunc_end9-_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	.cfi_endproc
	.section	.gcc_except_table._ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv,"aG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv,comdat
	.p2align	2, 0x0
GCC_except_table9:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Ltmp3-.Lfunc_begin1           # >> Call Site 1 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin1           #     jumps to .Ltmp5
	.byte	1                               #   On action: 1
.Lcst_end1:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase1:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z13__do_work_gpuPv             # -- Begin function _Z13__do_work_gpuPv
	.type	_Z13__do_work_gpuPv,@function
_Z13__do_work_gpuPv:                    # @_Z13__do_work_gpuPv
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	cmpb	$0, completed(%rip)
	jne	.LBB10_12
# %bb.1:                                # %.lr.ph
	callq	pthread_self
	movq	%rax, %r14
	leaq	8(%rsp), %rbx
	leaq	16(%rsp), %r15
	movl	$512, %r12d                     # imm = 0x200
.LBB10_2:                               # =>This Inner Loop Header: Depth=1
	movq	%r14, 8(%rsp)
	movl	$gpu_lock_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_lock
	cmpb	$0, completed(%rip)
	je	.LBB10_4
# %bb.3:                                #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	72(%rax), %rcx
	movq	%rcx, %rdx
	subq	40(%rax), %rdx
	shrq	$3, %rdx
	cmpq	$1, %rcx
	adcq	$-1, %rdx
	shlq	$4, %rdx
	movq	32(%rax), %rcx
	movq	48(%rax), %rsi
	subq	56(%rax), %rsi
	sarq	$5, %rsi
	addq	%rdx, %rsi
	subq	16(%rax), %rcx
	sarq	$5, %rcx
	addq	%rsi, %rcx
	je	.LBB10_11
.LBB10_4:                               #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	cmpq	16(%rax), %rcx
	je	.LBB10_8
# %bb.5:                                #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	16(%rax), %rdi
	cmpq	$0, 16(%rdi)
	je	.LBB10_18
# %bb.6:                                # %_ZNKSt8functionIFvvEEclEv.exit
                                        #   in Loop: Header=BB10_2 Depth=1
	callq	*24(%rdi)
	movl	$gpu_que_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EE9pop_frontEv
	movq	%rbx, %rsi
	jmp	.LBB10_7
.LBB10_8:                               #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_lock_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_unlock
	callq	_Z14get_random_gpuv
	movq	%rax, 16(%rsp)
	movl	$gpu_lock_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_lock
	cmpb	$0, completed(%rip)
	je	.LBB10_13
# %bb.9:                                #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	72(%rax), %rcx
	movq	%rcx, %rdx
	subq	40(%rax), %rdx
	shrq	$3, %rdx
	cmpq	$1, %rcx
	adcq	$-1, %rdx
	shlq	$4, %rdx
	movq	32(%rax), %rcx
	movq	48(%rax), %rsi
	subq	56(%rax), %rsi
	sarq	$5, %rsi
	addq	%rdx, %rsi
	subq	16(%rax), %rcx
	sarq	$5, %rcx
	addq	%rsi, %rcx
	je	.LBB10_10
.LBB10_13:                              #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	movq	%r15, %rsi
	cmpq	16(%rax), %rcx
	je	.LBB10_7
# %bb.14:                               #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	48(%rax), %rcx
	cmpq	56(%rax), %rcx
	jne	.LBB10_16
# %bb.15:                               #   in Loop: Header=BB10_2 Depth=1
	movq	72(%rax), %rax
	movq	-8(%rax), %rcx
	addq	%r12, %rcx
.LBB10_16:                              # %_ZNSt5dequeISt8functionIFvvEESaIS2_EE4backEv.exit
                                        #   in Loop: Header=BB10_2 Depth=1
	cmpq	$0, -16(%rcx)
	je	.LBB10_18
# %bb.17:                               # %_ZNKSt8functionIFvvEEclEv.exit5
                                        #   in Loop: Header=BB10_2 Depth=1
	leaq	-32(%rcx), %rdi
	callq	*-8(%rcx)
	movl	$gpu_que_map, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEEixERS9_
	movq	%rax, %rdi
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EE8pop_backEv
	movq	%r15, %rsi
.LBB10_7:                               # %.backedge
                                        #   in Loop: Header=BB10_2 Depth=1
	movl	$gpu_lock_map, %edi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_unlock
	cmpb	$0, completed(%rip)
	je	.LBB10_2
	jmp	.LBB10_12
.LBB10_18:
	callq	_ZSt25__throw_bad_function_callv
.LBB10_10:
	movq	%r15, %rbx
.LBB10_11:                              # %.loopexit.sink.split
	movl	$gpu_lock_map, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEEixERS4_
	movq	%rax, %rdi
	callq	pthread_mutex_unlock
.LBB10_12:                              # %.loopexit
	movl	$_ZSt4cout, %edi
	movl	$.L.str.6, %esi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	callq	_ZNSolsEm
	movl	$.L.str.5, %esi
	movq	%rax, %rdi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
	xorl	%edi, %edi
	callq	pthread_exit
.Lfunc_end10:
	.size	_Z13__do_work_gpuPv, .Lfunc_end10-_Z13__do_work_gpuPv
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end11:
	.size	__clang_call_terminate, .Lfunc_end11-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	16(%rdi), %rsi
.Ltmp6:
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E
.Ltmp7:
# %bb.1:
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB12_2:
	.cfi_def_cfa_offset 16
.Ltmp8:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end12:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev, .Lfunc_end12-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev,"aG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EED2Ev,comdat
	.p2align	2, 0x0
GCC_except_table12:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase2-.Lttbaseref2
.Lttbaseref2:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Ltmp6-.Lfunc_begin2           # >> Call Site 1 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin2           #     jumps to .Ltmp8
	.byte	1                               #   On action: 1
.Lcst_end2:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB13_4
# %bb.1:                                # %.lr.ph.preheader
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
.LBB13_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rsi
	movq	%rbx, %rdi
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E
	movq	16(%r14), %r15
	leaq	40(%r14), %rdi
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	movq	%r14, %rdi
	callq	_ZdlPv
	movq	%r15, %r14
	testq	%r15, %r15
	jne	.LBB13_2
# %bb.3:
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r14
	.cfi_restore %r15
.LBB13_4:                               # %._crit_edge
	retq
.Lfunc_end13:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E, .Lfunc_end13-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev,comdat
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev # -- Begin function _ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev,@function
_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev: # @_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$64, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movups	16(%rdi), %xmm0
	movups	32(%rdi), %xmm1
	movups	48(%rdi), %xmm2
	movups	64(%rdi), %xmm3
	leaq	32(%rsp), %rsi
	movups	%xmm0, (%rsi)
	movups	%xmm1, 16(%rsi)
	movq	%rsp, %rdx
	movups	%xmm2, (%rdx)
	movups	%xmm3, 16(%rdx)
.Ltmp9:
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_
.Ltmp10:
# %bb.1:
	movq	%rbx, %rdi
	callq	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev
	addq	$64, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB14_2:
	.cfi_def_cfa_offset 80
.Ltmp11:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end14:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev, .Lfunc_end14-_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	.cfi_endproc
	.section	.gcc_except_table._ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev,"aG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev,comdat
	.p2align	2, 0x0
GCC_except_table14:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase3-.Lttbaseref3
.Lttbaseref3:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Ltmp9-.Lfunc_begin3           # >> Call Site 1 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin3          #     jumps to .Ltmp11
	.byte	1                               #   On action: 1
.Lcst_end3:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase3:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev,"axG",@progbits,_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev,comdat
	.weak	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev # -- Begin function _ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev,@function
_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev: # @_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	.LBB15_6
# %bb.1:
	movq	40(%rbx), %r14
	movq	72(%rbx), %r15
	leaq	8(%r15), %rax
	cmpq	%rax, %r14
	jae	.LBB15_5
# %bb.2:                                # %.lr.ph.i.preheader
	addq	$-8, %r14
.LBB15_3:                               # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	$8, %r14
	callq	_ZdlPv
	cmpq	%r15, %r14
	jb	.LBB15_3
# %bb.4:                                # %_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE16_M_destroy_nodesEPPS2_S6_.exit.loopexit
	movq	(%rbx), %rdi
.LBB15_5:                               # %_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE16_M_destroy_nodesEPPS2_S6_.exit
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB15_6:
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end15:
	.size	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev, .Lfunc_end15-_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_,comdat
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_ # -- Begin function _ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_
	.p2align	1, 0x90
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_,@function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_: # @_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_
.Lfunc_begin4:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception4
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	24(%rsi), %rcx
	leaq	8(%rcx), %r15
	movq	24(%rdx), %rax
	cmpq	%rax, %r15
	jae	.LBB16_7
.LBB16_1:                               # %.lr.ph
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB16_2 Depth 2
	movq	(%r15), %r12
	xorl	%r13d, %r13d
.LBB16_2:                               # %.lr.ph.i
                                        #   Parent Loop BB16_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	16(%r12,%r13), %rax
	testq	%rax, %rax
	je	.LBB16_4
# %bb.3:                                #   in Loop: Header=BB16_2 Depth=2
.Ltmp12:
	leaq	(%r12,%r13), %rdi
	movq	%rdi, %rsi
	movl	$3, %edx
	callq	*%rax
.Ltmp13:
.LBB16_4:                               # %_ZSt8_DestroyISt8functionIFvvEEEvPT_.exit.i
                                        #   in Loop: Header=BB16_2 Depth=2
	addq	$32, %r13
	cmpq	$512, %r13                      # imm = 0x200
	jne	.LBB16_2
# %bb.5:                                # %_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_.exit
                                        #   in Loop: Header=BB16_1 Depth=1
	addq	$8, %r15
	movq	24(%rbx), %rax
	cmpq	%rax, %r15
	jb	.LBB16_1
# %bb.6:                                # %._crit_edge.loopexit
	movq	24(%r14), %rcx
.LBB16_7:                               # %._crit_edge
	movq	(%r14), %rdi
	cmpq	%rax, %rcx
	je	.LBB16_9
# %bb.8:
	movq	16(%r14), %rsi
	callq	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	movq	8(%rbx), %rdi
.LBB16_9:
	movq	(%rbx), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_ # TAILCALL
.LBB16_10:
	.cfi_def_cfa_offset 48
.Ltmp14:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end16:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_, .Lfunc_end16-_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_,"aG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE19_M_destroy_data_auxESt15_Deque_iteratorIS2_RS2_PS2_ES8_,comdat
	.p2align	2, 0x0
GCC_except_table16:
.Lexception4:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase4-.Lttbaseref4
.Lttbaseref4:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end4-.Lcst_begin4
.Lcst_begin4:
	.uleb128 .Ltmp12-.Lfunc_begin4          # >> Call Site 1 <<
	.uleb128 .Ltmp13-.Ltmp12                #   Call between .Ltmp12 and .Ltmp13
	.uleb128 .Ltmp14-.Lfunc_begin4          #     jumps to .Ltmp14
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp13-.Lfunc_begin4          # >> Call Site 2 <<
	.uleb128 .Lfunc_end16-.Ltmp13           #   Call between .Ltmp13 and .Lfunc_end16
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end4:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase4:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_,"axG",@progbits,_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_,comdat
	.weak	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_ # -- Begin function _ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	.p2align	1, 0x90
	.type	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_,@function
_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_: # @_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
.Lfunc_begin5:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception5
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	cmpq	%rsi, %rdi
	je	.LBB17_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %rbx
	movq	%rdi, %r14
.LBB17_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	.LBB17_4
# %bb.3:                                #   in Loop: Header=BB17_2 Depth=1
.Ltmp15:
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	*%rax
.Ltmp16:
.LBB17_4:                               # %_ZSt8_DestroyISt8functionIFvvEEEvPT_.exit
                                        #   in Loop: Header=BB17_2 Depth=1
	addq	$32, %r14
	cmpq	%rbx, %r14
	jne	.LBB17_2
.LBB17_5:                               # %._crit_edge
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB17_6:
	.cfi_def_cfa_offset 32
.Ltmp17:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end17:
	.size	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_, .Lfunc_end17-_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_,"aG",@progbits,_ZNSt12_Destroy_auxILb0EE9__destroyIPSt8functionIFvvEEEEvT_S6_,comdat
	.p2align	2, 0x0
GCC_except_table17:
.Lexception5:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase5-.Lttbaseref5
.Lttbaseref5:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end5-.Lcst_begin5
.Lcst_begin5:
	.uleb128 .Ltmp15-.Lfunc_begin5          # >> Call Site 1 <<
	.uleb128 .Ltmp16-.Ltmp15                #   Call between .Ltmp15 and .Ltmp16
	.uleb128 .Ltmp17-.Lfunc_begin5          #     jumps to .Ltmp17
	.byte	1                               #   On action: 1
.Lcst_end5:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase5:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev # -- Begin function _ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev,@function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev: # @_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev
.Lfunc_begin6:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception6
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	16(%rdi), %rsi
.Ltmp18:
	callq	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
.Ltmp19:
# %bb.1:
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB18_2:
	.cfi_def_cfa_offset 16
.Ltmp20:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end18:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev, .Lfunc_end18-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev,"aG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EED2Ev,comdat
	.p2align	2, 0x0
GCC_except_table18:
.Lexception6:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase6-.Lttbaseref6
.Lttbaseref6:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end6-.Lcst_begin6
.Lcst_begin6:
	.uleb128 .Ltmp18-.Lfunc_begin6          # >> Call Site 1 <<
	.uleb128 .Ltmp19-.Ltmp18                #   Call between .Ltmp18 and .Ltmp19
	.uleb128 .Ltmp20-.Lfunc_begin6          #     jumps to .Ltmp20
	.byte	1                               #   On action: 1
.Lcst_end6:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase6:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E # -- Begin function _ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E,@function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E: # @_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB19_4
# %bb.1:                                # %.lr.ph.preheader
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
.LBB19_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rsi
	movq	%rbx, %rdi
	callq	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	movq	16(%r14), %r15
	movq	%r14, %rdi
	callq	_ZdlPv
	movq	%r15, %r14
	testq	%r15, %r15
	jne	.LBB19_2
# %bb.3:
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r14
	.cfi_restore %r15
.LBB19_4:                               # %._crit_edge
	retq
.Lfunc_end19:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E, .Lfunc_end19-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev,@function
_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev: # @_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev
.Lfunc_begin7:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception7
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	16(%rdi), %rsi
.Ltmp21:
	callq	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
.Ltmp22:
# %bb.1:
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB20_2:
	.cfi_def_cfa_offset 16
.Ltmp23:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end20:
	.size	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev, .Lfunc_end20-_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev,"aG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EED2Ev,comdat
	.p2align	2, 0x0
GCC_except_table20:
.Lexception7:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase7-.Lttbaseref7
.Lttbaseref7:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end7-.Lcst_begin7
.Lcst_begin7:
	.uleb128 .Ltmp21-.Lfunc_begin7          # >> Call Site 1 <<
	.uleb128 .Ltmp22-.Ltmp21                #   Call between .Ltmp21 and .Ltmp22
	.uleb128 .Ltmp23-.Lfunc_begin7          #     jumps to .Ltmp23
	.byte	1                               #   On action: 1
.Lcst_end7:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase7:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E,@function
_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E: # @_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB21_4
# %bb.1:                                # %.lr.ph.preheader
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
.LBB21_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rsi
	movq	%rbx, %rdi
	callq	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
	movq	16(%r14), %r15
	movq	%r14, %rdi
	callq	_ZdlPv
	movq	%r15, %r14
	testq	%r15, %r15
	jne	.LBB21_2
# %bb.3:
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r14
	.cfi_restore %r15
.LBB21_4:                               # %._crit_edge
	retq
.Lfunc_end21:
	.size	_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E, .Lfunc_end21-_ZNSt8_Rb_treeImSt4pairIKmP12ihipStream_tESt10_Select1stIS4_ESt4lessImESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_ # -- Begin function _ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,@function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_: # @_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
.Lfunc_begin8:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception8
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$80, %edi
	callq	_Znwm
	movq	%rax, %rbx
	leaq	32(%rax), %rdx
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movups	%xmm0, 56(%rbx)
	movq	$0, 72(%rbx)
.Ltmp24:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
.Ltmp25:
# %bb.1:
	movq	%rax, %r15
	testq	%rdx, %rdx
	je	.LBB22_5
# %bb.2:
.Ltmp26:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
.Ltmp27:
# %bb.3:
	movq	%rax, %r15
	jmp	.LBB22_6
.LBB22_5:                               # %_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E.exit
	movq	%rbx, %rdi
	callq	_ZdlPv
.LBB22_6:                               # %_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE10_Auto_nodeD2Ev.exit9
	movq	%r15, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB22_4:                               # %_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE10_Auto_nodeD2Ev.exit
	.cfi_def_cfa_offset 48
.Ltmp28:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ZdlPv
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end22:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_, .Lfunc_end22-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,"aG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table22:
.Lexception8:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end8-.Lcst_begin8
.Lcst_begin8:
	.uleb128 .Lfunc_begin8-.Lfunc_begin8    # >> Call Site 1 <<
	.uleb128 .Ltmp24-.Lfunc_begin8          #   Call between .Lfunc_begin8 and .Ltmp24
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp24-.Lfunc_begin8          # >> Call Site 2 <<
	.uleb128 .Ltmp27-.Ltmp24                #   Call between .Ltmp24 and .Ltmp27
	.uleb128 .Ltmp28-.Lfunc_begin8          #     jumps to .Ltmp28
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp27-.Lfunc_begin8          # >> Call Site 3 <<
	.uleb128 .Lfunc_end22-.Ltmp27           #   Call between .Ltmp27 and .Lfunc_end22
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end8:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_ # -- Begin function _ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,@function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_: # @_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rdi, %r15
	leaq	8(%rdi), %rax
	cmpq	%rsi, %rax
	je	.LBB23_1
# %bb.4:
	movq	%rsi, %rbx
	movq	(%r14), %r12
	movq	32(%rsi), %rax
	cmpq	%rax, %r12
	jae	.LBB23_9
# %bb.5:
	cmpq	%rbx, 24(%r15)
	je	.LBB23_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
	cmpq	%r12, 32(%rax)
	jae	.LBB23_14
# %bb.8:
	movq	%rax, %rcx
	movq	24(%rax), %rax
	testq	%rax, %rax
	cmovneq	%rbx, %rax
	cmoveq	%rcx, %rbx
	jmp	.LBB23_15
.LBB23_1:
	cmpq	$0, 40(%r15)
	je	.LBB23_14
# %bb.2:
	movq	32(%r15), %rbx
	movq	32(%rbx), %rax
	cmpq	(%r14), %rax
	jae	.LBB23_14
	jmp	.LBB23_3
.LBB23_9:
	jbe	.LBB23_10
# %bb.11:
	cmpq	%rbx, 32(%r15)
	je	.LBB23_3
# %bb.12:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
	cmpq	32(%rax), %r12
	jae	.LBB23_14
# %bb.13:
	movq	%rax, %rcx
	movq	24(%rbx), %rax
	testq	%rax, %rax
	cmovneq	%rcx, %rax
	cmovneq	%rcx, %rbx
	jmp	.LBB23_15
.LBB23_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_
	movq	%rdx, %rbx
	jmp	.LBB23_15
.LBB23_3:
	xorl	%eax, %eax
	jmp	.LBB23_15
.LBB23_10:
	movq	%rbx, %rax
	xorl	%ebx, %ebx
	jmp	.LBB23_15
.LBB23_6:
	movq	%rbx, %rax
.LBB23_15:
	movq	%rbx, %rdx
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end23:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_, .Lfunc_end23-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_ # -- Begin function _ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_,@function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_: # @_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %r14
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	.LBB24_1
# %bb.2:                                # %.lr.ph
	movq	(%r14), %rcx
.LBB24_3:                               # =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	32(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	setae	%al
	movq	16(%rbx,%rax,8), %rax
	testq	%rax, %rax
	jne	.LBB24_3
# %bb.4:                                # %._crit_edge
	movq	%rbx, %rax
	cmpq	%rdx, %rcx
	jb	.LBB24_5
	jmp	.LBB24_8
.LBB24_1:
	leaq	8(%rdi), %rbx
.LBB24_5:                               # %._crit_edge.thread
	cmpq	24(%rdi), %rbx
	je	.LBB24_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
.LBB24_8:
	movq	32(%rax), %rcx
	xorl	%edx, %edx
	cmpq	(%r14), %rcx
	cmovbq	%rdx, %rax
	cmovaeq	%rdx, %rbx
	jmp	.LBB24_9
.LBB24_6:
	xorl	%eax, %eax
.LBB24_9:
	movq	%rbx, %rdx
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end24:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_, .Lfunc_end24-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE24_M_get_insert_unique_posERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E # -- Begin function _ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E,@function
_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E: # @_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rcx, %rbx
	movq	%rdi, %r14
	leaq	8(%rdi), %rcx
	movb	$1, %al
	testq	%rsi, %rsi
	jne	.LBB25_3
# %bb.1:
	cmpq	%rdx, %rcx
	je	.LBB25_3
# %bb.2:
	movq	32(%rbx), %rax
	cmpq	32(%rdx), %rax
	setb	%al
.LBB25_3:
	movzbl	%al, %edi
	movq	%rbx, %rsi
	callq	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
	incq	40(%r14)
	movq	%rbx, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end25:
	.size	_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E, .Lfunc_end25-_ZNSt8_Rb_treeImSt4pairIKm15pthread_mutex_tESt10_Select1stIS3_ESt4lessImESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_ # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_
.Lfunc_begin9:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception9
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbp
	movq	%rdi, %r14
	movq	%rdi, 8(%rsp)
	movl	$120, %edi
	callq	_Znwm
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_
	movq	%rbx, 16(%rsp)
	leaq	32(%rbx), %rdx
.Ltmp29:
	movq	%r14, %rdi
	movq	%rbp, %rsi
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_
.Ltmp30:
# %bb.1:
	movq	%rax, %r15
	testq	%rdx, %rdx
	je	.LBB26_5
# %bb.2:
.Ltmp31:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E
.Ltmp32:
# %bb.3:
	movq	%rax, %r15
	jmp	.LBB26_6
.LBB26_5:
	movq	%rbx, %rdi
	addq	$40, %rdi
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	movq	%rbx, %rdi
	callq	_ZdlPv
.LBB26_6:                               # %_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev.exit
	movq	%r15, %rax
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB26_4:
	.cfi_def_cfa_offset 80
.Ltmp33:
	movq	%rax, %rbx
	leaq	8(%rsp), %rdi
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end26:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_, .Lfunc_end26-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,"aG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEESt17_Rb_tree_iteratorIS8_ESt23_Rb_tree_const_iteratorIS8_EDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table26:
.Lexception9:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end9-.Lcst_begin9
.Lcst_begin9:
	.uleb128 .Lfunc_begin9-.Lfunc_begin9    # >> Call Site 1 <<
	.uleb128 .Ltmp29-.Lfunc_begin9          #   Call between .Lfunc_begin9 and .Ltmp29
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp29-.Lfunc_begin9          # >> Call Site 2 <<
	.uleb128 .Ltmp32-.Ltmp29                #   Call between .Ltmp29 and .Ltmp32
	.uleb128 .Ltmp33-.Lfunc_begin9          #     jumps to .Ltmp33
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp32-.Lfunc_begin9          # >> Call Site 3 <<
	.uleb128 .Lfunc_end26-.Ltmp32           #   Call between .Ltmp32 and .Lfunc_end26
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end9:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_ # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rdi, %r15
	leaq	8(%rdi), %rax
	cmpq	%rsi, %rax
	je	.LBB27_1
# %bb.4:
	movq	%rsi, %rbx
	movq	(%r14), %r12
	movq	32(%rsi), %rax
	cmpq	%rax, %r12
	jae	.LBB27_9
# %bb.5:
	cmpq	%rbx, 24(%r15)
	je	.LBB27_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
	cmpq	%r12, 32(%rax)
	jae	.LBB27_14
# %bb.8:
	movq	%rax, %rcx
	movq	24(%rax), %rax
	testq	%rax, %rax
	cmovneq	%rbx, %rax
	cmoveq	%rcx, %rbx
	jmp	.LBB27_15
.LBB27_1:
	cmpq	$0, 40(%r15)
	je	.LBB27_14
# %bb.2:
	movq	32(%r15), %rbx
	movq	32(%rbx), %rax
	cmpq	(%r14), %rax
	jae	.LBB27_14
	jmp	.LBB27_3
.LBB27_9:
	jbe	.LBB27_10
# %bb.11:
	cmpq	%rbx, 32(%r15)
	je	.LBB27_3
# %bb.12:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
	cmpq	32(%rax), %r12
	jae	.LBB27_14
# %bb.13:
	movq	%rax, %rcx
	movq	24(%rbx), %rax
	testq	%rax, %rax
	cmovneq	%rcx, %rax
	cmovneq	%rcx, %rbx
	jmp	.LBB27_15
.LBB27_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_
	movq	%rdx, %rbx
	jmp	.LBB27_15
.LBB27_3:
	xorl	%eax, %eax
	jmp	.LBB27_15
.LBB27_10:
	movq	%rbx, %rax
	xorl	%ebx, %ebx
	jmp	.LBB27_15
.LBB27_6:
	movq	%rbx, %rax
.LBB27_15:
	movq	%rbx, %rdx
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end27:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_, .Lfunc_end27-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	.LBB28_1
# %bb.2:
	leaq	40(%rbx), %rdi
	callq	_ZNSt5dequeISt8functionIFvvEESaIS2_EED2Ev
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB28_1:
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end28:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev, .Lfunc_end28-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE10_Auto_nodeD2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_ # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_
.Lfunc_begin10:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception10
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rsi, %rbx
	movq	(%rcx), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rsi)
	leaq	40(%rsi), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsi)
	movups	%xmm0, 56(%rsi)
	movups	%xmm0, 72(%rsi)
	movups	%xmm0, 88(%rsi)
	movups	%xmm0, 104(%rsi)
.Ltmp34:
	xorl	%esi, %esi
	callq	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm
.Ltmp35:
# %bb.1:                                # %_ZNSt16allocator_traitsISaISt13_Rb_tree_nodeISt4pairIKmSt5dequeISt8functionIFvvEESaIS6_EEEEEE9constructIS9_JRKSt21piecewise_construct_tSt5tupleIJRS2_EESH_IJEEEEEvRSB_PT_DpOT0_.exit
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB29_5:
	.cfi_def_cfa_offset 16
.Ltmp36:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	%rbx, %rdi
	callq	_ZdlPv
.Ltmp37:
	callq	__cxa_rethrow
.Ltmp38:
# %bb.6:
.LBB29_2:
.Ltmp39:
	movq	%rax, %rbx
.Ltmp40:
	callq	__cxa_end_catch
.Ltmp41:
# %bb.3:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB29_4:
.Ltmp42:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end29:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_, .Lfunc_end29-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_,"aG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE17_M_construct_nodeIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESJ_IJEEEEEvPSt13_Rb_tree_nodeIS8_EDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table29:
.Lexception10:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase8-.Lttbaseref8
.Lttbaseref8:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end10-.Lcst_begin10
.Lcst_begin10:
	.uleb128 .Ltmp34-.Lfunc_begin10         # >> Call Site 1 <<
	.uleb128 .Ltmp35-.Ltmp34                #   Call between .Ltmp34 and .Ltmp35
	.uleb128 .Ltmp36-.Lfunc_begin10         #     jumps to .Ltmp36
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp35-.Lfunc_begin10         # >> Call Site 2 <<
	.uleb128 .Ltmp37-.Ltmp35                #   Call between .Ltmp35 and .Ltmp37
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp37-.Lfunc_begin10         # >> Call Site 3 <<
	.uleb128 .Ltmp38-.Ltmp37                #   Call between .Ltmp37 and .Ltmp38
	.uleb128 .Ltmp39-.Lfunc_begin10         #     jumps to .Ltmp39
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp40-.Lfunc_begin10         # >> Call Site 4 <<
	.uleb128 .Ltmp41-.Ltmp40                #   Call between .Ltmp40 and .Ltmp41
	.uleb128 .Ltmp42-.Lfunc_begin10         #     jumps to .Ltmp42
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp41-.Lfunc_begin10         # >> Call Site 5 <<
	.uleb128 .Lfunc_end29-.Ltmp41           #   Call between .Ltmp41 and .Lfunc_end29
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end10:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase8:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm,"axG",@progbits,_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm,comdat
	.weak	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm # -- Begin function _ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm
	.p2align	1, 0x90
	.type	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm,@function
_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm: # @_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm
.Lfunc_begin11:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception11
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %r12
	shrq	$4, %r12
	leaq	1(%r12), %r15
	cmpq	$6, %r12
	movl	$5, %esi
	cmovaeq	%r12, %rsi
	addq	$3, %rsi
	movq	%rsi, 8(%rdi)
	leaq	7(%rsp), %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv
	movq	%rax, (%rbx)
	movq	8(%rbx), %rcx
	subq	%r15, %rcx
	andq	$-2, %rcx
	leaq	(%rax,%rcx,4), %r15
	leaq	(%r15,%r12,8), %rdx
	addq	$8, %rdx
.Ltmp43:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_
.Ltmp44:
# %bb.1:
	movq	%r15, 40(%rbx)
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	movl	$512, %ecx                      # imm = 0x200
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, 32(%rbx)
	leaq	(%r15,%r12,8), %rdx
	movq	%rdx, 72(%rbx)
	movq	(%rdx), %rdx
	movq	%rdx, 56(%rbx)
	addq	%rdx, %rcx
	movq	%rcx, 64(%rbx)
	movq	%rax, 16(%rbx)
	andl	$15, %r14d
	shll	$5, %r14d
	addq	%rdx, %r14
	movq	%r14, 48(%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB30_5:
	.cfi_def_cfa_offset 48
.Ltmp45:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	(%rbx), %rdi
	callq	_ZdlPv
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
.Ltmp46:
	callq	__cxa_rethrow
.Ltmp47:
# %bb.6:
.LBB30_2:
.Ltmp48:
	movq	%rax, %rbx
.Ltmp49:
	callq	__cxa_end_catch
.Ltmp50:
# %bb.3:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB30_4:
.Ltmp51:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end30:
	.size	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm, .Lfunc_end30-_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm
	.cfi_endproc
	.section	.gcc_except_table._ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm,"aG",@progbits,_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE17_M_initialize_mapEm,comdat
	.p2align	2, 0x0
GCC_except_table30:
.Lexception11:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase9-.Lttbaseref9
.Lttbaseref9:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end11-.Lcst_begin11
.Lcst_begin11:
	.uleb128 .Lfunc_begin11-.Lfunc_begin11  # >> Call Site 1 <<
	.uleb128 .Ltmp43-.Lfunc_begin11         #   Call between .Lfunc_begin11 and .Ltmp43
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp43-.Lfunc_begin11         # >> Call Site 2 <<
	.uleb128 .Ltmp44-.Ltmp43                #   Call between .Ltmp43 and .Ltmp44
	.uleb128 .Ltmp45-.Lfunc_begin11         #     jumps to .Ltmp45
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp44-.Lfunc_begin11         # >> Call Site 3 <<
	.uleb128 .Ltmp46-.Ltmp44                #   Call between .Ltmp44 and .Ltmp46
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp46-.Lfunc_begin11         # >> Call Site 4 <<
	.uleb128 .Ltmp47-.Ltmp46                #   Call between .Ltmp46 and .Ltmp47
	.uleb128 .Ltmp48-.Lfunc_begin11         #     jumps to .Ltmp48
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp49-.Lfunc_begin11         # >> Call Site 5 <<
	.uleb128 .Ltmp50-.Ltmp49                #   Call between .Ltmp49 and .Ltmp50
	.uleb128 .Ltmp51-.Lfunc_begin11         #     jumps to .Ltmp51
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp50-.Lfunc_begin11         # >> Call Site 6 <<
	.uleb128 .Lfunc_end30-.Ltmp50           #   Call between .Ltmp50 and .Lfunc_end30
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end11:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase9:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_,"axG",@progbits,_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_,comdat
	.weak	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_ # -- Begin function _ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_
	.p2align	1, 0x90
	.type	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_,@function
_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_: # @_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_
.Lfunc_begin12:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception12
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	cmpq	%rdx, %rsi
	jae	.LBB31_4
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsi, %r15
.LBB31_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
.Ltmp52:
	movl	$512, %edi                      # imm = 0x200
	callq	_Znwm
.Ltmp53:
# %bb.3:                                # %_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE16_M_allocate_nodeEv.exit
                                        #   in Loop: Header=BB31_2 Depth=1
	movq	%rax, (%r15)
	addq	$8, %r15
	cmpq	%r14, %r15
	jb	.LBB31_2
.LBB31_4:                               # %._crit_edge
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB31_5:
	.cfi_def_cfa_offset 32
.Ltmp54:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	cmpq	%rbx, %r15
	jbe	.LBB31_7
.LBB31_6:                               # %.lr.ph.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_ZdlPv
	addq	$8, %rbx
	cmpq	%r15, %rbx
	jb	.LBB31_6
.LBB31_7:                               # %_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE16_M_destroy_nodesEPPS2_S6_.exit
.Ltmp55:
	callq	__cxa_rethrow
.Ltmp56:
# %bb.11:
.LBB31_8:
.Ltmp57:
	movq	%rax, %rbx
.Ltmp58:
	callq	__cxa_end_catch
.Ltmp59:
# %bb.9:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB31_10:
.Ltmp60:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end31:
	.size	_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_, .Lfunc_end31-_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_,"aG",@progbits,_ZNSt11_Deque_baseISt8functionIFvvEESaIS2_EE15_M_create_nodesEPPS2_S6_,comdat
	.p2align	2, 0x0
GCC_except_table31:
.Lexception12:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase10-.Lttbaseref10
.Lttbaseref10:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end12-.Lcst_begin12
.Lcst_begin12:
	.uleb128 .Ltmp52-.Lfunc_begin12         # >> Call Site 1 <<
	.uleb128 .Ltmp53-.Ltmp52                #   Call between .Ltmp52 and .Ltmp53
	.uleb128 .Ltmp54-.Lfunc_begin12         #     jumps to .Ltmp54
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp53-.Lfunc_begin12         # >> Call Site 2 <<
	.uleb128 .Ltmp55-.Ltmp53                #   Call between .Ltmp53 and .Ltmp55
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp55-.Lfunc_begin12         # >> Call Site 3 <<
	.uleb128 .Ltmp56-.Ltmp55                #   Call between .Ltmp55 and .Ltmp56
	.uleb128 .Ltmp57-.Lfunc_begin12         #     jumps to .Ltmp57
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp58-.Lfunc_begin12         # >> Call Site 4 <<
	.uleb128 .Ltmp59-.Ltmp58                #   Call between .Ltmp58 and .Ltmp59
	.uleb128 .Ltmp60-.Lfunc_begin12         #     jumps to .Ltmp60
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp59-.Lfunc_begin12         # >> Call Site 5 <<
	.uleb128 .Lfunc_end31-.Ltmp59           #   Call between .Ltmp59 and .Lfunc_end31
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end12:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase10:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv: # @_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB32_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB32_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB32_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB32_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end32:
	.size	_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv, .Lfunc_end32-_ZNSt15__new_allocatorIPSt8functionIFvvEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_ # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %r14
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	.LBB33_1
# %bb.2:                                # %.lr.ph
	movq	(%r14), %rcx
.LBB33_3:                               # =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	32(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	setae	%al
	movq	16(%rbx,%rax,8), %rax
	testq	%rax, %rax
	jne	.LBB33_3
# %bb.4:                                # %._crit_edge
	movq	%rbx, %rax
	cmpq	%rdx, %rcx
	jb	.LBB33_5
	jmp	.LBB33_8
.LBB33_1:
	leaq	8(%rdi), %rbx
.LBB33_5:                               # %._crit_edge.thread
	cmpq	24(%rdi), %rbx
	je	.LBB33_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
.LBB33_8:
	movq	32(%rax), %rcx
	xorl	%edx, %edx
	cmpq	(%r14), %rcx
	cmovbq	%rdx, %rax
	cmovaeq	%rdx, %rbx
	jmp	.LBB33_9
.LBB33_6:
	xorl	%eax, %eax
.LBB33_9:
	movq	%rbx, %rdx
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end33:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_, .Lfunc_end33-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE24_M_get_insert_unique_posERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E,"axG",@progbits,_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E,comdat
	.weak	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E # -- Begin function _ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E,@function
_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E: # @_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rcx, %rbx
	movq	%rdi, %r14
	leaq	8(%rdi), %rcx
	movb	$1, %al
	testq	%rsi, %rsi
	jne	.LBB34_3
# %bb.1:
	cmpq	%rdx, %rcx
	je	.LBB34_3
# %bb.2:
	movq	32(%rbx), %rax
	cmpq	32(%rdx), %rax
	setb	%al
.LBB34_3:
	movzbl	%al, %edi
	movq	%rbx, %rsi
	callq	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
	incq	40(%r14)
	movq	%rbx, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end34:
	.size	_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E, .Lfunc_end34-_ZNSt8_Rb_treeImSt4pairIKmSt5dequeISt8functionIFvvEESaIS5_EEESt10_Select1stIS8_ESt4lessImESaIS8_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSG_PSt13_Rb_tree_nodeIS8_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv,comdat
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv # -- Begin function _ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv
	.p2align	1, 0x90
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv,@function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv: # @_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv
.Lfunc_begin13:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception13
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	.LBB35_2
# %bb.1:
.Ltmp61:
	movq	%rdi, %rsi
	movl	$3, %edx
	callq	*%rax
.Ltmp62:
.LBB35_2:                               # %_ZNSt16allocator_traitsISaISt8functionIFvvEEEE7destroyIS2_EEvRS3_PT_.exit
	movq	24(%rbx), %rdi
	callq	_ZdlPv
	movq	40(%rbx), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, 40(%rbx)
	movq	8(%rax), %rax
	movq	%rax, 24(%rbx)
	leaq	512(%rax), %rcx
	movq	%rcx, 32(%rbx)
	movq	%rax, 16(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB35_3:
	.cfi_def_cfa_offset 16
.Ltmp63:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end35:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv, .Lfunc_end35-_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv
	.cfi_endproc
	.section	.gcc_except_table._ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv,"aG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE16_M_pop_front_auxEv,comdat
	.p2align	2, 0x0
GCC_except_table35:
.Lexception13:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase11-.Lttbaseref11
.Lttbaseref11:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end13-.Lcst_begin13
.Lcst_begin13:
	.uleb128 .Ltmp61-.Lfunc_begin13         # >> Call Site 1 <<
	.uleb128 .Ltmp62-.Ltmp61                #   Call between .Ltmp61 and .Ltmp62
	.uleb128 .Ltmp63-.Lfunc_begin13         #     jumps to .Ltmp63
	.byte	1                               #   On action: 1
.Lcst_end13:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase11:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv,"axG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv,comdat
	.weak	_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv # -- Begin function _ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv
	.p2align	1, 0x90
	.type	_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv,@function
_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv: # @_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv
.Lfunc_begin14:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception14
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	56(%rdi), %rdi
	callq	_ZdlPv
	movq	72(%rbx), %rax
	leaq	-8(%rax), %rcx
	movq	%rcx, 72(%rbx)
	movq	-8(%rax), %rax
	movq	%rax, 56(%rbx)
	leaq	512(%rax), %rcx
	movq	%rcx, 64(%rbx)
	leaq	480(%rax), %rdi
	movq	%rdi, 48(%rbx)
	movq	496(%rax), %rax
	testq	%rax, %rax
	je	.LBB36_2
# %bb.1:
.Ltmp64:
	movq	%rdi, %rsi
	movl	$3, %edx
	callq	*%rax
.Ltmp65:
.LBB36_2:                               # %_ZNSt16allocator_traitsISaISt8functionIFvvEEEE7destroyIS2_EEvRS3_PT_.exit
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB36_3:
	.cfi_def_cfa_offset 16
.Ltmp66:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end36:
	.size	_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv, .Lfunc_end36-_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv
	.cfi_endproc
	.section	.gcc_except_table._ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv,"aG",@progbits,_ZNSt5dequeISt8functionIFvvEESaIS2_EE15_M_pop_back_auxEv,comdat
	.p2align	2, 0x0
GCC_except_table36:
.Lexception14:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase12-.Lttbaseref12
.Lttbaseref12:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end14-.Lcst_begin14
.Lcst_begin14:
	.uleb128 .Ltmp64-.Lfunc_begin14         # >> Call Site 1 <<
	.uleb128 .Ltmp65-.Ltmp64                #   Call between .Ltmp64 and .Ltmp65
	.uleb128 .Ltmp66-.Lfunc_begin14         #     jumps to .Ltmp66
	.byte	1                               #   On action: 1
.Lcst_end14:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase12:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text.startup,"ax",@progbits
	.type	_GLOBAL__sub_I_scheduler.hip,@function # -- Begin function _GLOBAL__sub_I_scheduler.hip
_GLOBAL__sub_I_scheduler.hip:           # @_GLOBAL__sub_I_scheduler.hip
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	xorl	%ebx, %ebx
	movl	%ebx, cpu_que_map+8(%rip)
	movq	%rbx, cpu_que_map+16(%rip)
	movq	$cpu_que_map+8, cpu_que_map+24(%rip)
	movq	$cpu_que_map+8, cpu_que_map+32(%rip)
	movq	%rbx, cpu_que_map+40(%rip)
	movl	$_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev, %edi
	movl	$cpu_que_map, %esi
	movl	$__dso_handle, %edx
	callq	__cxa_atexit
	movl	%ebx, cpu_lock_map+8(%rip)
	movq	%rbx, cpu_lock_map+16(%rip)
	movq	$cpu_lock_map+8, cpu_lock_map+24(%rip)
	movq	$cpu_lock_map+8, cpu_lock_map+32(%rip)
	movq	%rbx, cpu_lock_map+40(%rip)
	movl	$_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev, %edi
	movl	$cpu_lock_map, %esi
	movl	$__dso_handle, %edx
	callq	__cxa_atexit
	movl	%ebx, gpu_que_map+8(%rip)
	movq	%rbx, gpu_que_map+16(%rip)
	movq	$gpu_que_map+8, gpu_que_map+24(%rip)
	movq	$gpu_que_map+8, gpu_que_map+32(%rip)
	movq	%rbx, gpu_que_map+40(%rip)
	movl	$_ZNSt3mapImSt5dequeISt8functionIFvvEESaIS3_EESt4lessImESaISt4pairIKmS5_EEED2Ev, %edi
	movl	$gpu_que_map, %esi
	movl	$__dso_handle, %edx
	callq	__cxa_atexit
	movl	%ebx, gpu_lock_map+8(%rip)
	movq	%rbx, gpu_lock_map+16(%rip)
	movq	$gpu_lock_map+8, gpu_lock_map+24(%rip)
	movq	$gpu_lock_map+8, gpu_lock_map+32(%rip)
	movq	%rbx, gpu_lock_map+40(%rip)
	movl	$_ZNSt3mapIm15pthread_mutex_tSt4lessImESaISt4pairIKmS0_EEED2Ev, %edi
	movl	$gpu_lock_map, %esi
	movl	$__dso_handle, %edx
	callq	__cxa_atexit
	movl	%ebx, stream_map+8(%rip)
	movq	%rbx, stream_map+16(%rip)
	movq	$stream_map+8, stream_map+24(%rip)
	movq	$stream_map+8, stream_map+32(%rip)
	movq	%rbx, stream_map+40(%rip)
	movl	$_ZNSt3mapImP12ihipStream_tSt4lessImESaISt4pairIKmS1_EEED2Ev, %edi
	movl	$stream_map, %esi
	movl	$__dso_handle, %edx
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	__cxa_atexit                    # TAILCALL
.Lfunc_end37:
	.size	_GLOBAL__sub_I_scheduler.hip, .Lfunc_end37-_GLOBAL__sub_I_scheduler.hip
	.cfi_endproc
                                        # -- End function
	.type	cpu_que_map,@object             # @cpu_que_map
	.bss
	.globl	cpu_que_map
	.p2align	3, 0x0
cpu_que_map:
	.zero	48
	.size	cpu_que_map, 48

	.hidden	__dso_handle
	.type	cpu_lock_map,@object            # @cpu_lock_map
	.globl	cpu_lock_map
	.p2align	3, 0x0
cpu_lock_map:
	.zero	48
	.size	cpu_lock_map, 48

	.type	gpu_que_map,@object             # @gpu_que_map
	.globl	gpu_que_map
	.p2align	3, 0x0
gpu_que_map:
	.zero	48
	.size	gpu_que_map, 48

	.type	gpu_lock_map,@object            # @gpu_lock_map
	.globl	gpu_lock_map
	.p2align	3, 0x0
gpu_lock_map:
	.zero	48
	.size	gpu_lock_map, 48

	.type	stream_map,@object              # @stream_map
	.globl	stream_map
	.p2align	3, 0x0
stream_map:
	.zero	48
	.size	stream_map, 48

	.type	_ZZ14get_random_cpuvE1x,@object # @_ZZ14get_random_cpuvE1x
	.data
	.p2align	3, 0x0
_ZZ14get_random_cpuvE1x:
	.quad	123456789                       # 0x75bcd15
	.size	_ZZ14get_random_cpuvE1x, 8

	.type	_ZZ14get_random_cpuvE1y,@object # @_ZZ14get_random_cpuvE1y
	.p2align	3, 0x0
_ZZ14get_random_cpuvE1y:
	.quad	362436069                       # 0x159a55e5
	.size	_ZZ14get_random_cpuvE1y, 8

	.type	_ZZ14get_random_cpuvE1z,@object # @_ZZ14get_random_cpuvE1z
	.p2align	3, 0x0
_ZZ14get_random_cpuvE1z:
	.quad	521288629                       # 0x1f123bb5
	.size	_ZZ14get_random_cpuvE1z, 8

	.type	_ZZ14get_random_gpuvE1x,@object # @_ZZ14get_random_gpuvE1x
	.p2align	3, 0x0
_ZZ14get_random_gpuvE1x:
	.quad	123456789                       # 0x75bcd15
	.size	_ZZ14get_random_gpuvE1x, 8

	.type	_ZZ14get_random_gpuvE1y,@object # @_ZZ14get_random_gpuvE1y
	.p2align	3, 0x0
_ZZ14get_random_gpuvE1y:
	.quad	362436069                       # 0x159a55e5
	.size	_ZZ14get_random_gpuvE1y, 8

	.type	_ZZ14get_random_gpuvE1z,@object # @_ZZ14get_random_gpuvE1z
	.p2align	3, 0x0
_ZZ14get_random_gpuvE1z:
	.quad	521288629                       # 0x1f123bb5
	.size	_ZZ14get_random_gpuvE1z, 8

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"CPU:"
	.size	.L.str, 5

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	" exited"
	.size	.L.str.5, 8

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"GPU:"
	.size	.L.str.6, 5

	.type	_ZSt19piecewise_construct,@object # @_ZSt19piecewise_construct
	.section	.rodata._ZSt19piecewise_construct,"aG",@progbits,_ZSt19piecewise_construct,comdat
	.weak	_ZSt19piecewise_construct
_ZSt19piecewise_construct:
	.zero	1
	.size	_ZSt19piecewise_construct, 1

	.section	.init_array,"aw",@init_array
	.p2align	3, 0x0
	.quad	_GLOBAL__sub_I_scheduler.hip
	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _GLOBAL__sub_I_scheduler.hip
	.addrsig_sym _Unwind_Resume
	.addrsig_sym cpu_que_map
	.addrsig_sym __dso_handle
	.addrsig_sym cpu_lock_map
	.addrsig_sym gpu_que_map
	.addrsig_sym gpu_lock_map
	.addrsig_sym stream_map
	.addrsig_sym _ZSt4cout
	.addrsig_sym _ZSt19piecewise_construct
	.addrsig_sym __hip_cuid_

	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.amdgpu_metadata
---
amdhsa.kernels:  []
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
