	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92de_read_chip_version
__rtl92de_read_chip_version:            ## @_rtl92de_read_chip_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	_REG_SYS_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl_read_dword
	testl	$983040, %eax                   ## imm = 0xF0000
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_VERSION_NORMAL_CHIP_92D_SINGLEPHY@GOTPCREL(%rip), %rax
	cmoveq	_VERSION_TEST_CHIP_92D_SINGLEPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_RT_TRACE
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERSION_NORMAL_CHIP_92D_SINGLEPHY,4,2 ## @VERSION_NORMAL_CHIP_92D_SINGLEPHY
	.comm	_REG_SYS_CFG,4,2                ## @REG_SYS_CFG
	.comm	_VERSION_TEST_CHIP_92D_SINGLEPHY,4,2 ## @VERSION_TEST_CHIP_92D_SINGLEPHY
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TEST CHIP!!!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Normal CHIP!!!\n"

	.no_dead_strip	__rtl92de_read_chip_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92de_read_chip_version
__rtl92de_read_chip_version:            ; @_rtl92de_read_chip_version
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_SYS_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_SYS_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rtl_read_dword
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
	tst	w0, #0xf0000
	csel	x3, x9, x8, eq
Lloh7:
	adrp	x8, _VERSION_TEST_CHIP_92D_SINGLEPHY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VERSION_TEST_CHIP_92D_SINGLEPHY@GOTPAGEOFF]
Lloh9:
	adrp	x9, _VERSION_NORMAL_CHIP_92D_SINGLEPHY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VERSION_NORMAL_CHIP_92D_SINGLEPHY@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w20, [x8]
Lloh11:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VERSION_NORMAL_CHIP_92D_SINGLEPHY,4,2 ; @VERSION_NORMAL_CHIP_92D_SINGLEPHY
	.comm	_REG_SYS_CFG,4,2                ; @REG_SYS_CFG
	.comm	_VERSION_TEST_CHIP_92D_SINGLEPHY,4,2 ; @VERSION_TEST_CHIP_92D_SINGLEPHY
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TEST CHIP!!!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Normal CHIP!!!\n"

	.no_dead_strip	__rtl92de_read_chip_version
.subsections_via_symbols
