	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_xpa_timing_control_apply
_ar9003_hw_xpa_timing_control_apply:    ## @ar9003_hw_xpa_timing_control_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testb	$-128, (%rdi)
	jne	LBB0_1
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_AR_SREV_9300
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_AR_SREV_9340
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_AR_SREV_9580
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_AR_SREV_9531
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_AR_SREV_9561
	testl	%eax, %eax
	je	LBB0_10
LBB0_6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ar9003_modal_header
	movl	(%rax), %ecx
	movq	_AR_PHY_XPA_TIMING_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.8:
	movq	_AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_RMW_FIELD                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_PHY_XPA_TIMING_CTL,4,2      ## @AR_PHY_XPA_TIMING_CTL
	.comm	_AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON,4,2 ## @AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON
	.comm	_AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON,4,2 ## @AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON
	.no_dead_strip	_ar9003_hw_xpa_timing_control_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_timing_control_apply
_ar9003_hw_xpa_timing_control_apply:    ; @ar9003_hw_xpa_timing_control_apply
	.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
	ldrb	w8, [x0]
	tbnz	w8, #7, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	bl	_AR_SREV_9300
	cbnz	w0, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_AR_SREV_9340
	cbnz	w0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_AR_SREV_9580
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_AR_SREV_9531
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_AR_SREV_9561
	cbz	w0, LBB0_1
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_ar9003_modal_header
	ldr	w3, [x0]
Lloh0:
	adrp	x8, _AR_PHY_XPA_TIMING_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_PHY_XPA_TIMING_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x8, x9, eq
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_RMW_FIELD
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_PHY_XPA_TIMING_CTL,4,2      ; @AR_PHY_XPA_TIMING_CTL
	.comm	_AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON,4,2 ; @AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON
	.comm	_AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON,4,2 ; @AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON
	.no_dead_strip	_ar9003_hw_xpa_timing_control_apply
.subsections_via_symbols
