	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_thread
_setup_thread:                          ## @setup_thread
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_completions@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_sem_init
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ATF_REQUIRE_EQ
	movq	_SIGEV_THREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _setup_thread.sev+12(%rip)
	leaq	_setup_thread.sev(%rip), %rax
	movq	_thr_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, _setup_thread.sev+8(%rip)
	movq	$0, _setup_thread.sev(%rip)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_setup_thread.sev,16,3 ## @setup_thread.sev
	.comm	_completions,4,2                ## @completions
	.comm	_SIGEV_THREAD,4,2               ## @SIGEV_THREAD
	.comm	_thr_handler,4,2                ## @thr_handler
	.no_dead_strip	_setup_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_thread
_setup_thread:                          ; @setup_thread
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _completions@GOTPAGE
Lloh1:
	ldr	x0, [x0, _completions@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #0
	bl	_sem_init
	mov	x1, x0
	mov	w0, #0
	bl	_ATF_REQUIRE_EQ
Lloh2:
	adrp	x8, _SIGEV_THREAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIGEV_THREAD@GOTPAGEOFF]
Lloh4:
	adrp	x0, _setup_thread.sev@PAGE
Lloh5:
	add	x0, x0, _setup_thread.sev@PAGEOFF
Lloh6:
	adrp	x9, _thr_handler@GOTPAGE
Lloh7:
	ldr	x9, [x9, _thr_handler@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	str	xzr, [x0]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_setup_thread.sev,16,3 ; @setup_thread.sev
	.comm	_completions,4,2                ; @completions
	.comm	_SIGEV_THREAD,4,2               ; @SIGEV_THREAD
	.comm	_thr_handler,4,2                ; @thr_handler
	.no_dead_strip	_setup_thread
.subsections_via_symbols
