	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl88e_get_txpower_index
__rtl88e_get_txpower_index:             ## @_rtl88e_get_txpower_index
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r15
	movl	%esi, %r14d
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_efuse
	decl	%r14d
	movslq	%r14d, %rbx
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %r10
	cmpl	$0, (%r10)
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	je	LBB0_3
## %bb.5:
	cmpl	$1, %ecx
	jne	LBB0_6
LBB0_9:
	movq	%rax, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	%r12, %r9
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_handle_path_a                  ## TAILCALL
LBB0_1:
	movq	%rax, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r9
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	callq	_handle_path_a
	movq	%rbx, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_4
LBB0_3:
	movq	(%rax), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movl	%ecx, (%r15)
	movslq	(%r10), %rcx
	movq	8(%rax), %r11
	movq	16(%rax), %rsi
	movq	(%r11,%rcx,8), %rdi
	movq	(%rsi,%rcx,8), %rsi
	movl	(%rsi,%rbx,4), %esi
	addl	(%rdi,%rbx,4), %esi
	movl	%esi, (%r8,%rcx,4)
	movslq	(%r10), %rcx
	movq	(%r11,%rcx,8), %rsi
	movq	24(%rax), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movl	(%rdi,%rbx,4), %edi
	addl	(%rsi,%rbx,4), %edi
	movl	%edi, (%r13,%rcx,4)
	movslq	(%r10), %rsi
	movq	(%r11,%rsi,8), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movl	%ecx, (%r12,%rsi,4)
LBB0_4:
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$1, %ecx
	je	LBB0_9
LBB0_6:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %r10
	cmpl	$1, (%r10)
	jne	LBB0_8
## %bb.7:
	movq	(%rax), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movl	%ecx, 4(%r15)
	movq	8(%rax), %rcx
	movq	16(%rax), %rdx
	movq	8(%rcx), %rsi
	movq	8(%rdx), %rdx
	movl	(%rdx,%rbx,4), %edx
	addl	(%rsi,%rbx,4), %edx
	movl	%edx, 4(%r8)
	movslq	(%r10), %rdx
	movq	(%rcx,%rdx,8), %rsi
	movq	24(%rax), %rdi
	movq	(%rdi,%rdx,8), %rdi
	movl	(%rdi,%rbx,4), %edi
	addl	(%rsi,%rbx,4), %edi
	movl	%edi, (%r13,%rdx,4)
	movslq	(%r10), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movl	%ecx, (%r12,%rdx,4)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_RF90_PATH_B,4,2                ## @RF90_PATH_B
	.no_dead_strip	__rtl88e_get_txpower_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl88e_get_txpower_index
__rtl88e_get_txpower_index:             ; @_rtl88e_get_txpower_index
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x24, x1
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x23, x0
	sub	w8, w24, #1
	sxtw	x24, w8
Lloh0:
	adrp	x26, _RF90_PATH_A@GOTPAGE
Lloh1:
	ldr	x26, [x26, _RF90_PATH_A@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh2:
	adrp	x25, _RF90_PATH_B@GOTPAGE
Lloh3:
	ldr	x25, [x25, _RF90_PATH_B@GOTPAGEOFF]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w9, [x25]
	cbz	w9, LBB0_5
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_7
LBB0_3:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	mov	x5, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_handle_path_a
LBB0_4:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	mov	x5, x19
	bl	_handle_path_a
	b	LBB0_6
LBB0_5:
	ldp	x8, x9, [x23]
	ldr	x8, [x8]
	lsl	x10, x24, #2
	ldr	w8, [x8, x10]
	str	w8, [x22]
	ldrsw	x8, [x25]
	lsl	x11, x8, #3
	ldp	x12, x13, [x23, #16]
	ldr	x12, [x12, x11]
	ldr	x11, [x9, x11]
	ldr	w11, [x11, x10]
	ldr	w12, [x12, x10]
	add	w11, w12, w11
	str	w11, [x21, x8, lsl #2]
	ldrsw	x8, [x25]
	lsl	x11, x8, #3
	ldr	x12, [x9, x11]
	ldr	w12, [x12, x10]
	ldr	x11, [x13, x11]
	ldr	w11, [x11, x10]
	add	w11, w11, w12
	str	w11, [x20, x8, lsl #2]
	ldrsw	x8, [x25]
	ldr	x9, [x9, x8, lsl #3]
	ldr	w9, [x9, x10]
	str	w9, [x19, x8, lsl #2]
LBB0_6:
	ldr	w8, [x26]
	cmp	w8, #1
	b.eq	LBB0_3
LBB0_7:
	ldr	w8, [x25]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.8:
	ldp	x8, x9, [x23]
	ldr	x8, [x8, #8]
	lsl	x10, x24, #2
	ldr	w8, [x8, x10]
	str	w8, [x22, #4]
	ldr	x8, [x9, #8]
	ldr	w8, [x8, x10]
	ldp	x11, x12, [x23, #16]
	ldr	x11, [x11, #8]
	ldr	w11, [x11, x10]
	add	w8, w11, w8
	str	w8, [x21, #4]
	ldrsw	x8, [x25]
	lsl	x11, x8, #3
	ldr	x13, [x9, x11]
	ldr	w13, [x13, x10]
	ldr	x11, [x12, x11]
	ldr	w11, [x11, x10]
	add	w11, w11, w13
	str	w11, [x20, x8, lsl #2]
	ldrsw	x8, [x25]
	ldr	x9, [x9, x8, lsl #3]
	ldr	w9, [x9, x10]
	str	w9, [x19, x8, lsl #2]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_RF90_PATH_B,4,2                ; @RF90_PATH_B
	.no_dead_strip	__rtl88e_get_txpower_index
.subsections_via_symbols
