	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x0_phy_get_rf_pa_mode
_mt76x0_phy_get_rf_pa_mode:             ## @mt76x0_phy_get_rf_pa_mode
	.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
	movl	%edx, %ebx
	cmpl	$1, %esi
	jne	LBB0_1
## %bb.2:
	movq	_MT_RF_PA_MODE_CFG1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MT_RF_PA_MODE_CFG0@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_mt76_rr
	addl	%ebx, %ebx
	movl	$3, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	andl	%edx, %eax
	sarl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_RF_PA_MODE_CFG1,4,2         ## @MT_RF_PA_MODE_CFG1
	.comm	_MT_RF_PA_MODE_CFG0,4,2         ## @MT_RF_PA_MODE_CFG0
	.no_dead_strip	_mt76x0_phy_get_rf_pa_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x0_phy_get_rf_pa_mode
_mt76x0_phy_get_rf_pa_mode:             ; @mt76x0_phy_get_rf_pa_mode
	.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
	mov	x19, x2
Lloh0:
	adrp	x8, _MT_RF_PA_MODE_CFG1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_RF_PA_MODE_CFG1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MT_RF_PA_MODE_CFG0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MT_RF_PA_MODE_CFG0@GOTPAGEOFF]
	cmp	w1, #1
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bl	_mt76_rr
	lsl	w8, w19, #1
	mov	w9, #3
	lsl	w9, w9, w8
	and	w9, w0, w9
	asr	w0, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_RF_PA_MODE_CFG1,4,2         ; @MT_RF_PA_MODE_CFG1
	.comm	_MT_RF_PA_MODE_CFG0,4,2         ; @MT_RF_PA_MODE_CFG0
	.no_dead_strip	_mt76x0_phy_get_rf_pa_mode
.subsections_via_symbols
