	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adxrs450_spi_sensor_data
_adxrs450_spi_sensor_data:              ## @adxrs450_spi_sensor_data
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_iio_priv
	movq	%rax, %rbx
	movabsq	$17179869192, %rax              ## imm = 0x400000008
	movq	%rax, -112(%rbp)
	movl	$1, -104(%rbp)
	movq	$0, -96(%rbp)
	leaq	16(%rbx), %rcx
	movq	%rcx, -88(%rbp)
	movq	%rax, -80(%rbp)
	movl	$0, -72(%rbp)
	leaq	4(%rbx), %r13
	movq	%r13, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_ADXRS450_SENSOR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %r15
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_spi_sync_transfer
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	movl	(%r13), %edi
	callq	_be32_to_cpu
	shrl	$10, %eax
	movzwl	%ax, %eax
	movl	%eax, (%r14)
LBB0_3:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ADXRS450_SENSOR_DATA,4,2       ## @ADXRS450_SENSOR_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Problem while reading sensor data\n"

	.no_dead_strip	_adxrs450_spi_sensor_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function adxrs450_spi_sensor_data
lCPI0_0:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_adxrs450_spi_sensor_data:              ; @adxrs450_spi_sensor_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_iio_priv
	mov	x19, x0
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	mov	w8, #1
	str	w8, [sp, #16]
	add	x8, x0, #16
	stp	xzr, x8, [sp, #24]
	str	d0, [sp, #40]
	str	wzr, [sp, #48]
	add	x22, x0, #4
	stp	x22, xzr, [sp, #56]
	bl	_mutex_lock
Lloh5:
	adrp	x8, _ADXRS450_SENSOR_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADXRS450_SENSOR_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	str	w0, [x19, #16]
	ldr	x21, [x19, #8]
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x21
	bl	_spi_sync_transfer
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_3
LBB0_2:
	ldr	w0, [x22]
	bl	_be32_to_cpu
	ubfx	w8, w0, #10, #16
	str	w8, [x20]
LBB0_3:
	mov	x0, x19
	bl	_mutex_unlock
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ADXRS450_SENSOR_DATA,4,2       ; @ADXRS450_SENSOR_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Problem while reading sensor data\n"

	.no_dead_strip	_adxrs450_spi_sensor_data
.subsections_via_symbols
