	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inv_mpu6050_read_raw
_inv_mpu6050_read_raw:                  ## @inv_mpu6050_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, %r14
	movq	%rcx, %r15
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_iio_priv
	addq	$-129, %r14
	cmpq	$3, %r14
	ja	LBB0_12
## %bb.1:
	movq	%rax, %r12
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	4(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_17
## %bb.3:
	cmpl	$134, %eax
	je	LBB0_19
## %bb.4:
	cmpl	$133, %eax
	jne	LBB0_12
## %bb.5:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	_gyro_scale_6050@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	_IIO_VAL_INT_PLUS_NANO@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_6:
	cmpl	$128, 4(%r13)
	jne	LBB0_12
## %bb.7:
	movl	16(%r12), %eax
	movq	_INV_ICM20602@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
## %bb.8:
	movq	_INV_ICM20602_TEMP_OFFSET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_9:
	movl	4(%r13), %eax
	cmpl	$134, %eax
	je	LBB0_15
## %bb.10:
	cmpl	$133, %eax
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	8(%r12), %rax
	movl	4(%rax), %esi
	jmp	LBB0_16
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_27
LBB0_13:
	movq	%rbx, %rdi
	callq	_iio_device_claim_direct_mode
	testl	%eax, %eax
	jne	LBB0_27
## %bb.14:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_inv_mpu6050_read_channel_data
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_iio_device_release_direct_mode
	movl	%r14d, %eax
	jmp	LBB0_27
LBB0_15:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	8(%r12), %rax
	movl	(%rax), %esi
LBB0_16:
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_inv_mpu6050_sensor_show
	movq	%r12, %rdi
	callq	_mutex_unlock
	jmp	LBB0_22
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movl	16(%r12), %eax
	movq	_INV_ICM20602@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.18:
	movq	_INV_ICM20602_TEMP_SCALE@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_19:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	_accel_scale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	32(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_mutex_unlock
	jmp	LBB0_25
LBB0_20:
	movq	_INV_MPU6050_TEMP_OFFSET@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_22:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_23:
	movq	_INV_MPU6050_TEMP_SCALE@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_25:
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_gyro_scale_6050,8,3            ## @gyro_scale_6050
	.comm	_IIO_VAL_INT_PLUS_NANO,4,2      ## @IIO_VAL_INT_PLUS_NANO
	.comm	_accel_scale,8,3                ## @accel_scale
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.comm	_INV_ICM20602,4,2               ## @INV_ICM20602
	.comm	_INV_ICM20602_TEMP_SCALE,4,2    ## @INV_ICM20602_TEMP_SCALE
	.comm	_INV_MPU6050_TEMP_SCALE,4,2     ## @INV_MPU6050_TEMP_SCALE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_INV_ICM20602_TEMP_OFFSET,4,2   ## @INV_ICM20602_TEMP_OFFSET
	.comm	_INV_MPU6050_TEMP_OFFSET,4,2    ## @INV_MPU6050_TEMP_OFFSET
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.no_dead_strip	_inv_mpu6050_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inv_mpu6050_read_raw
_inv_mpu6050_read_raw:                  ; @inv_mpu6050_read_raw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	bl	_iio_priv
	sub	x8, x24, #129
	cmp	x8, #3
	b.hi	LBB0_13
; %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, [x22, #4]
	cmp	w8, #128
	b.eq	LBB0_17
; %bb.3:
	cmp	w8, #134
	b.eq	LBB0_18
; %bb.4:
	cmp	w8, #133
	b.ne	LBB0_13
; %bb.5:
	mov	x0, x19
	bl	_mutex_lock
Lloh2:
	adrp	x8, _gyro_scale_6050@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gyro_scale_6050@GOTPAGEOFF]
	str	wzr, [x20]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x21]
	mov	x0, x19
	bl	_mutex_unlock
Lloh5:
	adrp	x8, _IIO_VAL_INT_PLUS_NANO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_NANO@GOTPAGEOFF]
	b	LBB0_20
LBB0_6:
	mov	x0, x23
	bl	_iio_device_claim_direct_mode
	cbnz	w0, LBB0_21
; %bb.7:
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_inv_mpu6050_read_channel_data
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x23
	bl	_iio_device_release_direct_mode
	mov	x0, x20
	b	LBB0_21
LBB0_8:
	ldr	w8, [x22, #4]
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.9:
	ldr	w8, [x19, #16]
Lloh7:
	adrp	x9, _INV_ICM20602@GOTPAGE
Lloh8:
	ldr	x9, [x9, _INV_ICM20602@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _INV_ICM20602_TEMP_OFFSET@GOTPAGE
Lloh11:
	ldr	x10, [x10, _INV_ICM20602_TEMP_OFFSET@GOTPAGEOFF]
Lloh12:
	adrp	x11, _INV_MPU6050_TEMP_OFFSET@GOTPAGE
Lloh13:
	ldr	x11, [x11, _INV_MPU6050_TEMP_OFFSET@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_16
LBB0_10:
	ldr	w8, [x22, #4]
	cmp	w8, #134
	b.eq	LBB0_14
; %bb.11:
	cmp	w8, #133
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	b	LBB0_15
LBB0_13:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_21
LBB0_14:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
LBB0_15:
	ldr	w2, [x22]
	mov	x0, x19
	mov	x3, x20
	bl	_inv_mpu6050_sensor_show
	mov	x0, x19
	bl	_mutex_unlock
LBB0_16:
Lloh17:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
	str	wzr, [x20]
	ldr	w8, [x19, #16]
Lloh19:
	adrp	x9, _INV_ICM20602@GOTPAGE
Lloh20:
	ldr	x9, [x9, _INV_ICM20602@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _INV_ICM20602_TEMP_SCALE@GOTPAGE
Lloh23:
	ldr	x10, [x10, _INV_ICM20602_TEMP_SCALE@GOTPAGEOFF]
Lloh24:
	adrp	x11, _INV_MPU6050_TEMP_SCALE@GOTPAGE
Lloh25:
	ldr	x11, [x11, _INV_MPU6050_TEMP_SCALE@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x21]
	b	LBB0_19
LBB0_18:
	mov	x0, x19
	bl	_mutex_lock
Lloh26:
	adrp	x8, _accel_scale@GOTPAGE
Lloh27:
	ldr	x8, [x8, _accel_scale@GOTPAGEOFF]
	str	wzr, [x20]
Lloh28:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x21]
	mov	x0, x19
	bl	_mutex_unlock
LBB0_19:
Lloh29:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
LBB0_20:
	ldr	w0, [x8]
LBB0_21:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_gyro_scale_6050,8,3            ; @gyro_scale_6050
	.comm	_IIO_VAL_INT_PLUS_NANO,4,2      ; @IIO_VAL_INT_PLUS_NANO
	.comm	_accel_scale,8,3                ; @accel_scale
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.comm	_INV_ICM20602,4,2               ; @INV_ICM20602
	.comm	_INV_ICM20602_TEMP_SCALE,4,2    ; @INV_ICM20602_TEMP_SCALE
	.comm	_INV_MPU6050_TEMP_SCALE,4,2     ; @INV_MPU6050_TEMP_SCALE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_INV_ICM20602_TEMP_OFFSET,4,2   ; @INV_ICM20602_TEMP_OFFSET
	.comm	_INV_MPU6050_TEMP_OFFSET,4,2    ; @INV_MPU6050_TEMP_OFFSET
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.no_dead_strip	_inv_mpu6050_read_raw
.subsections_via_symbols
