	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si1133_write_raw
_si1133_write_raw:                      ## @si1133_write_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %r13
	callq	_iio_priv
	movq	%rax, %r14
	cmpq	$132, %rbx
	je	LBB0_8
## %bb.1:
	cmpq	$131, %rbx
	je	LBB0_7
## %bb.2:
	cmpq	$130, %rbx
	jne	LBB0_11
## %bb.3:
	movl	(%r13), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.4:
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_si1133_scale_to_swgain
	testl	%eax, %eax
	js	LBB0_12
## %bb.5:
	movq	_SI1133_ADCSENS_SCALE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_SI1133_ADCSENS_SCALE_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %ecx
	jmp	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_si1133_set_integration_time    ## TAILCALL
LBB0_8:
	movl	(%r13), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.9:
	cmpl	$2, %r15d
	jae	LBB0_11
## %bb.10:
	movq	_SI1133_ADCSENS_HSIG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SI1133_ADCSENS_HSIG_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %ecx
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_si1133_update_adcsens          ## TAILCALL
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SI1133_ADCSENS_SCALE_MASK,4,2  ## @SI1133_ADCSENS_SCALE_MASK
	.comm	_SI1133_ADCSENS_SCALE_SHIFT,4,2 ## @SI1133_ADCSENS_SCALE_SHIFT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SI1133_ADCSENS_HSIG_MASK,4,2   ## @SI1133_ADCSENS_HSIG_MASK
	.comm	_SI1133_ADCSENS_HSIG_SHIFT,4,2  ## @SI1133_ADCSENS_HSIG_SHIFT
	.no_dead_strip	_si1133_write_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si1133_write_raw
_si1133_write_raw:                      ; @si1133_write_raw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	bl	_iio_priv
	mov	x19, x0
	cmp	x23, #132
	b.eq	LBB0_7
; %bb.1:
	cmp	x23, #131
	b.eq	LBB0_6
; %bb.2:
	cmp	x23, #130
	b.ne	LBB0_11
; %bb.3:
	ldr	w8, [x22]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_si1133_scale_to_swgain
	mov	x3, x0
	tbnz	w0, #31, LBB0_12
; %bb.5:
Lloh0:
	adrp	x8, _SI1133_ADCSENS_SCALE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SI1133_ADCSENS_SCALE_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SI1133_ADCSENS_SCALE_SHIFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SI1133_ADCSENS_SCALE_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	mov	x0, x19
	b	LBB0_10
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	x3, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_si1133_set_integration_time
LBB0_7:
	ldr	w8, [x22]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.8:
	cmp	w20, #2
	b.hs	LBB0_11
; %bb.9:
Lloh6:
	adrp	x8, _SI1133_ADCSENS_HSIG_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SI1133_ADCSENS_HSIG_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x9, _SI1133_ADCSENS_HSIG_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SI1133_ADCSENS_HSIG_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x3, x20
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_si1133_update_adcsens
LBB0_11:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w3, w8
LBB0_12:
	mov	x0, x3
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SI1133_ADCSENS_SCALE_MASK,4,2  ; @SI1133_ADCSENS_SCALE_MASK
	.comm	_SI1133_ADCSENS_SCALE_SHIFT,4,2 ; @SI1133_ADCSENS_SCALE_SHIFT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SI1133_ADCSENS_HSIG_MASK,4,2   ; @SI1133_ADCSENS_HSIG_MASK
	.comm	_SI1133_ADCSENS_HSIG_SHIFT,4,2  ; @SI1133_ADCSENS_HSIG_SHIFT
	.no_dead_strip	_si1133_write_raw
.subsections_via_symbols
