	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_header_cache               ## -- Begin function eth_header_cache
	.p2align	4, 0x90
_eth_header_cache:                      ## @eth_header_cache
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rsi), %r15
	movq	16(%rsi), %r12
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$16, %edi
	callq	_HH_DATA_OFF
	movl	%eax, %ebx
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, %rcx
	movl	$-1, %eax
	cmpq	%rcx, %r15
	je	LBB0_2
## %bb.1:
	movslq	%ebx, %rbx
	movq	%r15, 8(%r12,%rbx,4)
	movl	4(%r12,%rbx,4), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_memcpy
	movl	(%r12,%rbx,4), %edi
	movl	(%r14), %esi
	movl	(%r15), %edx
	callq	_memcpy
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_802_3,4,2                ## @ETH_P_802_3
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_header_cache               ; -- Begin function eth_header_cache
	.p2align	2
_eth_header_cache:                      ; @eth_header_cache
	.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	x19, x1
	mov	x20, x0
	ldr	x23, [x1]
	ldr	x22, [x0, #8]
	ldr	x24, [x1, #16]
	mov	w0, #16
	bl	_HH_DATA_OFF
	mov	x21, x0
Lloh0:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_802_3@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x23, x0
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	add	x21, x24, w21, sxtw #2
	str	x23, [x21, #8]
	ldr	w0, [x21, #4]
	ldr	w1, [x22]
Lloh3:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_memcpy
	ldr	w0, [x21]
	ldr	w1, [x20]
	ldr	w2, [x22]
	bl	_memcpy
	mov	w0, #0
Lloh5:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_3:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_802_3,4,2                ; @ETH_P_802_3
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
.subsections_via_symbols
