	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function locate_mpa
_locate_mpa:                            ## @locate_mpa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_NES_AEQE_Q2_DATA_ETHERNET@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx,4), %rdx
	movl	(%rax,%rcx,4), %eax
	shll	$2, %eax
	andl	$60, %eax
	leaq	(%rdx,%rax,4), %rcx
	movl	48(%rdx,%rax,4), %eax
	andl	$240, %eax
	addq	%rcx, %rax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NES_AEQE_Q2_DATA_ETHERNET,4,2  ## @NES_AEQE_Q2_DATA_ETHERNET
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.no_dead_strip	_locate_mpa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function locate_mpa
_locate_mpa:                            ; @locate_mpa
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NES_AEQE_Q2_DATA_ETHERNET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NES_AEQE_Q2_DATA_ETHERNET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x8, x0, x8, lsl #2
	ldr	w9, [x8]
	lsl	w9, w9, #2
	and	x9, x9, #0x3c
	add	x8, x8, x9, lsl #2
	ldr	w9, [x8, #48]
	and	x9, x9, #0xf0
	add	x0, x8, x9
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NES_AEQE_Q2_DATA_ETHERNET,4,2  ; @NES_AEQE_Q2_DATA_ETHERNET
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.no_dead_strip	_locate_mpa
.subsections_via_symbols
