	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cont_thread                    ## -- Begin function cont_thread
	.p2align	4, 0x90
_cont_thread:                           ## @cont_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MSG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_num_cpus_to_pin@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_1
## %bb.2:
	movq	_cpu_threads@GOTPCREL(%rip), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r15,8), %r12
	xorl	%eax, %eax
	callq	_pthread_self
	cmpq	%rax, %r12
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	_num_cpus_to_pin@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jl	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%r15d, %r15d
LBB0_5:
	movq	_cpus_to_pin@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_printf
	movq	_queue@GOTPCREL(%rip), %rbx
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%r13, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_mq_send
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %edi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	callq	_mq_receive
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_SIZE,4,2                   ## @MSG_SIZE
	.comm	_num_cpus_to_pin,4,2            ## @num_cpus_to_pin
	.comm	_cpu_threads,8,3                ## @cpu_threads
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tStarted continuous mode thread %d on CPU %d\n"

	.comm	_cpus_to_pin,8,3                ## @cpus_to_pin
	.comm	_queue,4,2                      ## @queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cont_thread                    ; -- Begin function cont_thread
	.p2align	2
_cont_thread:                           ; @cont_thread
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
Lloh0:
	adrp	x8, _MSG_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x9, x19
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh5:
	adrp	x22, _num_cpus_to_pin@GOTPAGE
Lloh6:
	ldr	x22, [x22, _num_cpus_to_pin@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
Lloh7:
	adrp	x23, _cpu_threads@GOTPAGE
Lloh8:
	ldr	x23, [x23, _cpu_threads@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x24, [x8, x21, lsl #3]
	bl	_pthread_self
	cmp	x24, x0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
Lloh9:
	adrp	x8, _cpus_to_pin@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cpus_to_pin@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w2, [x8, w21, uxtw #2]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_printf
Lloh14:
	adrp	x21, _queue@GOTPAGE
Lloh15:
	ldr	x21, [x21, _queue@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_mq_send
	cbz	x0, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	sub	x3, x29, #52
	mov	x1, x20
	mov	x2, x19
	bl	_mq_receive
	b	LBB0_6
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_SIZE,4,2                   ; @MSG_SIZE
	.comm	_num_cpus_to_pin,4,2            ; @num_cpus_to_pin
	.comm	_cpu_threads,8,3                ; @cpu_threads
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tStarted continuous mode thread %d on CPU %d\n"

	.comm	_cpus_to_pin,8,3                ; @cpus_to_pin
	.comm	_queue,4,2                      ; @queue
.subsections_via_symbols
