	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77693_led_iout_to_reg
_max77693_led_iout_to_reg:              ## @max77693_led_iout_to_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_FLASH_IOUT_MIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rdi, %rcx
	cmovgq	%rcx, %rax
	subq	%rcx, %rax
	movq	_FLASH_IOUT_STEP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	cqto
	idivq	%rcx
	popq	%rbp
	retq
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLASH_IOUT_MIN,8,3             ## @FLASH_IOUT_MIN
	.comm	_FLASH_IOUT_STEP,8,3            ## @FLASH_IOUT_STEP
	.no_dead_strip	_max77693_led_iout_to_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77693_led_iout_to_reg
_max77693_led_iout_to_reg:              ; @max77693_led_iout_to_reg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FLASH_IOUT_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLASH_IOUT_MIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	csel	x9, x8, x0, gt
	sub	x8, x9, x8
Lloh3:
	adrp	x9, _FLASH_IOUT_STEP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLASH_IOUT_STEP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sdiv	x0, x8, x9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLASH_IOUT_MIN,8,3             ; @FLASH_IOUT_MIN
	.comm	_FLASH_IOUT_STEP,8,3            ; @FLASH_IOUT_STEP
	.no_dead_strip	_max77693_led_iout_to_reg
.subsections_via_symbols
