	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_signals
_setup_signals:                         ## @setup_signals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_sighandler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_SA_RESTART@GOTPCREL(%rip), %rax
	movq	_SA_RESETHAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SA_SIGINFO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -24(%rbp)
	leaq	-20(%rbp), %rdi
	callq	_sigfillset
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	_SIGILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	_SIGSEGV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_ATF_REQUIRE
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sighandler,4,2                 ## @sighandler
	.comm	_SA_RESTART,4,2                 ## @SA_RESTART
	.comm	_SA_RESETHAND,4,2               ## @SA_RESETHAND
	.comm	_SA_SIGINFO,4,2                 ## @SA_SIGINFO
	.comm	_SIGILL,4,2                     ## @SIGILL
	.comm	_SIGBUS,4,2                     ## @SIGBUS
	.comm	_SIGSEGV,4,2                    ## @SIGSEGV
	.no_dead_strip	_setup_signals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_signals
_setup_signals:                         ; @setup_signals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _sighandler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sighandler@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SA_RESTART@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SA_RESTART@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SA_RESETHAND@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SA_RESETHAND@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _SA_SIGINFO@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SA_SIGINFO@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w8, [sp, #8]
	str	w9, [sp]
	mov	x8, sp
	orr	x0, x8, #0x4
	bl	_sigfillset
	cmn	w0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
Lloh12:
	adrp	x8, _SIGILL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGILL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
Lloh15:
	adrp	x8, _SIGBUS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SIGBUS@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
Lloh18:
	adrp	x8, _SIGSEGV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SIGSEGV@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	cmn	w0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sighandler,4,2                 ; @sighandler
	.comm	_SA_RESTART,4,2                 ; @SA_RESTART
	.comm	_SA_RESETHAND,4,2               ; @SA_RESETHAND
	.comm	_SA_SIGINFO,4,2                 ; @SA_SIGINFO
	.comm	_SIGILL,4,2                     ; @SIGILL
	.comm	_SIGBUS,4,2                     ; @SIGBUS
	.comm	_SIGSEGV,4,2                    ; @SIGSEGV
	.no_dead_strip	_setup_signals
.subsections_via_symbols
