	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si1133_read_raw
_si1133_read_raw:                       ## @si1133_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
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	callq	_iio_priv
	addq	$-131, %rbx
	cmpq	$4, %rbx
	ja	LBB0_14
## %bb.1:
	movq	(%rax), %rcx
	movq	(%rcx), %rdi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_10:
	movl	(%r12), %eax
	orl	$2, %eax
	cmpl	$130, %eax
	jne	LBB0_14
## %bb.11:
	movq	_SI1133_ADCSENS_SCALE_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rdi
	movq	_SI1133_ADCSENS_SCALE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rdi
	callq	_BIT
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_12:
	movl	(%r12), %eax
	orl	$2, %eax
	cmpl	$130, %eax
	jne	LBB0_14
## %bb.13:
	movq	_SI1133_ADCSENS_HSIG_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rdi
	movl	%edi, (%r14)
	jmp	LBB0_5
LBB0_6:
	movl	(%r12), %ecx
	orl	$2, %ecx
	cmpl	$130, %ecx
	jne	LBB0_14
## %bb.7:
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_si1133_measure
	testl	%eax, %eax
	je	LBB0_5
	jmp	LBB0_15
LBB0_2:
	cmpl	$129, (%r12)
	jne	LBB0_14
## %bb.3:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_si1133_get_lux
	testl	%eax, %eax
	jne	LBB0_15
LBB0_5:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_8:
	movl	(%r12), %eax
	orl	$2, %eax
	cmpl	$130, %eax
	jne	LBB0_14
## %bb.9:
	movq	_SI1133_ADCSENS_HW_GAIN_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rdi
	movq	_si1133_int_time_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdi,8), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	movl	4(%rax), %eax
	movl	%eax, (%r15)
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SI1133_ADCSENS_HW_GAIN_MASK,8,3 ## @SI1133_ADCSENS_HW_GAIN_MASK
	.comm	_si1133_int_time_table,8,3      ## @si1133_int_time_table
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_SI1133_ADCSENS_SCALE_MASK,8,3  ## @SI1133_ADCSENS_SCALE_MASK
	.comm	_SI1133_ADCSENS_SCALE_SHIFT,8,3 ## @SI1133_ADCSENS_SCALE_SHIFT
	.comm	_SI1133_ADCSENS_HSIG_SHIFT,8,3  ## @SI1133_ADCSENS_HSIG_SHIFT
	.no_dead_strip	_si1133_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si1133_read_raw
_si1133_read_raw:                       ; @si1133_read_raw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x4
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	bl	_iio_priv
	sub	x9, x22, #131
	cmp	x9, #4
	b.hi	LBB0_14
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	w9, [x21]
	orr	w9, w9, #0x2
	cmp	w9, #130
	b.ne	LBB0_14
; %bb.3:
Lloh2:
	adrp	x9, _SI1133_ADCSENS_SCALE_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SI1133_ADCSENS_SCALE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	and	x8, x9, x8
Lloh5:
	adrp	x9, _SI1133_ADCSENS_SCALE_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SI1133_ADCSENS_SCALE_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	lsr	x0, x8, x9
	bl	_BIT
	str	w0, [x19]
	b	LBB0_6
LBB0_4:
	ldr	w9, [x21]
	orr	w9, w9, #0x2
	cmp	w9, #130
	b.ne	LBB0_14
; %bb.5:
Lloh8:
	adrp	x9, _SI1133_ADCSENS_HSIG_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SI1133_ADCSENS_HSIG_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	lsr	x8, x8, x9
	str	w8, [x19]
LBB0_6:
Lloh11:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_7:
	ldr	w8, [x21]
	orr	w8, w8, #0x2
	cmp	w8, #130
	b.ne	LBB0_14
; %bb.8:
	mov	x1, x21
	mov	x2, x19
	bl	_si1133_measure
	b	LBB0_11
LBB0_9:
	ldr	w8, [x21]
	cmp	w8, #129
	b.ne	LBB0_14
; %bb.10:
	mov	x1, x19
	bl	_si1133_get_lux
LBB0_11:
Lloh14:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, w0, eq
	b	LBB0_15
LBB0_12:
	ldr	w9, [x21]
	orr	w9, w9, #0x2
	cmp	w9, #130
	b.ne	LBB0_14
; %bb.13:
Lloh17:
	adrp	x9, _SI1133_ADCSENS_HW_GAIN_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SI1133_ADCSENS_HW_GAIN_MASK@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	and	x8, x9, x8
Lloh20:
	adrp	x9, _si1133_int_time_table@GOTPAGE
Lloh21:
	ldr	x9, [x9, _si1133_int_time_table@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w9, [x8]
	str	w9, [x19]
	ldr	w8, [x8, #4]
	str	w8, [x20]
Lloh23:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_14:
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SI1133_ADCSENS_HW_GAIN_MASK,8,3 ; @SI1133_ADCSENS_HW_GAIN_MASK
	.comm	_si1133_int_time_table,8,3      ; @si1133_int_time_table
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_SI1133_ADCSENS_SCALE_MASK,8,3  ; @SI1133_ADCSENS_SCALE_MASK
	.comm	_SI1133_ADCSENS_SCALE_SHIFT,8,3 ; @SI1133_ADCSENS_SCALE_SHIFT
	.comm	_SI1133_ADCSENS_HSIG_SHIFT,8,3  ; @SI1133_ADCSENS_HSIG_SHIFT
	.no_dead_strip	_si1133_read_raw
.subsections_via_symbols
