	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5360_read_raw
_ad5360_read_raw:                       ## @ad5360_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
	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
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_iio_priv
	addq	$-128, %rbx
	cmpq	$4, %rbx
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movl	8(%r15), %esi
	movq	%rax, %rdi
	callq	_ad5360_get_channel_vref
	testl	%eax, %eax
	js	LBB0_14
## %bb.3:
	movl	%eax, %eax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	shrq	$36, %rax
	movl	%eax, (%r14)
	movl	4(%r15), %eax
	movl	%eax, (%r12)
	movq	_IIO_VAL_FRACTIONAL_LOG2@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_5:
	movq	_AD5360_READBACK_X1A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%r13, %rdi
	callq	_ad5360_read
	testl	%eax, %eax
	js	LBB0_14
## %bb.6:
	movb	(%r15), %cl
	shrl	%cl, %eax
	jmp	LBB0_12
LBB0_7:
	movl	8(%r15), %esi
	movq	%rax, %rdi
	callq	_ad5360_get_channel_vref_index
	movq	_AD5360_READBACK_SF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_AD5360_REG_SF_OFS
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_ad5360_read
	testl	%eax, %eax
	js	LBB0_14
## %bb.8:
	movb	4(%r15), %cl
	addb	$-14, %cl
	shll	%cl, %eax
	negl	%eax
	jmp	LBB0_12
LBB0_9:
	movq	_AD5360_READBACK_GAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_AD5360_READBACK_OFFSET@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%r13, %rdi
	callq	_ad5360_read
	testl	%eax, %eax
	js	LBB0_14
LBB0_12:
	movl	%eax, (%r14)
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_AD5360_READBACK_X1A,4,2        ## @AD5360_READBACK_X1A
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ## @IIO_VAL_FRACTIONAL_LOG2
	.comm	_AD5360_READBACK_OFFSET,4,2     ## @AD5360_READBACK_OFFSET
	.comm	_AD5360_READBACK_GAIN,4,2       ## @AD5360_READBACK_GAIN
	.comm	_AD5360_READBACK_SF,4,2         ## @AD5360_READBACK_SF
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ad5360_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5360_read_raw
_ad5360_read_raw:                       ; @ad5360_read_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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_iio_priv
	sub	x8, x23, #128
	cmp	x8, #4
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w1, [x20, #8]
	bl	_ad5360_get_channel_vref
	tbnz	w0, #31, LBB0_16
; %bb.3:
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	umull	x8, w0, w8
	lsr	x8, x8, #36
	str	w8, [x19]
	ldr	w8, [x20, #4]
	str	w8, [x22]
Lloh2:
	adrp	x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL_LOG2@GOTPAGEOFF]
	b	LBB0_15
LBB0_4:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_5:
Lloh7:
	adrp	x8, _AD5360_READBACK_X1A@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AD5360_READBACK_X1A@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x21
	bl	_ad5360_read
	tbnz	w0, #31, LBB0_16
; %bb.6:
	ldr	w8, [x20]
	lsr	w8, w0, w8
	b	LBB0_9
LBB0_7:
	ldr	w1, [x20, #8]
	bl	_ad5360_get_channel_vref_index
Lloh10:
	adrp	x8, _AD5360_READBACK_SF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AD5360_READBACK_SF@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	bl	_AD5360_REG_SF_OFS
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_ad5360_read
	tbnz	w0, #31, LBB0_16
; %bb.8:
	ldr	w8, [x20, #4]
	sub	w8, w8, #14
	lsl	w8, w0, w8
	neg	w8, w8
LBB0_9:
	str	w8, [x19]
	b	LBB0_14
LBB0_10:
Lloh13:
	adrp	x8, _AD5360_READBACK_GAIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AD5360_READBACK_GAIN@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh15:
	adrp	x8, _AD5360_READBACK_OFFSET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AD5360_READBACK_OFFSET@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x21
	bl	_ad5360_read
	tbnz	w0, #31, LBB0_16
; %bb.13:
	str	w0, [x19]
LBB0_14:
Lloh17:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
LBB0_16:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_AD5360_READBACK_X1A,4,2        ; @AD5360_READBACK_X1A
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_IIO_VAL_FRACTIONAL_LOG2,4,2    ; @IIO_VAL_FRACTIONAL_LOG2
	.comm	_AD5360_READBACK_OFFSET,4,2     ; @AD5360_READBACK_OFFSET
	.comm	_AD5360_READBACK_GAIN,4,2       ; @AD5360_READBACK_GAIN
	.comm	_AD5360_READBACK_SF,4,2         ; @AD5360_READBACK_SF
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ad5360_read_raw
.subsections_via_symbols
