	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm3533_als_read_raw
_lm3533_als_read_raw:                   ## @lm3533_als_read_raw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$131, %r8
	je	LBB0_6
## %bb.1:
	cmpq	$130, %r8
	jne	LBB0_5
## %bb.2:
	movl	4(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%esi, %esi
	jmp	LBB0_7
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %esi
LBB0_7:
	callq	_lm3533_als_get_adc
	testl	%eax, %eax
	jne	LBB0_9
LBB0_8:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	popq	%rbp
	retq
LBB0_10:
	movl	(%rsi), %esi
	callq	_lm3533_als_get_current
	testl	%eax, %eax
	je	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.no_dead_strip	_lm3533_als_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm3533_als_read_raw
_lm3533_als_read_raw:                   ; @lm3533_als_read_raw
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	x4, #131
	b.eq	LBB0_6
; %bb.1:
	cmp	x4, #130
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x1, #4]
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
	mov	w1, #0
	bl	_lm3533_als_get_adc
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w1, #1
	bl	_lm3533_als_get_adc
	b	LBB0_8
LBB0_7:
	ldr	w1, [x1]
	bl	_lm3533_als_get_current
LBB0_8:
Lloh3:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.no_dead_strip	_lm3533_als_read_raw
.subsections_via_symbols
