	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar5212GetLowerUpperValues
_ar5212GetLowerUpperValues:             ## @ar5212GetLowerUpperValues
	.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	%rsi, %rbx
	movl	%edi, %r12d
	movq	_EEP_SCALE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	imull	%eax, %r12d
	movl	(%rsi), %r9d
	movl	%r9d, %edi
	imull	%eax, %edi
	movq	_EEP_DELTA@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	subl	%esi, %edi
	cmpl	%edi, %r12d
	jge	LBB0_2
## %bb.1:
	movl	%r9d, (%r8)
	movl	%r9d, (%rcx)
	jmp	LBB0_10
LBB0_2:
	movslq	%edx, %rdx
	leaq	(%rbx,%rdx,4), %r15
	movl	-4(%r15), %edx
	movl	%edx, %edi
	imull	%eax, %edi
	addl	%esi, %edi
	cmpl	%edi, %r12d
	jle	LBB0_3
## %bb.11:
	movl	%edx, (%r8)
	movl	%edx, (%rcx)
	jmp	LBB0_10
LBB0_3:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, %rbx
	jae	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	imull	%r9d, %eax
	movslq	%eax, %rdi
	subq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	callq	_abs
	movl	(%r13), %edx
	cmpl	%edx, %eax
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rbx), %r9d
	addq	$4, %rbx
	movl	(%r14), %eax
	movl	%eax, %esi
	imull	%r9d, %esi
	subl	%edx, %esi
	cmpl	%esi, %r12d
	jge	LBB0_4
## %bb.8:
	movl	-4(%rbx), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	(%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_6:
	movl	(%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_9:
	movl	%eax, (%rcx)
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEP_SCALE,4,2                  ## @EEP_SCALE
	.comm	_EEP_DELTA,4,2                  ## @EEP_DELTA
	.no_dead_strip	_ar5212GetLowerUpperValues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar5212GetLowerUpperValues
_ar5212GetLowerUpperValues:             ; @ar5212GetLowerUpperValues
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x19, x3
	ldr	w8, [x1]
Lloh0:
	adrp	x22, _EEP_SCALE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EEP_SCALE@GOTPAGEOFF]
	ldr	w9, [x22]
	mul	w11, w9, w0
Lloh2:
	adrp	x23, _EEP_DELTA@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EEP_DELTA@GOTPAGEOFF]
	ldr	w10, [x23]
	neg	w12, w10
	madd	w12, w8, w9, w12
	cmp	w11, w12
	b.ge	LBB0_2
LBB0_1:
	str	w8, [x20]
	str	w8, [x19]
	b	LBB0_8
LBB0_2:
	mov	x21, x1
	sxtw	x24, w11
	add	x25, x1, w2, sxtw #2
	ldur	w11, [x25, #-4]
	madd	w10, w11, w9, w10
	cmp	w24, w10
	b.le	LBB0_4
; %bb.3:
	str	w11, [x20]
	str	w11, [x19]
	b	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x25
	b.hs	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mul	w8, w9, w8
	sxtw	x8, w8
	sub	x0, x8, x24
	bl	_abs
	ldr	w10, [x23]
	cmp	w0, w10
	b.lt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #4]!
	ldr	w9, [x22]
	neg	w10, w10
	madd	w10, w9, w8, w10
	cmp	w24, w10
	b.ge	LBB0_4
; %bb.7:
	ldur	w8, [x21, #-4]
	str	w8, [x19]
	ldr	w8, [x21]
	str	w8, [x20]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w8, [x21]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EEP_SCALE,4,2                  ; @EEP_SCALE
	.comm	_EEP_DELTA,4,2                  ; @EEP_DELTA
	.no_dead_strip	_ar5212GetLowerUpperValues
.subsections_via_symbols
