	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_get_paprd_scale_factor  ## -- Begin function ar9003_get_paprd_scale_factor
	.p2align	4, 0x90
_ar9003_get_paprd_scale_factor:         ## @ar9003_get_paprd_scale_factor
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_IS_CHAN_2GHZ
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r14), %edi
	jmp	LBB0_4
LBB0_2:
	movl	(%rbx), %ebx
	cmpl	$5700, %ebx                     ## imm = 0x1644
	jl	LBB0_7
## %bb.3:
	movl	4(%r14), %edi
LBB0_4:
	callq	_le32_to_cpu
	movl	%eax, %edi
LBB0_5:
	movq	_AR9300_PAPRD_SCALE_1@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_MS                             ## TAILCALL
LBB0_7:
	movl	(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %edi
	cmpl	$5400, %ebx                     ## imm = 0x1518
	jl	LBB0_5
## %bb.8:
	movq	_AR9300_PAPRD_SCALE_2@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_AR9300_PAPRD_SCALE_1,4,2       ## @AR9300_PAPRD_SCALE_1
	.comm	_AR9300_PAPRD_SCALE_2,4,2       ## @AR9300_PAPRD_SCALE_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_get_paprd_scale_factor  ; -- Begin function ar9003_get_paprd_scale_factor
	.p2align	2
_ar9003_get_paprd_scale_factor:         ; @ar9003_get_paprd_scale_factor
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_IS_CHAN_2GHZ
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	b	LBB0_4
LBB0_2:
	ldr	w20, [x20]
	mov	w8, #5700
	cmp	w20, w8
	b.lt	LBB0_5
; %bb.3:
	ldr	w0, [x19, #4]
LBB0_4:
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _AR9300_PAPRD_SCALE_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR9300_PAPRD_SCALE_1@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
	bl	_le32_to_cpu
Lloh2:
	adrp	x8, _AR9300_PAPRD_SCALE_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AR9300_PAPRD_SCALE_1@GOTPAGEOFF]
Lloh4:
	adrp	x9, _AR9300_PAPRD_SCALE_2@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AR9300_PAPRD_SCALE_2@GOTPAGEOFF]
	mov	w10, #5399
	cmp	w20, w10
	csel	x8, x9, x8, gt
LBB0_6:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MS
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AR9300_PAPRD_SCALE_1,4,2       ; @AR9300_PAPRD_SCALE_1
	.comm	_AR9300_PAPRD_SCALE_2,4,2       ; @AR9300_PAPRD_SCALE_2
.subsections_via_symbols
