	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sk_receive_skb                 ## -- Begin function sk_receive_skb
	.p2align	4, 0x90
_sk_receive_skb:                        ## @sk_receive_skb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_NET_RX_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_sk_filter
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	$0, (%rbx)
	movl	4(%r15), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sk_rcvqueues_full
	testq	%rax, %rax
	je	LBB0_2
LBB0_10:
	movq	%r15, %rdi
	callq	_atomic_inc
LBB0_11:
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_12:
	movq	%r15, %rdi
	callq	_sock_put
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rdi
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	callq	_bh_lock_sock_nested
	jmp	LBB0_5
LBB0_4:
	callq	_bh_lock_sock
LBB0_5:
	movq	%r15, %rdi
	callq	_sock_owned_by_user
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movl	4(%r15), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sk_add_backlog
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%r15, %rdi
	callq	_bh_unlock_sock
	jmp	LBB0_10
LBB0_6:
	leaq	8(%r15), %r12
	movq	__RET_IP_@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_mutex_acquire
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sk_backlog_rcv
	movl	%eax, %r14d
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_mutex_release
LBB0_7:
	movq	%r15, %rdi
	callq	_bh_unlock_sock
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_RX_SUCCESS,4,2             ## @NET_RX_SUCCESS
	.comm	__RET_IP_,4,2                   ## @_RET_IP_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sk_receive_skb                 ; -- Begin function sk_receive_skb
	.p2align	2
_sk_receive_skb:                        ; @sk_receive_skb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NET_RX_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET_RX_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_sk_filter
	cbnz	x0, LBB0_3
; %bb.1:
	str	xzr, [x21]
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_sk_rcvqueues_full
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_atomic_inc
LBB0_3:
	mov	x0, x21
	bl	_kfree_skb
LBB0_4:
	mov	x0, x19
	bl	_sock_put
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	cbz	w22, LBB0_7
; %bb.6:
	bl	_bh_lock_sock_nested
	b	LBB0_8
LBB0_7:
	bl	_bh_lock_sock
LBB0_8:
	mov	x0, x19
	bl	_sock_owned_by_user
	cbz	w0, LBB0_11
; %bb.9:
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_sk_add_backlog
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x19
	bl	_bh_unlock_sock
	b	LBB0_2
LBB0_11:
	add	x22, x19, #8
Lloh3:
	adrp	x23, __RET_IP_@GOTPAGE
Lloh4:
	ldr	x23, [x23, __RET_IP_@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x22
	mov	w1, #0
	mov	w2, #1
	bl	_mutex_acquire
	mov	x0, x19
	mov	x1, x21
	bl	_sk_backlog_rcv
	mov	x20, x0
	ldr	w2, [x23]
	mov	x0, x22
	mov	w1, #1
	bl	_mutex_release
LBB0_12:
	mov	x0, x19
	bl	_bh_unlock_sock
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_RX_SUCCESS,4,2             ; @NET_RX_SUCCESS
	.comm	__RET_IP_,4,2                   ; @_RET_IP_
.subsections_via_symbols
