	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92de_efuse_update_chip_version
__rtl92de_efuse_update_chip_version:    ## @_rtl92de_efuse_update_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_rtl_priv
	movq	%rax, %r14
	movl	(%rax), %r15d
	movq	8(%rax), %rax
	movq	_EEPROME_CHIP_VERSION_H@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	8(%r14), %rax
	movq	_EEPROME_CHIP_VERSION_L@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	-36(%rbp), %eax
	shll	$8, %eax
	orl	-40(%rbp), %eax
	cmpl	$39270, %eax                    ## imm = 0x9966
	je	LBB0_5
## %bb.1:
	cmpl	$52275, %eax                    ## imm = 0xCC33
	je	LBB0_6
## %bb.2:
	cmpl	$43605, %eax                    ## imm = 0xAA55
	jne	LBB0_7
## %bb.3:
	movq	_CHIP_92D_C_CUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	movq	_CHIP_92D_D_CUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_4
LBB0_6:
	movq	_CHIP_92D_E_CUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
LBB0_4:
	movq	%r14, %rdi
	callq	_RT_TRACE
	jmp	LBB0_8
LBB0_7:
	movq	_CHIP_92D_D_CUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_err
LBB0_8:
	orl	%r15d, %ebx
	movl	%ebx, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROME_CHIP_VERSION_H,4,2     ## @EEPROME_CHIP_VERSION_H
	.comm	_EEPROME_CHIP_VERSION_L,4,2     ## @EEPROME_CHIP_VERSION_L
	.comm	_CHIP_92D_C_CUT,4,2             ## @CHIP_92D_C_CUT
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"C-CUT!!!\n"

	.comm	_CHIP_92D_D_CUT,4,2             ## @CHIP_92D_D_CUT
L_.str.1:                               ## @.str.1
	.asciz	"D-CUT!!!\n"

	.comm	_CHIP_92D_E_CUT,4,2             ## @CHIP_92D_E_CUT
L_.str.2:                               ## @.str.2
	.asciz	"E-CUT!!!\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unknown CUT!\n"

	.no_dead_strip	__rtl92de_efuse_update_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_efuse_update_chip_version
__rtl92de_efuse_update_chip_version:    ; @_rtl92de_efuse_update_chip_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_rtl_priv
	mov	x19, x0
	ldr	w21, [x0]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EEPROME_CHIP_VERSION_H@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EEPROME_CHIP_VERSION_H@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x9, sp
	add	x2, x9, #4
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _EEPROME_CHIP_VERSION_L@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EEPROME_CHIP_VERSION_L@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x2, sp
	mov	x0, x20
	blr	x8
	ldp	w9, w8, [sp]
	orr	w8, w9, w8, lsl #8
	mov	w9, #39270
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.1:
	mov	w9, #52275
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.2:
	mov	w9, #43605
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.3:
Lloh9:
	adrp	x8, _CHIP_92D_C_CUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHIP_92D_C_CUT@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh20:
	adrp	x8, _CHIP_92D_D_CUT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CHIP_92D_D_CUT@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
Lloh23:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x3, l_.str.1@PAGE
Lloh30:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh31:
	adrp	x8, _CHIP_92D_E_CUT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CHIP_92D_E_CUT@GOTPAGEOFF]
Lloh33:
	ldr	w20, [x8]
Lloh34:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
Lloh40:
	adrp	x3, l_.str.2@PAGE
Lloh41:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_RT_TRACE
	b	LBB0_8
LBB0_7:
Lloh42:
	adrp	x8, _CHIP_92D_D_CUT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CHIP_92D_D_CUT@GOTPAGEOFF]
Lloh44:
	ldr	w20, [x8]
Lloh45:
	adrp	x0, l_.str.3@PAGE
Lloh46:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_err
LBB0_8:
	orr	w8, w20, w21
	str	w8, [x19]
	ldr	x8, [sp, #8]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
	add	sp, sp, #64
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROME_CHIP_VERSION_H,4,2     ; @EEPROME_CHIP_VERSION_H
	.comm	_EEPROME_CHIP_VERSION_L,4,2     ; @EEPROME_CHIP_VERSION_L
	.comm	_CHIP_92D_C_CUT,4,2             ; @CHIP_92D_C_CUT
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"C-CUT!!!\n"

	.comm	_CHIP_92D_D_CUT,4,2             ; @CHIP_92D_D_CUT
l_.str.1:                               ; @.str.1
	.asciz	"D-CUT!!!\n"

	.comm	_CHIP_92D_E_CUT,4,2             ; @CHIP_92D_E_CUT
l_.str.2:                               ; @.str.2
	.asciz	"E-CUT!!!\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unknown CUT!\n"

	.no_dead_strip	__rtl92de_efuse_update_chip_version
.subsections_via_symbols
