	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sapi_cgi_deactivate
_sapi_cgi_deactivate:                   ## @sapi_cgi_deactivate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_sapi_started@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SG
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_parent@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_server_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SG
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_fcgi_finish_request
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_php_handle_aborted_connection
LBB0_4:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sapi_started,4,2               ## @sapi_started
	.comm	_parent,4,2                     ## @parent
	.comm	_server_context,4,2             ## @server_context
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_sapi_cgi_deactivate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sapi_cgi_deactivate
_sapi_cgi_deactivate:                   ; @sapi_cgi_deactivate
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _sapi_started@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sapi_started@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SG
Lloh3:
	adrp	x8, _parent@GOTPAGE
Lloh4:
	ldr	x8, [x8, _parent@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _server_context@GOTPAGE
Lloh7:
	ldr	x8, [x8, _server_context@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_SG
	mov	w1, #0
	bl	_fcgi_finish_request
	cbnz	w0, LBB0_3
; %bb.2:
	bl	_php_handle_aborted_connection
LBB0_3:
Lloh9:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_sapi_started,4,2               ; @sapi_started
	.comm	_parent,4,2                     ; @parent
	.comm	_server_context,4,2             ; @server_context
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_sapi_cgi_deactivate
.subsections_via_symbols
