	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16130_read_raw
_adis16130_read_raw:                    ## @adis16130_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	cmpq	$129, %r8
	je	LBB0_5
## %bb.1:
	cmpq	$131, %r8
	je	LBB0_8
## %bb.2:
	cmpq	$130, %r8
	jne	LBB0_11
## %bb.3:
	movq	%rdi, %r15
	callq	_mutex_lock
	movl	4(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	callq	_adis16130_spi_read
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	jne	LBB0_17
## %bb.4:
	movl	-28(%rbp), %eax
	movl	%eax, (%r14)
	jmp	LBB0_15
LBB0_5:
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.6:
	cmpl	$132, %eax
	jne	LBB0_11
## %bb.7:
	movl	$250, (%r14)
	movl	$336440817, (%rcx)              ## imm = 0x140DADF1
	jmp	LBB0_13
LBB0_8:
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_14
## %bb.9:
	cmpl	$132, %eax
	jne	LBB0_11
## %bb.10:
	movl	$-8388608, (%r14)               ## imm = 0xFF800000
	jmp	LBB0_15
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_12:
	movl	$105000, (%r14)                 ## imm = 0x19A28
	movl	$1479765, (%rcx)                ## imm = 0x169455
LBB0_13:
	movq	_IIO_VAL_FRACTIONAL@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movl	$-8036283, (%r14)               ## imm = 0xFF856045
LBB0_15:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_IIO_VAL_FRACTIONAL,4,2         ## @IIO_VAL_FRACTIONAL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_adis16130_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16130_read_raw
_adis16130_read_raw:                    ; @adis16130_read_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	cmp	x4, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	x4, #131
	b.eq	LBB0_8
; %bb.2:
	cmp	x4, #130
	b.ne	LBB0_11
; %bb.3:
	mov	x21, x0
	bl	_mutex_lock
	ldr	w1, [x20, #4]
	add	x2, sp, #12
	mov	x0, x21
	bl	_adis16130_spi_read
	mov	x20, x0
	mov	x0, x21
	bl	_mutex_unlock
	cbnz	w20, LBB0_17
; %bb.4:
	ldr	w8, [sp, #12]
	b	LBB0_15
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.6:
	cmp	w8, #132
	b.ne	LBB0_11
; %bb.7:
	mov	w8, #250
	str	w8, [x19]
	mov	w8, #44529
	movk	w8, #5133, lsl #16
	b	LBB0_13
LBB0_8:
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_14
; %bb.9:
	cmp	w8, #132
	b.ne	LBB0_11
; %bb.10:
	mov	w8, #-8388608
	b	LBB0_15
LBB0_11:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_17
LBB0_12:
	mov	w8, #39464
	movk	w8, #1, lsl #16
	str	w8, [x19]
	mov	w8, #37973
	movk	w8, #22, lsl #16
LBB0_13:
	str	w8, [x3]
Lloh3:
	adrp	x8, _IIO_VAL_FRACTIONAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
	mov	w8, #24645
	movk	w8, #65413, lsl #16
LBB0_15:
	str	w8, [x19]
Lloh5:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
LBB0_16:
	ldr	w20, [x8]
LBB0_17:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_IIO_VAL_FRACTIONAL,4,2         ; @IIO_VAL_FRACTIONAL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_adis16130_read_raw
.subsections_via_symbols
