	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_enet_hdr_len
_xgene_enet_hdr_len:                    ## @xgene_enet_hdr_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_1
## %bb.2:
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_VLAN_ETH_HLEN,4,2              ## @VLAN_ETH_HLEN
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.no_dead_strip	_xgene_enet_hdr_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_enet_hdr_len
_xgene_enet_hdr_len:                    ; @xgene_enet_hdr_len
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
Lloh3:
	adrp	x8, _VLAN_ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
	cmp	x19, x0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_VLAN_ETH_HLEN,4,2              ; @VLAN_ETH_HLEN
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.no_dead_strip	_xgene_enet_hdr_len
.subsections_via_symbols
