	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x02_eeprom_get
_mt76x02_eeprom_get:                    ## @mt76x02_eeprom_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testb	$1, %sil
	jne	LBB0_2
## %bb.1:
	movq	___MT_EE_MAX@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_2
## %bb.3:
	movl	%esi, %eax
	addq	(%rdi), %rax
	movq	%rax, %rdi
	popq	%rbp
	jmp	_get_unaligned_le16             ## TAILCALL
LBB0_2:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___MT_EE_MAX,4,2                ## @__MT_EE_MAX
	.no_dead_strip	_mt76x02_eeprom_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x02_eeprom_get
_mt76x02_eeprom_get:                    ; @mt76x02_eeprom_get
	.cfi_startproc
; %bb.0:
	tbnz	w1, #0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, ___MT_EE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___MT_EE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_3
; %bb.2:
	ldr	x8, [x0]
	add	x0, x8, w1, uxtw
	b	_get_unaligned_le16
LBB0_3:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___MT_EE_MAX,4,2                ; @__MT_EE_MAX
	.no_dead_strip	_mt76x02_eeprom_get
.subsections_via_symbols
