	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __fsocket_filp_close
___fsocket_filp_close:                  ## @__fsocket_filp_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	callq	_atomic_long_dec_and_test
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_eventpoll_release
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	$0, 40(%rbx)
	movq	%rbx, %rdi
	callq	_put_empty_filp
	movq	_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_atomic_long_read
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_DPRINTK
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movl	(%r12), %ebx
	leaq	16(%r14), %rdi
	callq	_atomic_read
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_DPRINTK
	movl	(%r12), %r15d
	movq	8(%r14), %rbx
	leaq	4(%rbx), %rdi
	callq	_atomic_read
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_DPRINTK
	movq	%r14, %rdi
	callq	_dput
	jmp	LBB0_5
LBB0_4:
	movq	_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_atomic_long_read
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_DPRINTK
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_EPRINTK_LIMIT
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG,4,2                      ## @DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Free file 0x%p[%ld]\n"

L_.str.1:                               ## @.str.1
	.asciz	"Release dentry 0x%p[%d]\n"

L_.str.2:                               ## @.str.2
	.asciz	"Release inode 0x%p[%d]\n"

	.comm	_ERR,4,2                        ## @ERR
L_.str.3:                               ## @.str.3
	.asciz	"No dentry for file 0x%p\n"

L_.str.4:                               ## @.str.4
	.asciz	"Next time to release file 0x%p[%ld]\n"

	.no_dead_strip	___fsocket_filp_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __fsocket_filp_close
___fsocket_filp_close:                  ; @__fsocket_filp_close
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x19, [x0, #32]
	bl	_atomic_long_dec_and_test
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_eventpoll_release
	stp	xzr, xzr, [x20, #32]
	str	xzr, [x20, #24]
	mov	x0, x20
	bl	_put_empty_filp
Lloh0:
	adrp	x22, _DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DEBUG@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x20
	bl	_atomic_long_read
	mov	x3, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_DPRINTK
	cbz	x19, LBB0_5
; %bb.2:
	ldr	w20, [x22]
	add	x0, x19, #16
	bl	_atomic_read
	mov	x3, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_DPRINTK
	ldr	w20, [x22]
	ldr	x21, [x19, #8]
	add	x0, x21, #4
	bl	_atomic_read
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_DPRINTK
	mov	x0, x19
	bl	_dput
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_atomic_long_read
	mov	x3, x0
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_DPRINTK
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_EPRINTK_LIMIT
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG,4,2                      ; @DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Free file 0x%p[%ld]\n"

l_.str.1:                               ; @.str.1
	.asciz	"Release dentry 0x%p[%d]\n"

l_.str.2:                               ; @.str.2
	.asciz	"Release inode 0x%p[%d]\n"

	.comm	_ERR,4,2                        ; @ERR
l_.str.3:                               ; @.str.3
	.asciz	"No dentry for file 0x%p\n"

l_.str.4:                               ; @.str.4
	.asciz	"Next time to release file 0x%p[%ld]\n"

	.no_dead_strip	___fsocket_filp_close
.subsections_via_symbols
