	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16130_spi_read
_adis16130_spi_read:                    ## @adis16130_spi_read
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	callq	_iio_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	%rax, -48(%rbp)
	movl	$4, -40(%rbp)
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_ADIS16130_CON_RD@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	(%rbx), %rax
	movl	%r12d, (%rax)
	movl	$0, 12(%rax)
	movq	$0, 4(%rax)
	movl	12(%rbx), %edi
	leaq	-56(%rbp), %rsi
	movl	$1, %edx
	callq	_spi_sync_transfer
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movl	4(%rax), %ecx
	movl	8(%rax), %edx
	shll	$16, %ecx
	shll	$8, %edx
	orl	%ecx, %edx
	orl	12(%rax), %edx
	movl	%edx, (%r14)
LBB0_2:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%r12d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADIS16130_CON_RD,4,2           ## @ADIS16130_CON_RD
	.no_dead_strip	_adis16130_spi_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16130_spi_read
_adis16130_spi_read:                    ; @adis16130_spi_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x22, x1
	bl	_iio_priv
	mov	x21, x0
	ldr	x8, [x0]
	stp	x8, x8, [sp, #8]
	mov	w8, #4
	str	w8, [sp, #24]
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x8, _ADIS16130_CON_RD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADIS16130_CON_RD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w22
	ldr	x9, [x21]
	str	xzr, [x9, #8]
	stp	w8, wzr, [x9]
	ldr	w0, [x21, #12]
	add	x1, sp, #8
	mov	w2, #1
	bl	_spi_sync_transfer
	mov	x22, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldp	w9, w10, [x8, #4]
	lsl	w10, w10, #8
	orr	w9, w10, w9, lsl #16
	ldr	w8, [x8, #12]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	mov	x0, x20
	bl	_mutex_unlock
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADIS16130_CON_RD,4,2           ; @ADIS16130_CON_RD
	.no_dead_strip	_adis16130_spi_read
.subsections_via_symbols
