	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fastcgi_cleanup                ## -- Begin function fastcgi_cleanup
	.p2align	4, 0x90
_fastcgi_cleanup:                       ## @fastcgi_cleanup
	.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	_SIGTERM@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_old_term@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_sigaction
	movq	_pgroup@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_kill
	movq	_parent@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_parent_waiting@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_exit_signal@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_old_term,4,2                   ## @old_term
	.comm	_pgroup,4,2                     ## @pgroup
	.comm	_parent,8,3                     ## @parent
	.comm	_parent_waiting,8,3             ## @parent_waiting
	.comm	_exit_signal,4,2                ## @exit_signal
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fastcgi_cleanup                ; -- Begin function fastcgi_cleanup
	.p2align	2
_fastcgi_cleanup:                       ; @fastcgi_cleanup
	.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	x19, _SIGTERM@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SIGTERM@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x1, _old_term@GOTPAGE
Lloh3:
	ldr	x1, [x1, _old_term@GOTPAGEOFF]
	mov	w2, #0
	bl	_sigaction
Lloh4:
	adrp	x8, _pgroup@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pgroup@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ldr	w1, [x19]
	bl	_kill
Lloh7:
	adrp	x8, _parent@GOTPAGE
Lloh8:
	ldr	x8, [x8, _parent@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _parent_waiting@GOTPAGE
Lloh11:
	ldr	x9, [x9, _parent_waiting@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _exit_signal@GOTPAGE
Lloh14:
	ldr	x8, [x8, _exit_signal@GOTPAGEOFF]
	mov	w9, #1
Lloh15:
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_old_term,4,2                   ; @old_term
	.comm	_pgroup,4,2                     ; @pgroup
	.comm	_parent,8,3                     ; @parent
	.comm	_parent_waiting,8,3             ; @parent_waiting
	.comm	_exit_signal,4,2                ; @exit_signal
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
