	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bh1770_lux_raw_to_adjusted
_bh1770_lux_raw_to_adjusted:            ## @bh1770_lux_raw_to_adjusted
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	imull	(%rdi), %eax
	movq	_BH1770_LUX_CORR_SCALE@GOTPCREL(%rip), %rcx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	(%rcx)
	movq	_BH1770_LUX_RANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	popq	%rbp
	jmp	_min                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BH1770_LUX_CORR_SCALE,4,2      ## @BH1770_LUX_CORR_SCALE
	.comm	_BH1770_LUX_RANGE,8,3           ## @BH1770_LUX_RANGE
	.no_dead_strip	_bh1770_lux_raw_to_adjusted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bh1770_lux_raw_to_adjusted
_bh1770_lux_raw_to_adjusted:            ; @bh1770_lux_raw_to_adjusted
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mul	w8, w8, w1
Lloh0:
	adrp	x9, _BH1770_LUX_CORR_SCALE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BH1770_LUX_CORR_SCALE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w0, w8, w9
Lloh3:
	adrp	x8, _BH1770_LUX_RANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BH1770_LUX_RANGE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_min
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BH1770_LUX_CORR_SCALE,4,2      ; @BH1770_LUX_CORR_SCALE
	.comm	_BH1770_LUX_RANGE,8,3           ; @BH1770_LUX_RANGE
	.no_dead_strip	_bh1770_lux_raw_to_adjusted
.subsections_via_symbols
