	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ath9k_olc_get_pdadcs
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	3                               ## 0x3
LCPI0_1:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_2:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_3:
	.quad	-9223372034707292160            ## 0x8000000080000000
	.quad	-9223372034707292160            ## 0x8000000080000000
LCPI0_4:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
LCPI0_5:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_6:
	.quad	12                              ## 0xc
	.quad	12                              ## 0xc
LCPI0_7:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ath9k_olc_get_pdadcs:                  ## @ath9k_olc_get_pdadcs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_AR_PHY_TX_PWRCTRL6_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_TX_PWRCTRL_ERR_EST_MODE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	$3, %ecx
	callq	_REG_RMW_FIELD
	movq	_AR_PHY_TX_PWRCTRL6_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movl	$3, %ecx
	movq	%r12, %rdi
	callq	_REG_RMW_FIELD
	movq	_AR_PHY_TX_PWRCTRL7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_TX_PWRCTRL_INIT_TX_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rcx
	callq	_REG_RMW_FIELD
	movq	_AR5416_NUM_PDADC_VALUES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movslq	%r14d, %rcx
	xorl	%r9d, %r9d
	cmpq	$8, %rax
	jae	LBB0_4
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_4:
	movq	%rax, %rsi
	andq	$-8, %rsi
	movq	%rcx, %xmm0
	pshufd	$68, %xmm0, %xmm6               ## xmm6 = xmm0[0,1,0,1]
	leaq	-8(%rsi), %rdx
	movq	%rdx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdx, %rdx
	movdqa	%xmm6, -64(%rbp)                ## 16-byte Spill
	je	LBB0_5
## %bb.6:
	movq	%r8, %rdx
	andq	$-2, %rdx
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [2,3]
	movdqa	LCPI0_1(%rip), %xmm15           ## xmm15 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edi, %edi
	movdqa	LCPI0_3(%rip), %xmm14           ## xmm14 = [9223372039002259456,9223372039002259456]
	pxor	%xmm14, %xmm6
	movaps	LCPI0_4(%rip), %xmm13           ## xmm13 = [255,255,255,255]
	movdqa	LCPI0_5(%rip), %xmm10           ## xmm10 = [8,8]
	movdqa	LCPI0_6(%rip), %xmm11           ## xmm11 = [12,12]
	movdqa	LCPI0_7(%rip), %xmm12           ## xmm12 = [16,16]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm9, %xmm2
	movdqa	LCPI0_2(%rip), %xmm0            ## xmm0 = [4,4]
	paddq	%xmm0, %xmm2
	movdqa	%xmm15, %xmm1
	paddq	%xmm0, %xmm1
	movdqa	%xmm15, %xmm0
	pxor	%xmm14, %xmm0
	movdqa	%xmm6, %xmm5
	pcmpgtd	%xmm0, %xmm5
	movdqa	%xmm9, %xmm4
	pxor	%xmm14, %xmm4
	movdqa	%xmm6, %xmm7
	pcmpgtd	%xmm4, %xmm7
	movdqa	%xmm5, %xmm8
	shufps	$136, %xmm7, %xmm8              ## xmm8 = xmm8[0,2],xmm7[0,2]
	pcmpeqd	%xmm6, %xmm0
	pcmpeqd	%xmm6, %xmm4
	shufps	$221, %xmm4, %xmm0              ## xmm0 = xmm0[1,3],xmm4[1,3]
	andps	%xmm8, %xmm0
	shufps	$221, %xmm7, %xmm5              ## xmm5 = xmm5[1,3],xmm7[1,3]
	orps	%xmm0, %xmm5
	pxor	%xmm14, %xmm1
	movdqa	%xmm6, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pxor	%xmm14, %xmm2
	movdqa	%xmm6, %xmm4
	pcmpgtd	%xmm2, %xmm4
	movdqa	%xmm0, %xmm7
	shufps	$136, %xmm4, %xmm7              ## xmm7 = xmm7[0,2],xmm4[0,2]
	pcmpeqd	%xmm6, %xmm1
	pcmpeqd	%xmm6, %xmm2
	shufps	$221, %xmm2, %xmm1              ## xmm1 = xmm1[1,3],xmm2[1,3]
	andps	%xmm7, %xmm1
	shufps	$221, %xmm4, %xmm0              ## xmm0 = xmm0[1,3],xmm4[1,3]
	orps	%xmm1, %xmm0
	andnps	%xmm13, %xmm5
	andnps	%xmm13, %xmm0
	movups	%xmm5, (%rbx,%rdi,4)
	movups	%xmm0, 16(%rbx,%rdi,4)
	movdqa	%xmm9, %xmm0
	paddq	%xmm10, %xmm0
	movdqa	%xmm15, %xmm4
	paddq	%xmm10, %xmm4
	movdqa	%xmm9, %xmm2
	paddq	%xmm11, %xmm2
	movdqa	%xmm15, %xmm1
	paddq	%xmm11, %xmm1
	pxor	%xmm14, %xmm4
	movdqa	%xmm6, %xmm5
	pcmpgtd	%xmm4, %xmm5
	pxor	%xmm14, %xmm0
	movdqa	%xmm6, %xmm7
	pcmpgtd	%xmm0, %xmm7
	movdqa	%xmm5, %xmm3
	shufps	$136, %xmm7, %xmm3              ## xmm3 = xmm3[0,2],xmm7[0,2]
	pcmpeqd	%xmm6, %xmm4
	pcmpeqd	%xmm6, %xmm0
	shufps	$221, %xmm0, %xmm4              ## xmm4 = xmm4[1,3],xmm0[1,3]
	andps	%xmm3, %xmm4
	shufps	$221, %xmm7, %xmm5              ## xmm5 = xmm5[1,3],xmm7[1,3]
	orps	%xmm4, %xmm5
	pxor	%xmm14, %xmm1
	movdqa	%xmm6, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pxor	%xmm14, %xmm2
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm2, %xmm3
	movdqa	%xmm0, %xmm4
	shufps	$136, %xmm3, %xmm4              ## xmm4 = xmm4[0,2],xmm3[0,2]
	pcmpeqd	%xmm6, %xmm1
	pcmpeqd	%xmm6, %xmm2
	shufps	$221, %xmm2, %xmm1              ## xmm1 = xmm1[1,3],xmm2[1,3]
	andps	%xmm4, %xmm1
	shufps	$221, %xmm3, %xmm0              ## xmm0 = xmm0[1,3],xmm3[1,3]
	orps	%xmm1, %xmm0
	andnps	%xmm13, %xmm5
	andnps	%xmm13, %xmm0
	movups	%xmm5, 32(%rbx,%rdi,4)
	movups	%xmm0, 48(%rbx,%rdi,4)
	addq	$16, %rdi
	paddq	%xmm12, %xmm15
	paddq	%xmm12, %xmm9
	addq	$-2, %rdx
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
LBB0_5:
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [2,3]
	movdqa	LCPI0_1(%rip), %xmm15           ## xmm15 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edi, %edi
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [4,4]
	movdqa	%xmm9, %xmm2
	paddq	%xmm1, %xmm2
	paddq	%xmm15, %xmm1
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [9223372039002259456,9223372039002259456]
	pxor	%xmm3, %xmm15
	movdqa	-64(%rbp), %xmm6                ## 16-byte Reload
	pxor	%xmm3, %xmm6
	movdqa	%xmm6, %xmm0
	pcmpgtd	%xmm15, %xmm0
	pxor	%xmm3, %xmm9
	movdqa	%xmm6, %xmm4
	pcmpgtd	%xmm9, %xmm4
	movdqa	%xmm0, %xmm5
	shufps	$136, %xmm4, %xmm5              ## xmm5 = xmm5[0,2],xmm4[0,2]
	pcmpeqd	%xmm6, %xmm15
	pcmpeqd	%xmm6, %xmm9
	shufps	$221, %xmm9, %xmm15             ## xmm15 = xmm15[1,3],xmm9[1,3]
	andps	%xmm5, %xmm15
	shufps	$221, %xmm4, %xmm0              ## xmm0 = xmm0[1,3],xmm4[1,3]
	orps	%xmm15, %xmm0
	pxor	%xmm3, %xmm1
	movdqa	%xmm6, %xmm4
	pcmpgtd	%xmm1, %xmm4
	pxor	%xmm3, %xmm2
	movdqa	%xmm6, %xmm3
	pcmpgtd	%xmm2, %xmm3
	movdqa	%xmm4, %xmm5
	shufps	$136, %xmm3, %xmm5              ## xmm5 = xmm5[0,2],xmm3[0,2]
	pcmpeqd	%xmm6, %xmm1
	pcmpeqd	%xmm6, %xmm2
	shufps	$221, %xmm2, %xmm1              ## xmm1 = xmm1[1,3],xmm2[1,3]
	andps	%xmm5, %xmm1
	shufps	$221, %xmm3, %xmm4              ## xmm4 = xmm4[1,3],xmm3[1,3]
	orps	%xmm1, %xmm4
	movaps	LCPI0_4(%rip), %xmm1            ## xmm1 = [255,255,255,255]
	andnps	%xmm1, %xmm0
	andnps	%xmm1, %xmm4
	movups	%xmm0, (%rbx,%rdi,4)
	movups	%xmm4, 16(%rbx,%rdi,4)
	jmp	LBB0_10
LBB0_3:
	cmpq	%rcx, %rsi
	movl	$255, %edx
	cmovbl	%r9d, %edx
	movl	%edx, (%rbx,%rsi,4)
	incq	%rsi
LBB0_10:
	cmpq	%rsi, %rax
	jne	LBB0_3
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_PHY_TX_PWRCTRL6_0,4,2       ## @AR_PHY_TX_PWRCTRL6_0
	.comm	_AR_PHY_TX_PWRCTRL_ERR_EST_MODE,4,2 ## @AR_PHY_TX_PWRCTRL_ERR_EST_MODE
	.comm	_AR_PHY_TX_PWRCTRL6_1,4,2       ## @AR_PHY_TX_PWRCTRL6_1
	.comm	_AR_PHY_TX_PWRCTRL7,4,2         ## @AR_PHY_TX_PWRCTRL7
	.comm	_AR_PHY_TX_PWRCTRL_INIT_TX_GAIN,4,2 ## @AR_PHY_TX_PWRCTRL_INIT_TX_GAIN
	.comm	_AR5416_NUM_PDADC_VALUES,8,3    ## @AR5416_NUM_PDADC_VALUES
	.no_dead_strip	_ath9k_olc_get_pdadcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ath9k_olc_get_pdadcs
lCPI0_0:
	.quad	2                               ; 0x2
	.quad	3                               ; 0x3
lCPI0_1:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ath9k_olc_get_pdadcs:                  ; @ath9k_olc_get_pdadcs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _AR_PHY_TX_PWRCTRL6_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_PHY_TX_PWRCTRL6_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x23, _AR_PHY_TX_PWRCTRL_ERR_EST_MODE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _AR_PHY_TX_PWRCTRL_ERR_EST_MODE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w3, #3
	bl	_REG_RMW_FIELD
Lloh5:
	adrp	x8, _AR_PHY_TX_PWRCTRL6_1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_PHY_TX_PWRCTRL6_1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x22
	mov	w3, #3
	bl	_REG_RMW_FIELD
Lloh8:
	adrp	x8, _AR_PHY_TX_PWRCTRL7@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_PHY_TX_PWRCTRL7@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _AR_PHY_TX_PWRCTRL_INIT_TX_GAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR_PHY_TX_PWRCTRL_INIT_TX_GAIN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x3, x21
	bl	_REG_RMW_FIELD
Lloh14:
	adrp	x8, _AR5416_NUM_PDADC_VALUES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR5416_NUM_PDADC_VALUES@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.1:
	sxtw	x9, w20
	cmp	x8, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffffffffffff0
	dup.2d	v0, x9
Lloh17:
	adrp	x11, lCPI0_0@PAGE
Lloh18:
	ldr	q1, [x11, lCPI0_0@PAGEOFF]
	add	x11, x19, #32
	mov	w12, #4
	dup.2d	v2, x12
	mov	w12, #8
	dup.2d	v3, x12
	mov	w12, #12
	dup.2d	v4, x12
Lloh19:
	adrp	x12, lCPI0_1@PAGE
Lloh20:
	ldr	q5, [x12, lCPI0_1@PAGEOFF]
	movi.2d	v6, #0x0000ff000000ff
	mov	w12, #16
	dup.2d	v7, x12
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v16, v5, v2
	add.2d	v17, v1, v2
	add.2d	v18, v5, v3
	add.2d	v19, v1, v3
	add.2d	v20, v5, v4
	add.2d	v21, v1, v4
	cmhi.2d	v22, v0, v5
	cmhi.2d	v23, v0, v1
	uzp1.4s	v22, v22, v23
	cmhi.2d	v17, v0, v17
	cmhi.2d	v16, v0, v16
	uzp1.4s	v16, v16, v17
	cmhi.2d	v17, v0, v19
	cmhi.2d	v18, v0, v18
	uzp1.4s	v17, v18, v17
	cmhi.2d	v18, v0, v21
	cmhi.2d	v19, v0, v20
	uzp1.4s	v18, v19, v18
	bic.16b	v19, v6, v22
	bic.16b	v16, v6, v16
	bic.16b	v17, v6, v17
	bic.16b	v18, v6, v18
	stp	q19, q16, [x11, #-32]
	stp	q17, q18, [x11], #64
	add.2d	v1, v1, v7
	add.2d	v5, v5, v7
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x10
	b.eq	LBB0_8
LBB0_6:
	mov	w11, #255
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x9
	csel	w12, wzr, w11, lo
	str	w12, [x19, x10, lsl #2]
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdr	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_PHY_TX_PWRCTRL6_0,4,2       ; @AR_PHY_TX_PWRCTRL6_0
	.comm	_AR_PHY_TX_PWRCTRL_ERR_EST_MODE,4,2 ; @AR_PHY_TX_PWRCTRL_ERR_EST_MODE
	.comm	_AR_PHY_TX_PWRCTRL6_1,4,2       ; @AR_PHY_TX_PWRCTRL6_1
	.comm	_AR_PHY_TX_PWRCTRL7,4,2         ; @AR_PHY_TX_PWRCTRL7
	.comm	_AR_PHY_TX_PWRCTRL_INIT_TX_GAIN,4,2 ; @AR_PHY_TX_PWRCTRL_INIT_TX_GAIN
	.comm	_AR5416_NUM_PDADC_VALUES,8,3    ; @AR5416_NUM_PDADC_VALUES
	.no_dead_strip	_ath9k_olc_get_pdadcs
.subsections_via_symbols
