	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_power_interpolate
_ar9003_hw_power_interpolate:           ## @ar9003_hw_power_interpolate
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.1:
	movl	%ecx, %r10d
	xorl	%r11d, %r11d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	xorl	%r8d, %r8d
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rdx,%r11,4), %ecx
	movl	%r12d, %r9d
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r11
	cmpq	%r11, %r10
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%r11,4), %r12d
	movl	%edi, %ebx
	subl	%r12d, %ebx
	jg	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r12d, %r8d
	jle	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rdx,%r11,4), %eax
	movl	%r12d, %r8d
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r14d
	testl	%ebx, %ebx
	js	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%r15d, %r15d
	movl	$1, %r15d
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r12d, %r9d
	jge	LBB0_3
	jmp	LBB0_2
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.12:
	testl	%r14d, %r14d
	je	LBB0_19
## %bb.13:
	cmpl	%r9d, %r8d
	je	LBB0_19
## %bb.14:
	movl	%r9d, %esi
	movl	%r8d, %edx
	movl	%eax, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_interpolate                    ## TAILCALL
LBB0_15:
	testl	%r14d, %r14d
	jne	LBB0_17
LBB0_16:
	movl	$-1073741824, %eax              ## imm = 0xC0000000
	jmp	LBB0_17
LBB0_19:
	movl	%ecx, %eax
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ar9003_hw_power_interpolate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_power_interpolate
_ar9003_hw_power_interpolate:           ; @ar9003_hw_power_interpolate
	.cfi_startproc
; %bb.0:
	cmp	w3, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x10, x3
	mov	x8, x2
	mov	w12, #0
	mov	w4, #0
	mov	w2, #0
	mov	w11, #0
	mov	w3, #0
	mov	w9, #0
	mov	w10, w10
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x8]
	mov	w11, #1
	mov	x9, x13
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #4
	add	x1, x1, #4
	subs	x10, x10, #1
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x1]
	sub	w14, w0, w13
	cmp	w14, #0
	b.gt	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w12, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w2, w13
	b.le	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x8]
	mov	x2, x13
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #1
	tbnz	w14, #31, LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w11, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, w13
	b.lt	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #1
	b	LBB0_3
LBB0_12:
	cbz	w11, LBB0_16
; %bb.13:
	cbz	w12, LBB0_19
; %bb.14:
	cmp	w2, w9
	b.eq	LBB0_19
; %bb.15:
	mov	x1, x9
	b	_interpolate
LBB0_16:
	cbz	w12, LBB0_18
; %bb.17:
	mov	x0, x4
	ret
LBB0_18:
	mov	w4, #-1073741824
	mov	x0, x4
	ret
LBB0_19:
	mov	x0, x3
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ar9003_hw_power_interpolate
.subsections_via_symbols
