	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sock_fasync
_sock_fasync:                           ## @sock_fasync
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movl	%edi, %r14d
	testl	%edx, %edx
	je	LBB0_1
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
LBB0_2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	8(%rbx), %r14
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_3
## %bb.7:
	movq	%r12, %rdi
	callq	_lock_sock
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	_FASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.8:
	orl	%eax, 4(%rbx)
	jmp	LBB0_10
LBB0_3:
	movq	%r15, %rdi
	callq	_kfree
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_24
LBB0_9:
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_10:
	movq	%rbx, %rdi
	callq	_spin_unlock
	leaq	8(%r14), %rdx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	cmpq	%rbx, 24(%rax)
	je	LBB0_12
## %bb.13:
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rcx
	movq	8(%r14), %r14
	testq	%r14, %r14
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%rbx, 24(%r14)
	jne	LBB0_15
## %bb.18:
	addq	$8, %rcx
	movq	%rcx, %rbx
	jmp	LBB0_19
LBB0_16:
	testl	%r13d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_23
## %bb.17:
	movq	%rbx, 24(%r15)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%r15)
	movq	_FASYNC_MAGIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r15)
	movq	%rax, 8(%r15)
	movq	%r12, %rdi
	movq	%rdx, %rbx
	callq	_write_lock_bh
	movq	%r15, (%rbx)
	movq	%r12, %rdi
	callq	_write_unlock_bh
	jmp	LBB0_23
LBB0_12:
	movq	%rdx, %rbx
	movq	%rax, %r14
LBB0_19:
	movq	%r12, %rdi
	callq	_write_lock_bh
	testl	%r13d, %r13d
	je	LBB0_21
## %bb.20:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
	movq	%r12, %rdi
	callq	_write_unlock_bh
	movq	%r15, %rdi
	jmp	LBB0_22
LBB0_21:
	movq	8(%r14), %rax
	movq	%rax, (%rbx)
	movq	%r12, %rdi
	callq	_write_unlock_bh
	movq	%r14, %rdi
LBB0_22:
	callq	_kfree
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_23:
	movq	(%r14), %rdi
	callq	_release_sock
	xorl	%eax, %eax
LBB0_24:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FASYNC,4,2                     ## @FASYNC
	.comm	_FASYNC_MAGIC,4,2               ## @FASYNC_MAGIC
	.no_dead_strip	_sock_fasync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sock_fasync
_sock_fasync:                           ; @sock_fasync
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	cbz	w2, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	x19, #0
LBB0_4:
	ldr	x25, [x23, #8]
	ldr	x22, [x25]
	cbz	x22, LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_lock_sock
	mov	x0, x23
	bl	_spin_lock
Lloh5:
	adrp	x8, _FASYNC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FASYNC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w21, LBB0_9
; %bb.6:
	ldr	w9, [x23, #4]
	orr	w8, w9, w8
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_kfree
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_24
LBB0_9:
	ldr	w9, [x23, #4]
	bic	w8, w9, w8
LBB0_10:
	str	w8, [x23, #4]
	mov	x0, x23
	bl	_spin_unlock
	mov	x26, x25
	ldr	x8, [x26, #8]!
	cbz	x8, LBB0_16
; %bb.11:
	ldr	x9, [x8, #24]
	cmp	x9, x23
	b.eq	LBB0_18
; %bb.12:
	mov	x24, x8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x24
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x10, [x24, #24]
	cmp	x10, x23
	b.ne	LBB0_13
; %bb.15:
	add	x26, x9, #8
	b	LBB0_19
LBB0_16:
	cbz	w21, LBB0_23
; %bb.17:
	str	x23, [x19, #24]
	str	w20, [x19]
Lloh10:
	adrp	x9, _FASYNC_MAGIC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FASYNC_MAGIC@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x19, #16]
	str	x8, [x19, #8]
	mov	x0, x22
	bl	_write_lock_bh
	str	x19, [x26]
	mov	x0, x22
	bl	_write_unlock_bh
	b	LBB0_23
LBB0_18:
	mov	x24, x8
LBB0_19:
	mov	x0, x22
	bl	_write_lock_bh
	cbz	w21, LBB0_21
; %bb.20:
	str	w20, [x24]
	mov	x0, x22
	bl	_write_unlock_bh
	mov	x0, x19
	b	LBB0_22
LBB0_21:
	ldr	x8, [x24, #8]
	str	x8, [x26]
	mov	x0, x22
	bl	_write_unlock_bh
	mov	x0, x24
LBB0_22:
	bl	_kfree
LBB0_23:
	ldr	x0, [x25]
	bl	_release_sock
	mov	w0, #0
LBB0_24:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FASYNC,4,2                     ; @FASYNC
	.comm	_FASYNC_MAGIC,4,2               ; @FASYNC_MAGIC
	.no_dead_strip	_sock_fasync
.subsections_via_symbols
