	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packet_recv_error
_packet_recv_error:                     ## @packet_recv_error
	.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, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jle	LBB0_3
## %bb.2:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movl	%r15d, %eax
LBB0_3:
	movl	4(%r12), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %r15d
	movl	%eax, %ecx
	callq	_skb_copy_datagram_iovec
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_sock_recv_timestamp
	movq	%r13, %rdi
	callq	_SKB_EXT_ERR
	movq	_SOL_PACKET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_PACKET_TX_TIMESTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	$4, %ecx
	movq	%rax, %r8
	callq	_put_cmsg
	movq	_MSG_ERRQUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movl	$0, 16(%r14)
	movq	%r14, %rdi
	callq	_skb_peek
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	callq	_SKB_EXT_ERR
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	%r14, %rdi
	callq	*8(%r14)
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
LBB0_7:
	movl	%r15d, %ebx
LBB0_8:
	movq	%r13, %rdi
	callq	_kfree_skb
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.comm	_SOL_PACKET,4,2                 ## @SOL_PACKET
	.comm	_PACKET_TX_TIMESTAMP,4,2        ## @PACKET_TX_TIMESTAMP
	.comm	_MSG_ERRQUEUE,4,2               ## @MSG_ERRQUEUE
	.no_dead_strip	_packet_recv_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packet_recv_error
_packet_recv_error:                     ; @packet_recv_error
	.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	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_skb_dequeue
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w21, [x0]
	cmp	w21, w23
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x21, x23
LBB0_3:
	ldr	w2, [x22, #4]
	mov	x0, x19
	mov	w1, #0
	mov	x3, x21
	bl	_skb_copy_datagram_iovec
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.4:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_sock_recv_timestamp
	mov	x0, x19
	bl	_SKB_EXT_ERR
	mov	x4, x0
Lloh6:
	adrp	x8, _SOL_PACKET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOL_PACKET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _PACKET_TX_TIMESTAMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PACKET_TX_TIMESTAMP@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #4
	bl	_put_cmsg
Lloh12:
	adrp	x8, _MSG_ERRQUEUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_ERRQUEUE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x0, x20
	bl	_spin_lock_bh
	str	wzr, [x20, #16]
	mov	x0, x20
	bl	_skb_peek
	cbz	x0, LBB0_7
; %bb.5:
	bl	_SKB_EXT_ERR
	ldr	w8, [x0]
	str	w8, [x20, #16]
	mov	x0, x20
	bl	_spin_unlock_bh
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
	b	LBB0_8
LBB0_6:
	neg	w23, w21
	b	LBB0_10
LBB0_7:
	mov	x0, x20
	bl	_spin_unlock_bh
LBB0_8:
	mov	x23, x21
LBB0_9:
	mov	x0, x19
	bl	_kfree_skb
LBB0_10:
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.comm	_SOL_PACKET,4,2                 ; @SOL_PACKET
	.comm	_PACKET_TX_TIMESTAMP,4,2        ; @PACKET_TX_TIMESTAMP
	.comm	_MSG_ERRQUEUE,4,2               ; @MSG_ERRQUEUE
	.no_dead_strip	_packet_recv_error
.subsections_via_symbols
