	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5755_read_raw
_ad5755_read_raw:                       ## @ad5755_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_iio_priv
	cmpq	$129, %rbx
	je	LBB0_3
## %bb.1:
	cmpq	$128, %rbx
	jne	LBB0_4
## %bb.2:
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_ad5755_get_min_max
	movl	-44(%rbp), %eax
	subl	-48(%rbp), %eax
	movl	%eax, (%r14)
	movl	(%r13), %eax
	movl	%eax, (%r12)
	movq	_IIO_VAL_FRACTIONAL_LOG2@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_ad5755_get_offset
	jmp	LBB0_7
LBB0_4:
	leaq	-52(%rbp), %rcx
	movq	%rcx, (%rsp)
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_ad5755_chan_reg_info
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
	callq	_ad5755_read
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movl	-52(%rbp), %ecx
	subl	%ecx, %eax
	movb	-44(%rbp), %cl
	shrl	%cl, %eax
LBB0_7:
	movl	%eax, (%r14)
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ## @IIO_VAL_FRACTIONAL_LOG2
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ad5755_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5755_read_raw
_ad5755_read_raw:                       ; @ad5755_read_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_iio_priv
	cmp	x23, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	x23, #128
	b.ne	LBB0_4
; %bb.2:
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x1, x20
	bl	_ad5755_get_min_max
	ldp	w8, w9, [sp, #8]
	sub	w8, w8, w9
	str	w8, [x19]
	ldr	w8, [x20]
	str	w8, [x22]
Lloh0:
	adrp	x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	x1, x20
	bl	_ad5755_get_offset
	str	w0, [x19]
	b	LBB0_7
LBB0_4:
	add	x4, sp, #12
	add	x5, sp, #8
	add	x6, sp, #4
	mov	x1, x20
	mov	x2, x23
	mov	w3, #0
	bl	_ad5755_chan_reg_info
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_ad5755_read
	tbnz	w0, #31, LBB0_9
; %bb.6:
	ldp	w8, w9, [sp, #4]
	sub	w8, w0, w8
	lsr	w8, w8, w9
	str	w8, [x19]
LBB0_7:
Lloh2:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ; @IIO_VAL_FRACTIONAL_LOG2
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ad5755_read_raw
.subsections_via_symbols
