	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function afe4404_write_raw
_afe4404_write_raw:                     ## @afe4404_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%edx, %r14d
	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_7
## %bb.2:
	cmpq	$131, %r15
	jne	LBB0_7
## %bb.3:
	movq	_afe4404_channel_offdacs@GOTPCREL(%rip), %rdx
	jmp	LBB0_4
LBB0_5:
	cmpq	$130, %r15
	jne	LBB0_7
## %bb.6:
	movq	_afe4404_channel_leds@GOTPCREL(%rip), %rdx
LBB0_4:
	movq	(%rdx), %rdx
	movl	(%rdx,%rcx,4), %ecx
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_field_write             ## TAILCALL
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_afe4404_channel_leds,8,3       ## @afe4404_channel_leds
	.comm	_afe4404_channel_offdacs,8,3    ## @afe4404_channel_offdacs
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_afe4404_write_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function afe4404_write_raw
_afe4404_write_raw:                     ; @afe4404_write_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	x19, x2
	mov	x21, x1
	bl	_iio_priv
	ldr	x8, [x21]
	lsl	x8, x8, #2
	ldr	w9, [x21, #8]
	cmp	w9, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #128
	b.ne	LBB0_7
; %bb.2:
	cmp	x20, #131
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x9, _afe4404_channel_offdacs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _afe4404_channel_offdacs@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	cmp	x20, #130
	b.ne	LBB0_7
; %bb.5:
Lloh2:
	adrp	x9, _afe4404_channel_leds@GOTPAGE
Lloh3:
	ldr	x9, [x9, _afe4404_channel_leds@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x9]
	ldr	w8, [x9, x8]
	ldr	x9, [x0]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, x19
	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
	b	_regmap_field_write
LBB0_7:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_afe4404_channel_leds,8,3       ; @afe4404_channel_leds
	.comm	_afe4404_channel_offdacs,8,3    ; @afe4404_channel_offdacs
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_afe4404_write_raw
.subsections_via_symbols
