	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fcgi_setup_signals
_fcgi_setup_signals:                    ## @fcgi_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	$56, %rsp
	.cfi_offset %rbx, -24
	leaq	-16(%rbp), %rdi
	callq	_sigemptyset
	movq	$0, -24(%rbp)
	movq	_fcgi_signal_handler@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGPIPE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rdx
	xorl	%esi, %esi
	callq	_sigaction
	movq	-56(%rbp), %rax
	movq	_SIG_DFL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	-32(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fcgi_signal_handler,8,3        ## @fcgi_signal_handler
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_DFL,8,3                    ## @SIG_DFL
	.no_dead_strip	_fcgi_setup_signals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fcgi_setup_signals
_fcgi_setup_signals:                    ; @fcgi_setup_signals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x8, sp, #24
	add	x0, x8, #16
	bl	_sigemptyset
Lloh0:
	adrp	x8, _fcgi_signal_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fcgi_signal_handler@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, xzr, [sp, #24]
Lloh3:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #24
	mov	x2, #0
	bl	_sigaction
Lloh6:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #24
	mov	x2, #0
	bl	_sigaction
Lloh9:
	adrp	x19, _SIGPIPE@GOTPAGE
Lloh10:
	ldr	x19, [x19, _SIGPIPE@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x2, sp
	mov	x1, #0
	bl	_sigaction
	ldr	x8, [sp]
Lloh11:
	adrp	x9, _SIG_DFL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SIG_DFL@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19]
	add	x1, sp, #24
	mov	x2, #0
	bl	_sigaction
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_fcgi_signal_handler,8,3        ; @fcgi_signal_handler
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_DFL,8,3                    ; @SIG_DFL
	.no_dead_strip	_fcgi_setup_signals
.subsections_via_symbols
