	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_fill_vpd_table        ## -- Begin function ath9k_hw_fill_vpd_table
	.p2align	4, 0x90
_ath9k_hw_fill_vpd_table:               ## @ath9k_hw_fill_vpd_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	subl	%edi, %esi
	cmpl	$-1, %esi
	jge	LBB0_1
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r9, %rbx
	movq	%rdx, %r13
	movl	%edi, %r12d
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	addl	$-2, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	incl	%ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	negl	%r15d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r8
	movl	%r12d, %ebx
	subl	%edi, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	imull	(%rdi,%rdx,4), %ebx
	addl	%r15d, %eax
	imull	(%rdi,%rcx,4), %eax
	addl	%ebx, %eax
	movq	%r8, %rbx
	cltd
	idivl	%esi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%rbx,%r14,4)
	addl	$2, %r12d
	incq	%r14
	addl	$-2, %r15d
	cmpq	%r14, -80(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_ath9k_hw_get_lower_upper_index
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jg	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)
	movl	$1, %eax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %ecx
	cmpl	-56(%rbp), %ecx                 ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -48(%rbp)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rcx
	movl	(%r13,%rcx,4), %edi
	movl	%eax, %edx
	movl	(%r13,%rdx,4), %eax
	movl	%eax, %esi
	subl	%edi, %esi
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_fill_vpd_table        ; -- Begin function ath9k_hw_fill_vpd_table
	.p2align	2
_ath9k_hw_fill_vpd_table:               ; @ath9k_hw_fill_vpd_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	xzr, [sp, #8]
	sub	w8, w1, w0
	cmn	w8, #1
	b.ge	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x0
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w24, w4, #1
	sub	w25, w4, #2
	add	w26, w8, #1
	neg	w27, w0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, w8
	sub	w12, w23, w12
	ldr	w8, [x21, x8, lsl #2]
	mul	w8, w8, w12
	add	w11, w27, w11
	ldr	w9, [x21, x9, lsl #2]
	madd	w8, w9, w11, w8
	sdiv	w8, w8, w10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w8, [x19], #4
	add	w23, w23, #2
	sub	w27, w27, #2
	sub	x26, x26, #1
	cbz	x26, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_ath9k_hw_get_lower_upper_index
	ldr	w8, [sp, #8]
	cmp	w8, #0
	b.gt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
	str	w8, [sp, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [sp, #12]
	cmp	w10, w24
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w25, [sp, #12]
	mov	x10, x25
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x9, w10
	ldr	w12, [x22, w10, sxtw #2]
	ldr	w11, [x22, w8, uxtw #2]
	subs	w10, w11, w12
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, x9, lsl #2]
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
