	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_xlna_bias_strength_apply
_ar9003_hw_xlna_bias_strength_apply:    ## @ar9003_hw_xlna_bias_strength_apply
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testb	$64, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_AR_SREV_9300
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ar9003_modal_header
	movl	(%rax), %r14d
	movq	_AR_PHY_65NM_CH0_RXTX4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_65NM_RXTX4_XLNA_BIAS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%r14d, %ecx
	andl	$3, %ecx
	movq	%rbx, %rdi
	callq	_REG_RMW_FIELD
	movl	%r14d, %ecx
	shrl	$2, %ecx
	movq	_AR_PHY_65NM_CH1_RXTX4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	andl	$3, %ecx
	movq	%rbx, %rdi
	callq	_REG_RMW_FIELD
	shrl	$4, %r14d
	movq	_AR_PHY_65NM_CH2_RXTX4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	andl	$3, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_RMW_FIELD                  ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_PHY_65NM_CH0_RXTX4,4,2      ## @AR_PHY_65NM_CH0_RXTX4
	.comm	_AR_PHY_65NM_RXTX4_XLNA_BIAS,4,2 ## @AR_PHY_65NM_RXTX4_XLNA_BIAS
	.comm	_AR_PHY_65NM_CH1_RXTX4,4,2      ## @AR_PHY_65NM_CH1_RXTX4
	.comm	_AR_PHY_65NM_CH2_RXTX4,4,2      ## @AR_PHY_65NM_CH2_RXTX4
	.no_dead_strip	_ar9003_hw_xlna_bias_strength_apply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_xlna_bias_strength_apply
_ar9003_hw_xlna_bias_strength_apply:    ; @ar9003_hw_xlna_bias_strength_apply
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldrb	w8, [x0]
	tbz	w8, #6, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_AR_SREV_9300
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_ar9003_modal_header
Lloh0:
	adrp	x8, _AR_PHY_65NM_CH0_RXTX4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_PHY_65NM_CH0_RXTX4@GOTPAGEOFF]
	ldr	w20, [x0]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _AR_PHY_65NM_RXTX4_XLNA_BIAS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AR_PHY_65NM_RXTX4_XLNA_BIAS@GOTPAGEOFF]
	ldr	w2, [x21]
	and	w3, w20, #0x3
	mov	x0, x19
	bl	_REG_RMW_FIELD
Lloh5:
	adrp	x8, _AR_PHY_65NM_CH1_RXTX4@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_PHY_65NM_CH1_RXTX4@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x21]
	ubfx	w3, w20, #2, #2
	mov	x0, x19
	bl	_REG_RMW_FIELD
Lloh8:
	adrp	x8, _AR_PHY_65NM_CH2_RXTX4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_PHY_65NM_CH2_RXTX4@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x21]
	ubfx	w3, w20, #4, #2
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_REG_RMW_FIELD
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_PHY_65NM_CH0_RXTX4,4,2      ; @AR_PHY_65NM_CH0_RXTX4
	.comm	_AR_PHY_65NM_RXTX4_XLNA_BIAS,4,2 ; @AR_PHY_65NM_RXTX4_XLNA_BIAS
	.comm	_AR_PHY_65NM_CH1_RXTX4,4,2      ; @AR_PHY_65NM_CH1_RXTX4
	.comm	_AR_PHY_65NM_CH2_RXTX4,4,2      ; @AR_PHY_65NM_CH2_RXTX4
	.no_dead_strip	_ar9003_hw_xlna_bias_strength_apply
.subsections_via_symbols
