	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function afe4404_read_raw
_afe4404_read_raw:                      ## @afe4404_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, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_iio_priv
	movq	(%rbx), %rcx
	movl	8(%rbx), %edx
	cmpl	$129, %edx
	je	LBB0_5
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_8
## %bb.2:
	cmpq	$132, %r12
	je	LBB0_9
## %bb.3:
	cmpq	$131, %r12
	jne	LBB0_8
## %bb.4:
	movq	_afe4404_channel_values@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rcx,4), %esi
	movl	8(%rax), %edi
	movq	%r14, %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_11
	jmp	LBB0_14
LBB0_5:
	cmpq	$130, %r12
	je	LBB0_12
## %bb.6:
	cmpq	$131, %r12
	jne	LBB0_8
## %bb.7:
	movq	_afe4404_channel_leds@GOTPCREL(%rip), %rdx
	jmp	LBB0_10
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_9:
	movq	_afe4404_channel_offdacs@GOTPCREL(%rip), %rdx
LBB0_10:
	movq	(%rdx), %rdx
	movl	(%rdx,%rcx,4), %ecx
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_regmap_field_read
	testl	%eax, %eax
	jne	LBB0_14
LBB0_11:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movl	$0, (%r14)
	movl	$800000, (%r15)                 ## imm = 0xC3500
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_afe4404_channel_values,8,3     ## @afe4404_channel_values
	.comm	_afe4404_channel_leds,8,3       ## @afe4404_channel_leds
	.comm	_afe4404_channel_offdacs,8,3    ## @afe4404_channel_offdacs
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_afe4404_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function afe4404_read_raw
_afe4404_read_raw:                      ; @afe4404_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	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	bl	_iio_priv
	ldr	x8, [x22]
	lsl	x8, x8, #2
	ldr	w9, [x22, #8]
	cmp	w9, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w9, #128
	b.ne	LBB0_8
; %bb.2:
	cmp	x20, #132
	b.eq	LBB0_9
; %bb.3:
	cmp	x20, #131
	b.ne	LBB0_8
; %bb.4:
Lloh0:
	adrp	x9, _afe4404_channel_values@GOTPAGE
Lloh1:
	ldr	x9, [x9, _afe4404_channel_values@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w1, [x9, x8]
	ldr	w0, [x0, #8]
	mov	x2, x19
	bl	_regmap_read
	b	LBB0_11
LBB0_5:
	cmp	x20, #130
	b.eq	LBB0_12
; %bb.6:
	cmp	x20, #131
	b.ne	LBB0_8
; %bb.7:
Lloh3:
	adrp	x9, _afe4404_channel_leds@GOTPAGE
Lloh4:
	ldr	x9, [x9, _afe4404_channel_leds@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_9:
Lloh8:
	adrp	x9, _afe4404_channel_offdacs@GOTPAGE
Lloh9:
	ldr	x9, [x9, _afe4404_channel_offdacs@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	ldr	w8, [x9, x8]
	ldr	x9, [x0]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, x19
	bl	_regmap_field_read
LBB0_11:
Lloh10:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, w0, eq
	b	LBB0_13
LBB0_12:
	str	wzr, [x19]
	mov	w8, #13568
	movk	w8, #12, lsl #16
	str	w8, [x21]
Lloh13:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
LBB0_13:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_afe4404_channel_values,8,3     ; @afe4404_channel_values
	.comm	_afe4404_channel_leds,8,3       ; @afe4404_channel_leds
	.comm	_afe4404_channel_offdacs,8,3    ; @afe4404_channel_offdacs
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_afe4404_read_raw
.subsections_via_symbols
