	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8723e_phy_dbm_to_txpwr_idx
__rtl8723e_phy_dbm_to_txpwr_idx:        ## @_rtl8723e_phy_dbm_to_txpwr_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	movl	$8, %ecx
	cmpl	$2, %esi
	ja	LBB0_2
## %bb.1:
	movslq	%esi, %rax
	leaq	l_switch.table._rtl8723e_phy_dbm_to_txpwr_idx(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
LBB0_2:
	addq	%rdx, %rcx
	leaq	(%rcx,%rcx), %rdx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	cmovgq	%rdx, %rax
	movq	_MAX_TXPWR_IDX_NMODE_92S@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmovgeq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TXPWR_IDX_NMODE_92S,8,3    ## @MAX_TXPWR_IDX_NMODE_92S
	.no_dead_strip	__rtl8723e_phy_dbm_to_txpwr_idx
	.section	__TEXT,__const
	.p2align	3                               ## @switch.table._rtl8723e_phy_dbm_to_txpwr_idx
l_switch.table._rtl8723e_phy_dbm_to_txpwr_idx:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
	.quad	7                               ## 0x7

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8723e_phy_dbm_to_txpwr_idx
__rtl8723e_phy_dbm_to_txpwr_idx:        ; @_rtl8723e_phy_dbm_to_txpwr_idx
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table._rtl8723e_phy_dbm_to_txpwr_idx@PAGE
Lloh1:
	add	x9, x9, l_switch.table._rtl8723e_phy_dbm_to_txpwr_idx@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
	mov	w8, #8
LBB0_3:
	add	x8, x8, x2
	lsl	x9, x8, #1
	cmp	x8, #0
	csel	x8, x9, xzr, gt
Lloh2:
	adrp	x9, _MAX_TXPWR_IDX_NMODE_92S@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_TXPWR_IDX_NMODE_92S@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x0, x8, x9, lt
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TXPWR_IDX_NMODE_92S,8,3    ; @MAX_TXPWR_IDX_NMODE_92S
	.no_dead_strip	__rtl8723e_phy_dbm_to_txpwr_idx
	.section	__TEXT,__const
	.p2align	3                               ; @switch.table._rtl8723e_phy_dbm_to_txpwr_idx
l_switch.table._rtl8723e_phy_dbm_to_txpwr_idx:
	.quad	8                               ; 0x8
	.quad	8                               ; 0x8
	.quad	7                               ; 0x7

.subsections_via_symbols
