	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_g2_eeprom_read16
_mv88e6xxx_g2_eeprom_read16:            ## @mv88e6xxx_g2_eeprom_read16
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_MV88E6XXX_G2_EEPROM_CMD_OP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_mv88e6xxx_g2_eeprom_wait
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	orl	%r15d, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_mv88e6xxx_g2_eeprom_cmd
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_MV88E6352_G2_EEPROM_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv88e6xxx_g2_read              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6XXX_G2_EEPROM_CMD_OP_READ,4,2 ## @MV88E6XXX_G2_EEPROM_CMD_OP_READ
	.comm	_MV88E6352_G2_EEPROM_DATA,4,2   ## @MV88E6352_G2_EEPROM_DATA
	.no_dead_strip	_mv88e6xxx_g2_eeprom_read16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_g2_eeprom_read16
_mv88e6xxx_g2_eeprom_read16:            ; @mv88e6xxx_g2_eeprom_read16
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MV88E6XXX_G2_EEPROM_CMD_OP_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6XXX_G2_EEPROM_CMD_OP_READ@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_mv88e6xxx_g2_eeprom_wait
	cbnz	w0, LBB0_2
; %bb.1:
	orr	w1, w22, w21
	mov	x0, x20
	bl	_mv88e6xxx_g2_eeprom_cmd
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x8, _MV88E6352_G2_EEPROM_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MV88E6352_G2_EEPROM_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mv88e6xxx_g2_read
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6XXX_G2_EEPROM_CMD_OP_READ,4,2 ; @MV88E6XXX_G2_EEPROM_CMD_OP_READ
	.comm	_MV88E6352_G2_EEPROM_DATA,4,2   ; @MV88E6352_G2_EEPROM_DATA
	.no_dead_strip	_mv88e6xxx_g2_eeprom_read16
.subsections_via_symbols
