	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpu3050_read_raw
_mpu3050_read_raw:                      ## @mpu3050_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, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	callq	_iio_priv
	addq	$-129, %rbx
	cmpq	$4, %rbx
	ja	LBB0_14
## %bb.1:
	movq	%rax, %r12
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	4(%r13), %eax
	cmpl	$134, %eax
	je	LBB0_19
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_14
## %bb.4:
	movl	$1000, (%r14)                   ## imm = 0x3E8
	movl	$280, (%r15)                    ## imm = 0x118
	jmp	LBB0_20
LBB0_5:
	movq	%r12, %rdi
	callq	_mpu3050_get_freq
	jmp	LBB0_12
LBB0_6:
	movl	16(%r12), %edi
	callq	_pm_runtime_get_sync
	movq	%r12, %r15
	addq	$20, %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	%r12, %rdi
	callq	_mpu3050_set_8khz_samplerate
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_15
LBB0_7:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	16(%r12), %edi
	callq	_pm_runtime_mark_last_busy
	movl	16(%r12), %edi
	callq	_pm_runtime_put_autosuspend
	jmp	LBB0_22
LBB0_8:
	cmpl	$128, 4(%r13)
	jne	LBB0_14
## %bb.9:
	movl	$23000, (%r14)                  ## imm = 0x59D8
	jmp	LBB0_13
LBB0_10:
	cmpl	$134, 4(%r13)
	jne	LBB0_14
## %bb.11:
	movq	(%r12), %rax
	movslq	(%r13), %rcx
	movl	-4(%rax,%rcx,4), %eax
LBB0_12:
	movl	%eax, (%r14)
LBB0_13:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_22
LBB0_15:
	movl	4(%r13), %eax
	cmpl	$134, %eax
	je	LBB0_23
## %bb.16:
	cmpl	$128, %eax
	jne	LBB0_25
## %bb.17:
	movl	24(%r12), %edi
	movq	_MPU3050_TEMP_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movl	$4, %ecx
	callq	_regmap_bulk_read
	testl	%eax, %eax
	je	LBB0_26
## %bb.18:
	movl	%eax, %ebx
	movl	16(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_7
LBB0_19:
	movq	_mpu3050_fs_precision@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	addl	%eax, %eax
	movl	%eax, (%r14)
	movq	_U16_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_20:
	movq	_IIO_VAL_FRACTIONAL@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	24(%r12), %ebx
	movl	(%r13), %edi
	decl	%edi
	callq	_MPU3050_AXIS_REGS
	leaq	-44(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$4, %ecx
	callq	_regmap_bulk_read
	testl	%eax, %eax
	je	LBB0_26
## %bb.24:
	movl	%eax, %ebx
	movl	16(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_7
LBB0_25:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_26:
	movl	-44(%rbp), %edi
	callq	_be16_to_cpu
	movl	%eax, (%r14)
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
	.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_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-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_6
	.long	L0_0_set_8
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IIO_VAL_FRACTIONAL,4,2         ## @IIO_VAL_FRACTIONAL
	.comm	_mpu3050_fs_precision,8,3       ## @mpu3050_fs_precision
	.comm	_U16_MAX,4,2                    ## @U16_MAX
	.comm	_MPU3050_TEMP_H,4,2             ## @MPU3050_TEMP_H
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error reading temperature\n"

L_.str.1:                               ## @.str.1
	.asciz	"error reading axis data\n"

	.no_dead_strip	_mpu3050_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpu3050_read_raw
_mpu3050_read_raw:                      ; @mpu3050_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	x22, x4
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	bl	_iio_priv
	sub	x8, x22, #129
	cmp	x8, #4
	b.hi	LBB0_14
; %bb.1:
	mov	x19, 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, [x23, #4]
	cmp	w8, #134
	b.eq	LBB0_19
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.4:
	mov	w8, #1000
	str	w8, [x20]
	mov	w8, #280
	b	LBB0_20
LBB0_5:
	mov	x0, x19
	bl	_mpu3050_get_freq
	str	w0, [x20]
	b	LBB0_13
LBB0_6:
	ldr	w0, [x19, #16]
	bl	_pm_runtime_get_sync
	add	x21, x19, #20
	mov	x0, x21
	bl	_mutex_lock
	mov	x0, x19
	bl	_mpu3050_set_8khz_samplerate
	mov	x22, x0
	cbz	w0, LBB0_15
LBB0_7:
	mov	x0, x21
	bl	_mutex_unlock
	ldr	w0, [x19, #16]
	bl	_pm_runtime_mark_last_busy
	ldr	w0, [x19, #16]
	bl	_pm_runtime_put_autosuspend
	b	LBB0_22
LBB0_8:
	ldr	w8, [x23, #4]
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.9:
	mov	w8, #23000
	b	LBB0_12
LBB0_10:
	ldr	w8, [x23, #4]
	cmp	w8, #134
	b.ne	LBB0_14
; %bb.11:
	ldr	x8, [x19]
	ldrsw	x9, [x23]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
LBB0_12:
	str	w8, [x20]
LBB0_13:
Lloh2:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
	b	LBB0_21
LBB0_14:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_22
LBB0_15:
	ldr	w8, [x23, #4]
	cmp	w8, #134
	b.eq	LBB0_23
; %bb.16:
	cmp	w8, #128
	b.ne	LBB0_25
; %bb.17:
	ldr	w0, [x19, #24]
Lloh7:
	adrp	x8, _MPU3050_TEMP_H@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MPU3050_TEMP_H@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	w3, #4
	bl	_regmap_bulk_read
	cbz	w0, LBB0_26
; %bb.18:
	mov	x22, x0
	ldr	w0, [x19, #16]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_19:
Lloh12:
	adrp	x8, _mpu3050_fs_precision@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mpu3050_fs_precision@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	lsl	w8, w8, #1
Lloh15:
	adrp	x9, _U16_MAX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _U16_MAX@GOTPAGEOFF]
	str	w8, [x20]
Lloh17:
	ldr	w8, [x9]
LBB0_20:
	str	w8, [x21]
Lloh18:
	adrp	x8, _IIO_VAL_FRACTIONAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IIO_VAL_FRACTIONAL@GOTPAGEOFF]
LBB0_21:
	ldr	w22, [x8]
LBB0_22:
	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_23:
	ldr	w22, [x19, #24]
	ldr	w8, [x23]
	sub	w0, w8, #1
	bl	_MPU3050_AXIS_REGS
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x22
	mov	w3, #4
	bl	_regmap_bulk_read
	cbz	w0, LBB0_26
; %bb.24:
	mov	x22, x0
	ldr	w0, [x19, #16]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_25:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_7
LBB0_26:
	ldr	w0, [sp, #12]
	bl	_be16_to_cpu
	str	w0, [x20]
Lloh25:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IIO_VAL_FRACTIONAL,4,2         ; @IIO_VAL_FRACTIONAL
	.comm	_mpu3050_fs_precision,8,3       ; @mpu3050_fs_precision
	.comm	_U16_MAX,4,2                    ; @U16_MAX
	.comm	_MPU3050_TEMP_H,4,2             ; @MPU3050_TEMP_H
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error reading temperature\n"

l_.str.1:                               ; @.str.1
	.asciz	"error reading axis data\n"

	.no_dead_strip	_mpu3050_read_raw
.subsections_via_symbols
