	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_xpa_bias_level_apply
_ar9003_hw_xpa_bias_level_apply:        ## @ar9003_hw_xpa_bias_level_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ar9003_modal_header
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_AR_SREV_9485
	movq	_AR_CH0_TOP2_XPABIASLVL@GOTPCREL(%rip), %r12
	movq	_AR_CH0_TOP2@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_AR_SREV_9330
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_AR_SREV_9340
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_AR_SREV_9531
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_AR_SREV_9561
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_AR_SREV_9462
	movq	_AR_CH0_TOP_XPABIASLVL@GOTPCREL(%rip), %r12
	movq	_AR_CH0_TOP@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_AR_SREV_9550
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_AR_SREV_9565
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_AR_CH0_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_CH0_TOP_XPABIASLVL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_REG_RMW_FIELD
	movq	_AR_CH0_THERM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_AR_CH0_THERM_XPABIASLVL_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	sarl	$2, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_REG_RMW_FIELD
	movl	$1, %r14d
	movq	_AR_CH0_THERM_XPASHORT2GND@GOTPCREL(%rip), %r12
LBB0_9:
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_RMW_FIELD                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_CH0_TOP2,4,2                ## @AR_CH0_TOP2
	.comm	_AR_CH0_TOP2_XPABIASLVL,4,2     ## @AR_CH0_TOP2_XPABIASLVL
	.comm	_AR_CH0_TOP,4,2                 ## @AR_CH0_TOP
	.comm	_AR_CH0_TOP_XPABIASLVL,4,2      ## @AR_CH0_TOP_XPABIASLVL
	.comm	_AR_CH0_THERM,4,2               ## @AR_CH0_THERM
	.comm	_AR_CH0_THERM_XPABIASLVL_MSB,4,2 ## @AR_CH0_THERM_XPABIASLVL_MSB
	.comm	_AR_CH0_THERM_XPASHORT2GND,4,2  ## @AR_CH0_THERM_XPASHORT2GND
	.no_dead_strip	_ar9003_hw_xpa_bias_level_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_xpa_bias_level_apply
_ar9003_hw_xpa_bias_level_apply:        ; @ar9003_hw_xpa_bias_level_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
	mov	x19, x0
	bl	_ar9003_modal_header
	ldr	w20, [x0]
	mov	x0, x19
	bl	_AR_SREV_9485
	cbnz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_AR_SREV_9330
	cbnz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_AR_SREV_9340
	cbnz	x0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_AR_SREV_9531
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_AR_SREV_9561
	cbz	x0, LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _AR_CH0_TOP2_XPABIASLVL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_CH0_TOP2_XPABIASLVL@GOTPAGEOFF]
Lloh2:
	adrp	x21, _AR_CH0_TOP2@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AR_CH0_TOP2@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x21]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	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_7:
	mov	x0, x19
	bl	_AR_SREV_9462
	cbnz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_AR_SREV_9550
	cbz	x0, LBB0_10
LBB0_9:
Lloh4:
	adrp	x8, _AR_CH0_TOP_XPABIASLVL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AR_CH0_TOP_XPABIASLVL@GOTPAGEOFF]
Lloh6:
	adrp	x21, _AR_CH0_TOP@GOTPAGE
Lloh7:
	ldr	x21, [x21, _AR_CH0_TOP@GOTPAGEOFF]
	b	LBB0_6
LBB0_10:
	mov	x0, x19
	bl	_AR_SREV_9565
Lloh8:
	adrp	x8, _AR_CH0_TOP_XPABIASLVL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_CH0_TOP_XPABIASLVL@GOTPAGEOFF]
Lloh10:
	adrp	x21, _AR_CH0_TOP@GOTPAGE
Lloh11:
	ldr	x21, [x21, _AR_CH0_TOP@GOTPAGEOFF]
	cbnz	x0, LBB0_6
; %bb.11:
	ldr	w1, [x21]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_REG_RMW_FIELD
Lloh12:
	adrp	x21, _AR_CH0_THERM@GOTPAGE
Lloh13:
	ldr	x21, [x21, _AR_CH0_THERM@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh14:
	adrp	x8, _AR_CH0_THERM_XPABIASLVL_MSB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR_CH0_THERM_XPABIASLVL_MSB@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	asr	w3, w20, #2
	mov	x0, x19
	bl	_REG_RMW_FIELD
	mov	w20, #1
Lloh17:
	adrp	x8, _AR_CH0_THERM_XPASHORT2GND@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AR_CH0_THERM_XPASHORT2GND@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_CH0_TOP2,4,2                ; @AR_CH0_TOP2
	.comm	_AR_CH0_TOP2_XPABIASLVL,4,2     ; @AR_CH0_TOP2_XPABIASLVL
	.comm	_AR_CH0_TOP,4,2                 ; @AR_CH0_TOP
	.comm	_AR_CH0_TOP_XPABIASLVL,4,2      ; @AR_CH0_TOP_XPABIASLVL
	.comm	_AR_CH0_THERM,4,2               ; @AR_CH0_THERM
	.comm	_AR_CH0_THERM_XPABIASLVL_MSB,4,2 ; @AR_CH0_THERM_XPABIASLVL_MSB
	.comm	_AR_CH0_THERM_XPASHORT2GND,4,2  ; @AR_CH0_THERM_XPASHORT2GND
	.no_dead_strip	_ar9003_hw_xpa_bias_level_apply
.subsections_via_symbols
