	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_ev_value_store
_iio_ev_value_store:                    ## @iio_ev_value_store
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	callq	_dev_to_iio_dev
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_to_iio_dev_attr
	movq	%rax, %r15
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movl	$100000, %esi                   ## imm = 0x186A0
	callq	_iio_str_to_fixpoint
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_iio_ev_attr_type
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_iio_ev_attr_dir
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_iio_ev_attr_info
	movl	-52(%rbp), %r9d
	movl	-48(%rbp), %ecx
	movl	%ecx, (%rsp)
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	movl	%r14d, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iio_ev_value_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_ev_value_store
_iio_ev_value_store:                    ; @iio_ev_value_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	bl	_dev_to_iio_dev
	mov	x20, x0
	mov	x0, x21
	bl	_to_iio_dev_attr
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x21, x0
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x22
	mov	w1, #34464
	movk	w1, #1, lsl #16
	bl	_iio_str_to_fixpoint
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	x25, [x8]
	ldr	w22, [x21]
	mov	x0, x21
	bl	_iio_ev_attr_type
	mov	x23, x0
	mov	x0, x21
	bl	_iio_ev_attr_dir
	mov	x24, x0
	mov	x0, x21
	bl	_iio_ev_attr_info
	mov	x4, x0
	ldp	w6, w5, [sp, #8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	blr	x25
	cmp	w0, #0
	csel	w0, w0, w19, lt
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iio_ev_value_store
.subsections_via_symbols
