	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_cleanup_headers          ## -- Begin function ixgbe_cleanup_headers
	.p2align	4, 0x90
_ixgbe_cleanup_headers:                 ## @ixgbe_cleanup_headers
	.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
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rdx, %rdi
	callq	_IS_ERR
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	_IXGBE_RXDADV_ERR_FRAME_ERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ixgbe_test_staterr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_NETIF_F_RXALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	testl	%eax, (%rbx)
	sete	%dil
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
LBB0_5:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_10
LBB0_7:
	movq	%r15, %rdi
	callq	_skb_headlen
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ixgbe_pull_tail
LBB0_9:
	movq	%r15, %rdi
	callq	_eth_skb_pad
	xorl	%r12d, %r12d
	testq	%rax, %rax
	setne	%r12b
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_RXDADV_ERR_FRAME_ERR_MASK,4,2 ## @IXGBE_RXDADV_ERR_FRAME_ERR_MASK
	.comm	_NETIF_F_RXALL,4,2              ## @NETIF_F_RXALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_cleanup_headers          ; -- Begin function ixgbe_cleanup_headers
	.p2align	2
_ixgbe_cleanup_headers:                 ; @ixgbe_cleanup_headers
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x0]
	mov	x0, x2
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_10
LBB0_2:
	cbz	x22, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _IXGBE_RXDADV_ERR_FRAME_ERR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_RXDADV_ERR_FRAME_ERR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ixgbe_test_staterr
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _NETIF_F_RXALL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_RXALL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
LBB0_5:
	bl	_unlikely
	cbz	x0, LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_dev_kfree_skb_any
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_skb_headlen
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	bl	_ixgbe_pull_tail
LBB0_9:
	mov	x0, x19
	bl	_eth_skb_pad
	cmp	x0, #0
	cset	w0, ne
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_RXDADV_ERR_FRAME_ERR_MASK,4,2 ; @IXGBE_RXDADV_ERR_FRAME_ERR_MASK
	.comm	_NETIF_F_RXALL,4,2              ; @NETIF_F_RXALL
.subsections_via_symbols
