	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as3645a_current_to_reg
_as3645a_current_to_reg:                ## @as3645a_current_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
	movl	%edx, %ecx
	xorl	%edx, %edx
	testl	%esi, %esi
	movq	_AS_TORCH_INTENSITY_MIN@GOTPCREL(%rip), %rax
	cmoveq	_AS_FLASH_INTENSITY_MIN@GOTPCREL(%rip), %rax
	setne	%dl
	movl	(%rax), %eax
	movl	(%rdi,%rdx,4), %esi
	movq	_AS_TORCH_INTENSITY_STEP@GOTPCREL(%rip), %rdx
	cmoveq	_AS_FLASH_INTENSITY_STEP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %edi
	popq	%rbp
	jmp	___as3645a_current_to_reg       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AS_TORCH_INTENSITY_MIN,4,2     ## @AS_TORCH_INTENSITY_MIN
	.comm	_AS_TORCH_INTENSITY_STEP,4,2    ## @AS_TORCH_INTENSITY_STEP
	.comm	_AS_FLASH_INTENSITY_MIN,4,2     ## @AS_FLASH_INTENSITY_MIN
	.comm	_AS_FLASH_INTENSITY_STEP,4,2    ## @AS_FLASH_INTENSITY_STEP
	.no_dead_strip	_as3645a_current_to_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as3645a_current_to_reg
_as3645a_current_to_reg:                ; @as3645a_current_to_reg
	.cfi_startproc
; %bb.0:
	mov	x3, x2
	cmp	w1, #0
	cset	w9, ne
Lloh0:
	adrp	x8, _AS_FLASH_INTENSITY_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AS_FLASH_INTENSITY_MIN@GOTPAGEOFF]
Lloh2:
	adrp	x10, _AS_TORCH_INTENSITY_MIN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AS_TORCH_INTENSITY_MIN@GOTPAGEOFF]
	csel	x8, x8, x10, eq
	ldr	w8, [x8]
	ldr	w1, [x0, w9, uxtw #2]
Lloh4:
	adrp	x9, _AS_FLASH_INTENSITY_STEP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AS_FLASH_INTENSITY_STEP@GOTPAGEOFF]
Lloh6:
	adrp	x10, _AS_TORCH_INTENSITY_STEP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AS_TORCH_INTENSITY_STEP@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w2, [x9]
	mov	x0, x8
	b	___as3645a_current_to_reg
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AS_TORCH_INTENSITY_MIN,4,2     ; @AS_TORCH_INTENSITY_MIN
	.comm	_AS_TORCH_INTENSITY_STEP,4,2    ; @AS_TORCH_INTENSITY_STEP
	.comm	_AS_FLASH_INTENSITY_MIN,4,2     ; @AS_FLASH_INTENSITY_MIN
	.comm	_AS_FLASH_INTENSITY_STEP,4,2    ; @AS_FLASH_INTENSITY_STEP
	.no_dead_strip	_as3645a_current_to_reg
.subsections_via_symbols
