	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fcgi_close                     ## -- Begin function fcgi_close
	.p2align	4, 0x90
_fcgi_close:                            ## @fcgi_close
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	cmpq	$0, 32(%rbx)
	je	LBB0_3
## %bb.2:
	leaq	40(%rbx), %rdi
	callq	_fcgi_hash_clean
	movq	$0, 32(%rbx)
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.12:
	movl	(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_10
LBB0_9:
	callq	_close
	movl	$-1, (%rbx)
	xorl	%eax, %eax
	callq	*8(%rbx)
	jmp	LBB0_10
LBB0_4:
	cmpl	$0, 28(%rbx)
	je	LBB0_5
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_13
## %bb.11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_10
## %bb.6:
	movl	$1, %esi
	callq	_shutdown
	leaq	-32(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%r14, %rsi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_recv
	testq	%rax, %rax
	jg	LBB0_7
## %bb.8:
	movl	(%rbx), %edi
	jmp	LBB0_9
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_is_impersonate,8,3             ## @is_impersonate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fcgi_close                     ; -- Begin function fcgi_close
	.p2align	2
_fcgi_close:                            ; @fcgi_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	cbz	w2, LBB0_3
; %bb.1:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x19, #40
	bl	_fcgi_hash_clean
	str	xzr, [x19, #32]
LBB0_3:
	cbz	w20, LBB0_6
; %bb.4:
	ldr	w0, [x19]
	tbnz	w0, #31, LBB0_7
LBB0_5:
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
	ldr	x8, [x19, #8]
	blr	x8
	b	LBB0_7
LBB0_6:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_9
LBB0_7:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	ldr	w0, [x19]
	tbnz	w0, #31, LBB0_7
; %bb.10:
	mov	w1, #1
	bl	_shutdown
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, sp
	mov	w2, #8
	mov	w3, #0
	bl	_recv
	cmp	x0, #0
	b.gt	LBB0_11
; %bb.12:
	ldr	w0, [x19]
	b	LBB0_5
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_is_impersonate,8,3             ; @is_impersonate
.subsections_via_symbols
