	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16400_read_raw
_adis16400_read_raw:                    ## @adis16400_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, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_iio_priv
	addq	$-132, %r14
	cmpq	$5, %r14
	ja	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	12(%r13), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_5
## %bb.3:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	$0, (%r15)
	xorl	%eax, %eax
	cmpl	$0, 8(%r13)
	sete	%al
	movl	$418000, %ecx                   ## imm = 0x660D0
	movl	$805800, %edx                   ## imm = 0xC4BA8
	cmovel	%ecx, %edx
	addl	%eax, %eax
	movl	%eax, (%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, (%rax)
	jmp	LBB0_22
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_24
LBB0_6:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*16(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_24
## %bb.7:
	movl	%r13d, %eax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	shrq	$38, %rax
	movl	%eax, (%r15)
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	subl	%eax, %r13d
	imull	$1000, %r13d, %eax              ## imm = 0x3E8
LBB0_8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_22
LBB0_9:
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%r15, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adis_single_conversion         ## TAILCALL
LBB0_10:
	movq	(%rbx), %rax
	movl	12(%rax), %eax
	jmp	LBB0_17
LBB0_11:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	_ADIS16400_SENS_AVG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_adis_read_reg_16
	testl	%eax, %eax
	js	LBB0_18
## %bb.12:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*16(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	movq	_adis16400_3db_divisors@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	-44(%rbp), %esi
	andl	$7, %esi
	movl	%r13d, %eax
	cltd
	idivl	(%rcx,%rsi,4)
	movl	%eax, %r13d
	cltq
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%r15)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_14:
	movq	%r12, %rdi
	callq	_mutex_unlock
	testl	%r13d, %r13d
	jns	LBB0_22
	jmp	LBB0_24
LBB0_15:
	movq	%r12, %rdi
	callq	_mutex_lock
	addq	$8, %rbx
	movq	_adis16400_addresses@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_adis_read_reg_16
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_mutex_unlock
	testl	%r13d, %r13d
	jne	LBB0_24
## %bb.16:
	movl	-44(%rbp), %edi
	movl	$11, %esi
	callq	_sign_extend32
	movl	%eax, -44(%rbp)
LBB0_17:
	movl	%eax, (%r15)
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_18:
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_mutex_unlock
	jmp	LBB0_24
LBB0_19:
	movq	(%rbx), %rax
	movslq	8(%rax), %rcx
	imulq	$1125899907, %rcx, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%r15)
	movslq	8(%rax), %rax
	imulq	$1125899907, %rax, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	imull	$1000000, %ecx, %ecx            ## imm = 0xF4240
	subl	%ecx, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_22
LBB0_20:
	movl	$0, (%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$2000, (%rax)                   ## imm = 0x7D0
	jmp	LBB0_22
LBB0_21:
	movl	$0, (%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$500, (%rax)                    ## imm = 0x1F4
LBB0_22:
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %r13d
LBB0_24:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	$0, (%r15)
	movq	(%rbx), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_26:
	movl	$0, (%r15)
	movq	(%rbx), %rax
	movl	4(%rax), %eax
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_15
.set L0_1_set_4, LBB0_4-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_5, LBB0_5-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
LJTI0_1:
	.long	L0_1_set_4
	.long	L0_1_set_19
	.long	L0_1_set_20
	.long	L0_1_set_21
	.long	L0_1_set_5
	.long	L0_1_set_5
	.long	L0_1_set_5
	.long	L0_1_set_5
	.long	L0_1_set_5
	.long	L0_1_set_5
	.long	L0_1_set_25
	.long	L0_1_set_26
	.end_data_region
                                        ## -- End function
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_adis16400_addresses,8,3        ## @adis16400_addresses
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_ADIS16400_SENS_AVG,4,2         ## @ADIS16400_SENS_AVG
	.comm	_adis16400_3db_divisors,8,3     ## @adis16400_3db_divisors
	.no_dead_strip	_adis16400_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16400_read_raw
_adis16400_read_raw:                    ; @adis16400_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	x24, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	bl	_iio_priv
	sub	x8, x24, #132
	cmp	x8, #5
	b.hi	LBB0_5
; %bb.1:
	mov	x23, x0
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	w8, [x22, #12]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_5
; %bb.3:
Lloh2:
	adrp	x9, lJTI0_1@PAGE
Lloh3:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	str	wzr, [x19]
	ldr	w8, [x22, #8]
	mov	w9, #19368
	movk	w9, #12, lsl #16
	mov	w10, #24784
	movk	w10, #6, lsl #16
	cmp	w8, #0
	csel	w8, w10, w9, eq
	cset	w9, eq
	lsl	w9, w9, #1
	str	w9, [x19]
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_19
LBB0_6:
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	mov	x0, x23
	blr	x8
	mov	x22, x0
	tbnz	w0, #31, LBB0_19
; %bb.7:
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	umull	x8, w22, w8
	lsr	x8, x8, #38
	str	w8, [x19]
	mov	w9, #1000
	msub	w8, w8, w9, w22
	mul	w8, w8, w9
LBB0_8:
	str	w8, [x20]
Lloh7:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	b	LBB0_19
LBB0_9:
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	mov	x3, x19
	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
	b	_adis_single_conversion
LBB0_10:
	ldr	x8, [x23]
	ldr	w8, [x8, #12]
	str	w8, [x19]
	b	LBB0_17
LBB0_11:
	mov	x0, x21
	bl	_mutex_lock
	add	x0, x23, #8
Lloh10:
	adrp	x8, _ADIS16400_SENS_AVG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ADIS16400_SENS_AVG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_adis_read_reg_16
	tbnz	w0, #31, LBB0_18
; %bb.12:
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	mov	x0, x23
	blr	x8
	mov	x22, x0
	tbnz	w0, #31, LBB0_14
; %bb.13:
Lloh13:
	adrp	x8, _adis16400_3db_divisors@GOTPAGE
Lloh14:
	ldr	x8, [x8, _adis16400_3db_divisors@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w9, [sp, #12]
	and	x9, x9, #0x7
	ldr	w8, [x8, x9, lsl #2]
	sdiv	w22, w22, w8
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w22, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	w8, [x19]
	mov	w9, #1000
	msub	w8, w8, w9, w22
	mul	w8, w8, w9
	str	w8, [x20]
LBB0_14:
	mov	x0, x21
	bl	_mutex_unlock
Lloh16:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w22, #0
	csel	w22, w22, w8, lt
	b	LBB0_19
LBB0_15:
	mov	x0, x21
	bl	_mutex_lock
	add	x0, x23, #8
Lloh19:
	adrp	x8, _adis16400_addresses@GOTPAGE
Lloh20:
	ldr	x8, [x8, _adis16400_addresses@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x9, [x22]
	ldr	w1, [x8, x9, lsl #2]
	add	x2, sp, #12
	bl	_adis_read_reg_16
	mov	x22, x0
	mov	x0, x21
	bl	_mutex_unlock
	cbnz	w22, LBB0_19
; %bb.16:
	ldr	w0, [sp, #12]
	mov	w1, #11
	bl	_sign_extend32
	str	w0, [sp, #12]
	str	w0, [x19]
LBB0_17:
Lloh22:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	b	LBB0_19
LBB0_18:
	mov	x22, x0
	mov	x0, x21
	bl	_mutex_unlock
LBB0_19:
	mov	x0, x22
	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
LBB0_20:
	ldr	x8, [x23]
	ldrsw	x9, [x8, #8]
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	mul	x9, x9, x10
	lsr	x11, x9, #63
	asr	x9, x9, #50
	add	w9, w9, w11
	str	w9, [x19]
	ldrsw	x8, [x8, #8]
	mul	x9, x8, x10
	lsr	x10, x9, #63
	asr	x9, x9, #50
	add	w9, w9, w10
	mov	w10, #16960
	movk	w10, #15, lsl #16
	msub	w8, w9, w10, w8
	b	LBB0_8
LBB0_21:
	str	wzr, [x19]
	mov	w8, #2000
	b	LBB0_8
LBB0_22:
	str	wzr, [x19]
	mov	w8, #500
	b	LBB0_8
LBB0_23:
	str	wzr, [x19]
	ldr	x8, [x23]
	ldr	w8, [x8]
	b	LBB0_8
LBB0_24:
	str	wzr, [x19]
	ldr	x8, [x23]
	ldr	w8, [x8, #4]
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_23-LBB0_4)>>2
	.byte	(LBB0_24-LBB0_4)>>2
                                        ; -- End function
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_adis16400_addresses,8,3        ; @adis16400_addresses
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_ADIS16400_SENS_AVG,4,2         ; @ADIS16400_SENS_AVG
	.comm	_adis16400_3db_divisors,8,3     ; @adis16400_3db_divisors
	.no_dead_strip	_adis16400_read_raw
.subsections_via_symbols
