	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aat1290_led_validate_mm_current
_aat1290_led_validate_mm_current:       ## @aat1290_led_validate_mm_current
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AAT1290_MM_CURRENT_SCALE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	$1, %edx
	jle	LBB0_1
## %bb.2:
	movq	(%rsi), %r9
	movq	(%rdi), %r8
	xorl	%ecx, %ecx
	movl	%edx, %edi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %ecx
	movl	%edi, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	subl	%ecx, %edx
	cmpl	$1, %edx
	jle	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	shrl	%edx
	addl	%ecx, %edx
	movslq	%edx, %rax
	cmpq	(%r8,%rax,8), %r9
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %edi
	jmp	LBB0_6
LBB0_1:
	movq	(%rdi), %r8
	xorl	%ecx, %ecx
LBB0_7:
	movslq	%ecx, %rax
	movq	(%r8,%rax,8), %rcx
	movq	%rcx, (%rsi)
	incl	%eax
	movl	%eax, 8(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AAT1290_MM_CURRENT_SCALE_SIZE,4,2 ## @AAT1290_MM_CURRENT_SCALE_SIZE
	.no_dead_strip	_aat1290_led_validate_mm_current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aat1290_led_validate_mm_current
_aat1290_led_validate_mm_current:       ; @aat1290_led_validate_mm_current
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AAT1290_MM_CURRENT_SCALE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AAT1290_MM_CURRENT_SCALE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x8]
	cmp	w11, #1
	b.le	LBB0_3
; %bb.1:
	mov	w8, #0
	ldr	x10, [x1]
	ldr	x9, [x0]
	mov	x12, x11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w8, w11, lsr #1
	ldr	x13, [x9, w11, sxtw #3]
	cmp	x10, x13
	csel	w8, w8, w11, lt
	csel	w12, w11, w12, lt
	sub	w11, w12, w8
	cmp	w11, #1
	b.gt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #0
	ldr	x9, [x0]
LBB0_4:
	ldr	x9, [x9, w8, sxtw #3]
	str	x9, [x1]
	add	w8, w8, #1
	str	w8, [x1, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AAT1290_MM_CURRENT_SCALE_SIZE,4,2 ; @AAT1290_MM_CURRENT_SCALE_SIZE
	.no_dead_strip	_aat1290_led_validate_mm_current
.subsections_via_symbols
