	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlan_ee_read_byte
_tlan_ee_read_byte:                     ## @tlan_ee_read_byte
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_spin_lock_irqsave
	movl	(%r13), %edi
	callq	_tlan_ee_send_start
	movl	(%r13), %edi
	movq	_TLAN_EEPROM_ACK@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$160, %esi
	callq	_tlan_ee_send_byte
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	(%r13), %edi
	movl	(%r14), %edx
	movl	%r12d, %esi
	callq	_tlan_ee_send_byte
	movl	$2, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%r13), %edi
	callq	_tlan_ee_send_start
	movl	(%r13), %edi
	movl	(%r14), %edx
	movl	$161, %esi
	callq	_tlan_ee_send_byte
	movl	$3, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r13), %edi
	movq	_TLAN_EEPROM_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_tlan_ee_receive_byte
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLAN_EEPROM_ACK,4,2            ## @TLAN_EEPROM_ACK
	.comm	_TLAN_EEPROM_STOP,4,2           ## @TLAN_EEPROM_STOP
	.no_dead_strip	_tlan_ee_read_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlan_ee_read_byte
_tlan_ee_read_byte:                     ; @tlan_ee_read_byte
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x1, #0
	bl	_spin_lock_irqsave
	ldr	w0, [x21]
	bl	_tlan_ee_send_start
	ldr	w0, [x21]
Lloh0:
	adrp	x23, _TLAN_EEPROM_ACK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TLAN_EEPROM_ACK@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #160
	bl	_tlan_ee_send_byte
	cbz	w0, LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_7
LBB0_2:
	ldr	w0, [x21]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_tlan_ee_send_byte
	cbz	w0, LBB0_4
; %bb.3:
	mov	w20, #2
	b	LBB0_7
LBB0_4:
	ldr	w0, [x21]
	bl	_tlan_ee_send_start
	ldr	w0, [x21]
	ldr	w2, [x23]
	mov	w1, #161
	bl	_tlan_ee_send_byte
	cbz	w0, LBB0_6
; %bb.5:
	mov	w20, #3
	b	LBB0_7
LBB0_6:
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _TLAN_EEPROM_STOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TLAN_EEPROM_STOP@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_tlan_ee_receive_byte
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	mov	x1, #0
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TLAN_EEPROM_ACK,4,2            ; @TLAN_EEPROM_ACK
	.comm	_TLAN_EEPROM_STOP,4,2           ; @TLAN_EEPROM_STOP
	.no_dead_strip	_tlan_ee_read_byte
.subsections_via_symbols
