	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_backlight_keyframe_one_period_sweep ## -- Begin function led_backlight_keyframe_one_period_sweep
	.p2align	4, 0x90
_led_backlight_keyframe_one_period_sweep: ## @led_backlight_keyframe_one_period_sweep
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NUM_COLS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movss	(%rax,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	subss	16(%rdi), %xmm1
	divss	%xmm0, %xmm1
	addss	%xmm1, %xmm1
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	_NUM_ROWS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%ebx, %edi
	callq	_off_on_off_gradient
	movq	_LED_DISPLAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	(%r12), %r15
	decq	%r15
	movl	%eax, %edi
	callq	_LUMA2COLOR
	movl	%r14d, %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movq	%r15, %r8
	movl	%eax, %r9d
	callq	_gdispGDrawLine
	incl	%ebx
	movl	(%r13), %esi
	cmpl	%esi, %ebx
	jl	LBB0_2
LBB0_3:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_COLS,4,2                   ## @NUM_COLS
	.comm	_LED_DISPLAY,4,2                ## @LED_DISPLAY
	.comm	_NUM_ROWS,8,3                   ## @NUM_ROWS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_backlight_keyframe_one_period_sweep ; -- Begin function led_backlight_keyframe_one_period_sweep
	.p2align	2
_led_backlight_keyframe_one_period_sweep: ; @led_backlight_keyframe_one_period_sweep
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
Lloh0:
	adrp	x22, _NUM_COLS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NUM_COLS@GOTPAGEOFF]
	ldr	w1, [x22]
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w19, #0
	ldp	x8, x9, [x0]
	ldr	s0, [x8, x9, lsl #2]
	ldr	s1, [x0, #16]
	fsub	s1, s0, s1
	fdiv	s0, s1, s0
	fadd	s8, s0, s0
Lloh2:
	adrp	x23, _LED_DISPLAY@GOTPAGE
Lloh3:
	ldr	x23, [x23, _LED_DISPLAY@GOTPAGEOFF]
Lloh4:
	adrp	x24, _NUM_ROWS@GOTPAGE
Lloh5:
	ldr	x24, [x24, _NUM_ROWS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	fmov	s0, s8
	mov	x0, x19
	bl	_off_on_off_gradient
	ldr	w20, [x23]
	ldr	x8, [x24]
	sub	x21, x8, #1
	bl	_LUMA2COLOR
	mov	x5, x0
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x3, x19
	mov	x4, x21
	bl	_gdispGDrawLine
	add	w19, w19, #1
	ldr	w1, [x22]
	cmp	w19, w1
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #1
	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	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_COLS,4,2                   ; @NUM_COLS
	.comm	_LED_DISPLAY,4,2                ; @LED_DISPLAY
	.comm	_NUM_ROWS,8,3                   ; @NUM_ROWS
.subsections_via_symbols
