	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_fill_pwr_to_pcdac_table
_ath5k_fill_pwr_to_pcdac_table:         ## @ath5k_fill_pwr_to_pcdac_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rdi
	movq	(%rsi), %rcx
	movq	(%rdx), %r9
	movq	%r9, %rdx
	subq	%rcx, %rdx
	movq	(%rdi,%rdx,8), %r8
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.1:
	movq	(%rdi), %r11
	cmpq	$4, %rcx
	jae	LBB0_4
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_4:
	movq	%rcx, %rsi
	andq	$-4, %rsi
	movq	%r11, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rsi), %rbx
	movq	%rbx, %rdx
	shrq	$2, %rdx
	incq	%rdx
	movl	%edx, %r10d
	andl	$7, %r10d
	cmpq	$28, %rbx
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	andq	$-8, %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rax,%rbx,8)
	movdqu	%xmm0, 16(%rax,%rbx,8)
	movdqu	%xmm0, 32(%rax,%rbx,8)
	movdqu	%xmm0, 48(%rax,%rbx,8)
	movdqu	%xmm0, 64(%rax,%rbx,8)
	movdqu	%xmm0, 80(%rax,%rbx,8)
	movdqu	%xmm0, 96(%rax,%rbx,8)
	movdqu	%xmm0, 112(%rax,%rbx,8)
	movdqu	%xmm0, 128(%rax,%rbx,8)
	movdqu	%xmm0, 144(%rax,%rbx,8)
	movdqu	%xmm0, 160(%rax,%rbx,8)
	movdqu	%xmm0, 176(%rax,%rbx,8)
	movdqu	%xmm0, 192(%rax,%rbx,8)
	movdqu	%xmm0, 208(%rax,%rbx,8)
	movdqu	%xmm0, 224(%rax,%rbx,8)
	movdqu	%xmm0, 240(%rax,%rbx,8)
	addq	$32, %rbx
	addq	$-8, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%r10, %r10
	je	LBB0_11
## %bb.9:
	leaq	(%rax,%rbx,8), %rdx
	addq	$16, %rdx
	shlq	$5, %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rdx,%rbx)
	movdqu	%xmm0, (%rdx,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_10
	jmp	LBB0_11
LBB0_3:
	movq	%r11, (%rax,%rsi,8)
	incq	%rsi
LBB0_11:
	cmpq	%rsi, %rcx
	jne	LBB0_3
LBB0_12:
	movq	_AR5K_EEPROM_POWER_TABLE_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	cmpq	%rcx, %r9
	jb	LBB0_14
	.p2align	4, 0x90
## %bb.13:
	cmpq	%rsi, %rcx
	jae	LBB0_14
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rsi
	movq	%rsi, (%rax,%rcx,8)
	incq	%rcx
	movq	(%rdx), %rsi
	cmpq	%r9, %rcx
	ja	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	addq	$8, %rdi
	cmpq	%rsi, %rcx
	jb	LBB0_17
LBB0_14:
	cmpq	%rsi, %rcx
	jae	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r8, (%rax,%rcx,8)
	incq	%rcx
	cmpq	(%rdx), %rcx
	jb	LBB0_15
LBB0_16:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR5K_EEPROM_POWER_TABLE_SIZE,8,3 ## @AR5K_EEPROM_POWER_TABLE_SIZE
	.no_dead_strip	_ath5k_fill_pwr_to_pcdac_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_fill_pwr_to_pcdac_table
_ath5k_fill_pwr_to_pcdac_table:         ; @ath5k_fill_pwr_to_pcdac_table
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	ldr	x11, [x9]
	ldr	x10, [x1]
	ldr	x12, [x2]
	sub	x9, x12, x10
	ldr	x9, [x11, x9, lsl #3]
	cbz	x10, LBB0_8
; %bb.1:
	ldr	x13, [x11]
	cmp	x10, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x14, #0
	b	LBB0_6
LBB0_3:
	and	x14, x10, #0xfffffffffffffff8
	dup.2d	v0, x13
	add	x15, x8, #32
	mov	x16, x14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x15, #-32]
	stp	q0, q0, [x15], #64
	subs	x16, x16, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x14
	b.eq	LBB0_8
LBB0_6:
	sub	x15, x10, x14
	add	x14, x8, x14, lsl #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x13, [x14], #8
	subs	x15, x15, #1
	b.ne	LBB0_7
LBB0_8:
Lloh0:
	adrp	x13, _AR5K_EEPROM_POWER_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x13, [x13, _AR5K_EEPROM_POWER_TABLE_SIZE@GOTPAGEOFF]
	ldr	x14, [x13]
	cmp	x12, x10
	ccmp	x10, x14, #2, hs
	b.hs	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11], #8
	str	x14, [x8, x10, lsl #3]
	add	x10, x10, #1
	ldr	x14, [x13]
	cmp	x10, x12
	b.hi	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x10, x14
	b.lo	LBB0_9
LBB0_11:
	cmp	x10, x14
	b.hs	LBB0_13
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	x9, [x8, x10, lsl #3]
	add	x11, x10, #1
	ldr	x12, [x13]
	mov	x10, x11
	cmp	x11, x12
	b.lo	LBB0_12
LBB0_13:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AR5K_EEPROM_POWER_TABLE_SIZE,8,3 ; @AR5K_EEPROM_POWER_TABLE_SIZE
	.no_dead_strip	_ath5k_fill_pwr_to_pcdac_table
.subsections_via_symbols
