	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_header                     ## -- Begin function eth_header
	.p2align	4, 0x90
_eth_header:                            ## @eth_header
	.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	%r9d, %ebx
	movq	%r8, %r12
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_skb_push
	movq	%rax, %r13
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
	cmpw	%r14w, (%rax)
	cmovnel	%r14d, %ebx
	movl	%ebx, %edi
	callq	_htons
	movq	%rax, 8(%r13)
	testq	%r12, %r12
	jne	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
LBB0_2:
	movl	4(%r13), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rsi
	callq	_memcpy
	testq	%r15, %r15
	je	LBB0_5
## %bb.3:
	movl	(%r13), %edi
	movl	(%rbx), %edx
	movq	%r15, %rsi
	callq	_memcpy
	jmp	LBB0_4
LBB0_5:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_IFF_NOARP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testl	%ecx, 8(%rax)
	je	LBB0_7
## %bb.6:
	movl	(%r13), %edi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_4:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_P_802_3,2,1                ## @ETH_P_802_3
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_header                     ; -- Begin function eth_header
	.p2align	2
_eth_header:                            ; @eth_header
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x5
	mov	x22, x4
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
Lloh0:
	adrp	x25, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ETH_HLEN@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_skb_push
	mov	x20, x0
Lloh2:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_P_802_3@GOTPAGEOFF]
	ldrh	w8, [x8]
	cmp	w8, w24
	csel	w0, w23, w24, eq
	bl	_htons
	str	x0, [x20, #8]
	cbnz	x22, LBB0_2
; %bb.1:
	ldr	x22, [x21]
LBB0_2:
	ldr	w0, [x20, #4]
Lloh4:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_memcpy
	cbz	x19, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	ldr	w2, [x23]
	mov	x1, x19
	bl	_memcpy
	ldr	w0, [x25]
	b	LBB0_7
LBB0_4:
	ldr	w8, [x21, #8]
Lloh6:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _IFF_NOARP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IFF_NOARP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x20]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_memset
	ldr	w0, [x25]
	b	LBB0_7
LBB0_6:
	ldr	w8, [x25]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_P_802_3,2,1                ; @ETH_P_802_3
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
.subsections_via_symbols
