	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab8500_fg_fill_cap_sample
_ab8500_fg_fill_cap_sample:             ## @ab8500_fg_fill_cap_sample
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_ktime_get_boottime_seconds
	movq	_NBR_AVG_SAMPLES@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	(%r14), %rsi
	movq	32(%r14), %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, (%rsi,%rcx,4)
	movl	%eax, (%rdi,%rcx,4)
	incq	%rcx
	movslq	(%r8), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_2
LBB0_3:
	movq	$0, 24(%r14)
	movl	%edx, 8(%r14)
	imull	%ebx, %edx
	movl	%edx, 12(%r14)
	movl	%ebx, 16(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NBR_AVG_SAMPLES,4,2            ## @NBR_AVG_SAMPLES
	.no_dead_strip	_ab8500_fg_fill_cap_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ab8500_fg_fill_cap_sample
_ab8500_fg_fill_cap_sample:             ; @ab8500_fg_fill_cap_sample
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_ktime_get_boottime_seconds
Lloh0:
	adrp	x8, _NBR_AVG_SAMPLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NBR_AVG_SAMPLES@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x10, #0
	ldr	x11, [x20]
	ldr	x12, [x20, #32]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x9, x10, #2
	str	w19, [x11, x9]
	str	w0, [x12, x9]
	add	x10, x10, #1
	ldrsw	x9, [x8]
	cmp	x10, x9
	b.lt	LBB0_2
LBB0_3:
	str	xzr, [x20, #24]
	mul	w8, w9, w19
	stp	w9, w8, [x20, #8]
	str	w19, [x20, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NBR_AVG_SAMPLES,4,2            ; @NBR_AVG_SAMPLES
	.no_dead_strip	_ab8500_fg_fill_cap_sample
.subsections_via_symbols
