	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm3533_als_get_threshold_reg
_lm3533_als_get_threshold_reg:          ## @lm3533_als_get_threshold_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	xorl	%eax, %eax
	testl	%esi, %esi
	sete	%al
	movq	_LM3533_REG_ALS_BOUNDARY_BASE@GOTPCREL(%rip), %rcx
	leal	(%rax,%rdi,2), %eax
	addl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM3533_REG_ALS_BOUNDARY_BASE,4,2 ## @LM3533_REG_ALS_BOUNDARY_BASE
	.no_dead_strip	_lm3533_als_get_threshold_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm3533_als_get_threshold_reg
_lm3533_als_get_threshold_reg:          ; @lm3533_als_get_threshold_reg
	.cfi_startproc
; %bb.0:
	cmp	w1, #0
	cset	w8, eq
Lloh0:
	adrp	x9, _LM3533_REG_ALS_BOUNDARY_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LM3533_REG_ALS_BOUNDARY_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bfi	w8, w0, #1, #31
	add	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LM3533_REG_ALS_BOUNDARY_BASE,4,2 ; @LM3533_REG_ALS_BOUNDARY_BASE
	.no_dead_strip	_lm3533_als_get_threshold_reg
.subsections_via_symbols
