	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_ethip_packet
_check_ethip_packet:                    ## @check_ethip_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_skb_reset_mac_header
	movq	%rbx, %rdi
	callq	_skb_is_nonlinear
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_eth_hdr
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Non linear buffer-dropping\n"

	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.no_dead_strip	_check_ethip_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_ethip_packet
_check_ethip_packet:                    ; @check_ethip_packet
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_skb_reset_mac_header
	mov	x0, x19
	bl	_skb_is_nonlinear
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	mov	w0, #0
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pskb_may_pull
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_eth_hdr
	ldr	w8, [x0]
	str	w8, [x19]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Non linear buffer-dropping\n"

	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.no_dead_strip	_check_ethip_packet
.subsections_via_symbols
