	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_signal
_setup_signal:                          ## @setup_signal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	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_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _setup_signal.sev+4(%rip)
	leaq	_setup_signal.sev(%rip), %r14
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, _setup_signal.sev(%rip)
	movq	_SIG_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_sigusr1_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setne	%dil
	callq	_ATF_REQUIRE
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_setup_signal.sev,8,2 ## @setup_signal.sev
	.comm	_completions,4,2                ## @completions
	.comm	_SIGEV_SIGNAL,4,2               ## @SIGEV_SIGNAL
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_SIG_ERR,8,3                    ## @SIG_ERR
	.comm	_sigusr1_handler,4,2            ## @sigusr1_handler
	.no_dead_strip	_setup_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_signal
_setup_signal:                          ; @setup_signal
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
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_SIGNAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIGEV_SIGNAL@GOTPAGEOFF]
Lloh4:
	adrp	x19, _setup_signal.sev@PAGE
Lloh5:
	add	x19, x19, _setup_signal.sev@PAGEOFF
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _SIGUSR1@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SIGUSR1@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	stp	w0, w8, [x19]
Lloh10:
	adrp	x8, _SIG_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIG_ERR@GOTPAGEOFF]
Lloh12:
	ldr	x20, [x8]
Lloh13:
	adrp	x8, _sigusr1_handler@GOTPAGE
Lloh14:
	ldr	x8, [x8, _sigusr1_handler@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_signal
	cmp	x20, x0
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_setup_signal.sev,8,2 ; @setup_signal.sev
	.comm	_completions,4,2                ; @completions
	.comm	_SIGEV_SIGNAL,4,2               ; @SIGEV_SIGNAL
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_SIG_ERR,8,3                    ; @SIG_ERR
	.comm	_sigusr1_handler,4,2            ; @sigusr1_handler
	.no_dead_strip	_setup_signal
.subsections_via_symbols
