	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77693_init_flash_settings
_max77693_init_flash_settings:          ## @max77693_init_flash_settings
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_sub_led_to_led
	movslq	(%rbx), %rcx
	movq	_FLASH_IOUT_MIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 52(%rbx)
	cmpq	$0, (%rax)
	movq	8(%r14), %rdx
	je	LBB0_2
## %bb.1:
	movq	_FLED1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_FLED2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdx,%rax,8), %rax
	addq	(%rdx,%rsi,8), %rax
	jmp	LBB0_3
LBB0_2:
	movq	(%rdx,%rcx,8), %rax
LBB0_3:
	movq	%rax, 32(%rbx)
	movq	_FLASH_IOUT_STEP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 48(%rbx)
	movq	%rax, 40(%rbx)
	movq	_FLASH_TIMEOUT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	(%r14), %rax
	movq	(%rax,%rcx,8), %rax
	movq	%rax, 8(%rbx)
	movq	_FLASH_TIMEOUT_STEP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	%rax, 16(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLASH_IOUT_MIN,4,2             ## @FLASH_IOUT_MIN
	.comm	_FLED1,8,3                      ## @FLED1
	.comm	_FLED2,8,3                      ## @FLED2
	.comm	_FLASH_IOUT_STEP,4,2            ## @FLASH_IOUT_STEP
	.comm	_FLASH_TIMEOUT_MIN,4,2          ## @FLASH_TIMEOUT_MIN
	.comm	_FLASH_TIMEOUT_STEP,4,2         ## @FLASH_TIMEOUT_STEP
	.no_dead_strip	_max77693_init_flash_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77693_init_flash_settings
_max77693_init_flash_settings:          ; @max77693_init_flash_settings
	.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	x20, x1
	mov	x19, x0
	bl	_sub_led_to_led
	ldrsw	x8, [x19]
Lloh0:
	adrp	x9, _FLASH_IOUT_MIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLASH_IOUT_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x19, #52]
	ldr	x10, [x0]
	ldr	x9, [x20, #8]
	cbz	x10, LBB0_2
; %bb.1:
Lloh3:
	adrp	x10, _FLED1@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FLED1@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x10, [x9, x10, lsl #3]
Lloh6:
	adrp	x11, _FLED2@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FLED2@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	ldr	x9, [x9, x11, lsl #3]
	add	x9, x9, x10
	b	LBB0_3
LBB0_2:
	ldr	x9, [x9, x8, lsl #3]
LBB0_3:
Lloh9:
	adrp	x10, _FLASH_IOUT_STEP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FLASH_IOUT_STEP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	str	w10, [x19, #48]
Lloh12:
	adrp	x10, _FLASH_TIMEOUT_MIN@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FLASH_TIMEOUT_MIN@GOTPAGEOFF]
	stp	x9, x9, [x19, #32]
	ldr	x9, [x20]
	ldr	x8, [x9, x8, lsl #3]
Lloh14:
	adrp	x9, _FLASH_TIMEOUT_STEP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FLASH_TIMEOUT_STEP@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w10, [x19, #24]
	stp	x8, x8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FLASH_IOUT_MIN,4,2             ; @FLASH_IOUT_MIN
	.comm	_FLED1,8,3                      ; @FLED1
	.comm	_FLED2,8,3                      ; @FLED2
	.comm	_FLASH_IOUT_STEP,4,2            ; @FLASH_IOUT_STEP
	.comm	_FLASH_TIMEOUT_MIN,4,2          ; @FLASH_TIMEOUT_MIN
	.comm	_FLASH_TIMEOUT_STEP,4,2         ; @FLASH_TIMEOUT_STEP
	.no_dead_strip	_max77693_init_flash_settings
.subsections_via_symbols
