	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_eeprom_read            ## -- Begin function mwifiex_eeprom_read
	.p2align	4, 0x90
_mwifiex_eeprom_read:                   ## @mwifiex_eeprom_read
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, -32(%rbp)
	movq	%rdx, -48(%rbp)
	movq	_HostCmd_CMD_802_11_EEPROM_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_mwifiex_send_cmd
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-40(%rbp), %r15d
	movq	_MAX_EEPROM_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-48(%rbp), %rsi
	callq	_min
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_memcpy
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_CMD_802_11_EEPROM_ACCESS,4,2 ## @HostCmd_CMD_802_11_EEPROM_ACCESS
	.comm	_HostCmd_ACT_GEN_GET,4,2        ## @HostCmd_ACT_GEN_GET
	.comm	_MAX_EEPROM_DATA,8,3            ## @MAX_EEPROM_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_eeprom_read            ; -- Begin function mwifiex_eeprom_read
	.p2align	2
_mwifiex_eeprom_read:                   ; @mwifiex_eeprom_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x3
	str	x1, [sp, #24]
	str	x2, [sp, #8]
Lloh0:
	adrp	x8, _HostCmd_CMD_802_11_EEPROM_ACCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_802_11_EEPROM_ACCESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _HostCmd_ACT_GEN_GET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HostCmd_ACT_GEN_GET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	w3, #0
	mov	w5, #1
	bl	_mwifiex_send_cmd
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w21, [sp, #16]
Lloh6:
	adrp	x8, _MAX_EEPROM_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_EEPROM_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ldr	x1, [sp, #8]
	bl	_min
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_memcpy
LBB0_2:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_CMD_802_11_EEPROM_ACCESS,4,2 ; @HostCmd_CMD_802_11_EEPROM_ACCESS
	.comm	_HostCmd_ACT_GEN_GET,4,2        ; @HostCmd_ACT_GEN_GET
	.comm	_MAX_EEPROM_DATA,8,3            ; @MAX_EEPROM_DATA
.subsections_via_symbols
