	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_signal_handler
_set_signal_handler:                    ## @set_signal_handler
	.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
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_sig_handler@GOTPCREL(%rip), %rax
	movq	%rax, -16(%rbp)
	movq	_SA_SIGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.2:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.3:
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.4:
	movq	_SIGABRT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.5:
	movq	_SIGBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.6:
	movq	_SIGSEGV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.7:
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_9
## %bb.8:
	movq	_SIGUSR2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	jns	LBB0_10
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_perror
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sig_handler,4,2                ## @sig_handler
	.comm	_SA_SIGINFO,4,2                 ## @SA_SIGINFO
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sigaction"

	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_SIGABRT,4,2                    ## @SIGABRT
	.comm	_SIGBUS,4,2                     ## @SIGBUS
	.comm	_SIGSEGV,4,2                    ## @SIGSEGV
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
	.no_dead_strip	_set_signal_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_signal_handler
_set_signal_handler:                    ; @set_signal_handler
	.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
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _sig_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sig_handler@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SA_SIGINFO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SA_SIGINFO@GOTPAGEOFF]
	str	x8, [sp, #8]
Lloh4:
	ldr	w8, [x9]
	str	w8, [sp]
Lloh5:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.1:
Lloh8:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.2:
Lloh11:
	adrp	x8, _SIGINT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.3:
Lloh14:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.4:
Lloh17:
	adrp	x8, _SIGABRT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SIGABRT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.5:
Lloh20:
	adrp	x8, _SIGBUS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIGBUS@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.6:
Lloh23:
	adrp	x8, _SIGSEGV@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIGSEGV@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.7:
Lloh26:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_9
; %bb.8:
Lloh29:
	adrp	x8, _SIGUSR2@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SIGUSR2@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbz	x0, #63, LBB0_10
LBB0_9:
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_sig_handler,4,2                ; @sig_handler
	.comm	_SA_SIGINFO,4,2                 ; @SA_SIGINFO
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sigaction"

	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_SIGABRT,4,2                    ; @SIGABRT
	.comm	_SIGBUS,4,2                     ; @SIGBUS
	.comm	_SIGSEGV,4,2                    ; @SIGSEGV
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
	.no_dead_strip	_set_signal_handler
.subsections_via_symbols
