	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8723be_read_package_type
__rtl8723be_read_package_type:          ## @_rtl8723be_read_package_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_efuse_power_switch
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$507, %esi                      ## imm = 0x1FB
	callq	_efuse_one_byte_read
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	$0, -12(%rbp)
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_efuse_power_switch
	movl	-12(%rbp), %eax
	andl	$7, %eax
	leal	-4(%rax), %ecx
	cmpl	$3, %ecx
	ja	LBB0_3
## %bb.4:
	leaq	l_switch.table._rtl8723be_read_package_type(%rip), %rcx
	movq	-32(%rcx,%rax,8), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_PACKAGE_DEFAULT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKAGE_TFBGA79,4,2            ## @PACKAGE_TFBGA79
	.comm	_PACKAGE_TFBGA90,4,2            ## @PACKAGE_TFBGA90
	.comm	_PACKAGE_QFN68,4,2              ## @PACKAGE_QFN68
	.comm	_PACKAGE_TFBGA80,4,2            ## @PACKAGE_TFBGA80
	.comm	_PACKAGE_DEFAULT,4,2            ## @PACKAGE_DEFAULT
	.no_dead_strip	__rtl8723be_read_package_type
	.section	__DATA,__const
	.p2align	3                               ## @switch.table._rtl8723be_read_package_type
l_switch.table._rtl8723be_read_package_type:
	.quad	_PACKAGE_TFBGA79
	.quad	_PACKAGE_TFBGA90
	.quad	_PACKAGE_QFN68
	.quad	_PACKAGE_TFBGA80

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8723be_read_package_type
__rtl8723be_read_package_type:          ; @_rtl8723be_read_package_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w1, #0
	mov	w2, #1
	bl	_efuse_power_switch
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #507
	bl	_efuse_one_byte_read
	cbnz	w0, LBB0_2
; %bb.1:
	str	wzr, [sp, #12]
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_efuse_power_switch
	ldr	w8, [sp, #12]
	and	x8, x8, #0x7
	sub	x8, x8, #4
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.3:
Lloh0:
	adrp	x9, l_switch.table._rtl8723be_read_package_type@PAGE
Lloh1:
	add	x9, x9, l_switch.table._rtl8723be_read_package_type@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _PACKAGE_DEFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PACKAGE_DEFAULT@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKAGE_TFBGA79,4,2            ; @PACKAGE_TFBGA79
	.comm	_PACKAGE_TFBGA90,4,2            ; @PACKAGE_TFBGA90
	.comm	_PACKAGE_QFN68,4,2              ; @PACKAGE_QFN68
	.comm	_PACKAGE_TFBGA80,4,2            ; @PACKAGE_TFBGA80
	.comm	_PACKAGE_DEFAULT,4,2            ; @PACKAGE_DEFAULT
	.no_dead_strip	__rtl8723be_read_package_type
	.section	__DATA,__const
	.p2align	3                               ; @switch.table._rtl8723be_read_package_type
l_switch.table._rtl8723be_read_package_type:
	.quad	_PACKAGE_TFBGA79
	.quad	_PACKAGE_TFBGA90
	.quad	_PACKAGE_QFN68
	.quad	_PACKAGE_TFBGA80

.subsections_via_symbols
