	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92se_read_eeprom_info       ## -- Begin function rtl92se_read_eeprom_info
	.p2align	4, 0x90
_rtl92se_read_eeprom_info:              ## @rtl92se_read_eeprom_info
	.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	%rdi, %r15
	callq	_rtl_priv
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	%rax, %r14
	movq	_EPROM_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_rtl_read_byte
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_BIT
	movq	_COMP_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%ebx, %eax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_EEPROM_93C46@GOTPCREL(%rip), %r13
	cmoveq	_EEPROM_BOOT_EFUSE@GOTPCREL(%rip), %r13
	movq	%r12, %rdi
	callq	_RT_TRACE
	movl	(%r13), %eax
	movl	%eax, 4(%r14)
	movl	$5, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_1
## %bb.2:
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rdi
	callq	_RT_TRACE
	movl	$0, (%r14)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__rtl92se_read_adapter_info     ## TAILCALL
LBB0_1:
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_err
	movl	$1, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROM_CMD,4,2                  ## @EPROM_CMD
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Boot from EEPROM\n"

	.comm	_EEPROM_93C46,4,2               ## @EEPROM_93C46
L_.str.1:                               ## @.str.1
	.asciz	"Boot from EFUSE\n"

	.comm	_EEPROM_BOOT_EFUSE,4,2          ## @EEPROM_BOOT_EFUSE
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
L_.str.2:                               ## @.str.2
	.asciz	"Autoload OK\n"

L_.str.3:                               ## @.str.3
	.asciz	"Autoload ERR!!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92se_read_eeprom_info       ; -- Begin function rtl92se_read_eeprom_info
	.p2align	2
_rtl92se_read_eeprom_info:              ; @rtl92se_read_eeprom_info
	.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	x19, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x20, x0
Lloh0:
	adrp	x8, _EPROM_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPROM_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_rtl_read_byte
	mov	x22, x0
	mov	w0, #4
	bl	_BIT
Lloh3:
	adrp	x23, _COMP_INIT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _COMP_INIT@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh5:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, l_.str@PAGE
Lloh9:
	add	x8, x8, l_.str@PAGEOFF
Lloh10:
	adrp	x9, l_.str.1@PAGE
Lloh11:
	add	x9, x9, l_.str.1@PAGEOFF
	tst	w0, w22
	csel	x3, x9, x8, eq
Lloh12:
	adrp	x8, _EEPROM_BOOT_EFUSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEPROM_BOOT_EFUSE@GOTPAGEOFF]
Lloh14:
	adrp	x9, _EEPROM_93C46@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EEPROM_93C46@GOTPAGEOFF]
	csel	x24, x8, x9, eq
	mov	x0, x21
	bl	_RT_TRACE
	ldr	w8, [x24]
	str	w8, [x20, #4]
	mov	w0, #5
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x23]
Lloh16:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x3, l_.str.2@PAGE
Lloh20:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_RT_TRACE
	str	wzr, [x20]
	mov	x0, x19
	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
	b	__rtl92se_read_adapter_info
LBB0_2:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
	mov	w8, #1
	str	w8, [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	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROM_CMD,4,2                  ; @EPROM_CMD
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Boot from EEPROM\n"

	.comm	_EEPROM_93C46,4,2               ; @EEPROM_93C46
l_.str.1:                               ; @.str.1
	.asciz	"Boot from EFUSE\n"

	.comm	_EEPROM_BOOT_EFUSE,4,2          ; @EEPROM_BOOT_EFUSE
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
l_.str.2:                               ; @.str.2
	.asciz	"Autoload OK\n"

l_.str.3:                               ; @.str.3
	.asciz	"Autoload ERR!!\n"

.subsections_via_symbols
