	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inv_mpu6050_read_channel_data
_inv_mpu6050_read_channel_data:         ## @inv_mpu6050_read_channel_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_iio_priv
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_inv_mpu6050_set_power_itg
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_9
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.4:
	movq	_INV_MPU6050_BIT_PWR_GYRO_STBY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_inv_mpu6050_switch_engine
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movq	(%r12), %rax
	movl	8(%rax), %esi
	jmp	LBB0_6
LBB0_9:
	movq	_INV_MPU6050_SENSOR_UP_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	_IIO_MOD_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_inv_mpu6050_sensor_show
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_INV_MPU6050_BIT_PWR_ACCL_STBY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_inv_mpu6050_switch_engine
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movq	(%r12), %rax
	movl	4(%rax), %esi
LBB0_6:
	movl	4(%r15), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_inv_mpu6050_sensor_show
	movq	%rbx, %rcx
	movl	%eax, %ebx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_inv_mpu6050_switch_engine
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_11
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_inv_mpu6050_set_power_itg
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_13
LBB0_12:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_inv_mpu6050_set_power_itg
	movl	%r13d, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INV_MPU6050_BIT_PWR_GYRO_STBY,4,2 ## @INV_MPU6050_BIT_PWR_GYRO_STBY
	.comm	_INV_MPU6050_BIT_PWR_ACCL_STBY,4,2 ## @INV_MPU6050_BIT_PWR_ACCL_STBY
	.comm	_INV_MPU6050_SENSOR_UP_TIME,4,2 ## @INV_MPU6050_SENSOR_UP_TIME
	.comm	_IIO_MOD_X,4,2                  ## @IIO_MOD_X
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_inv_mpu6050_read_channel_data
.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_channel_data
_inv_mpu6050_read_channel_data:         ; @inv_mpu6050_read_channel_data
	.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	x20, x2
	mov	x21, x1
	bl	_iio_priv
	mov	x19, x0
	mov	w1, #1
	bl	_inv_mpu6050_set_power_itg
	mov	x22, x0
	cbnz	w0, LBB0_13
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.4:
Lloh0:
	adrp	x24, _INV_MPU6050_BIT_PWR_GYRO_STBY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _INV_MPU6050_BIT_PWR_GYRO_STBY@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #1
	bl	_inv_mpu6050_switch_engine
	mov	x23, x0
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	x8, [x19]
	ldr	w1, [x8, #8]
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x8, _INV_MPU6050_SENSOR_UP_TIME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INV_MPU6050_SENSOR_UP_TIME@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_msleep
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _IIO_MOD_X@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IIO_MOD_X@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_inv_mpu6050_sensor_show
	mov	x22, x0
	b	LBB0_11
LBB0_7:
Lloh8:
	adrp	x24, _INV_MPU6050_BIT_PWR_ACCL_STBY@GOTPAGE
Lloh9:
	ldr	x24, [x24, _INV_MPU6050_BIT_PWR_ACCL_STBY@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #1
	bl	_inv_mpu6050_switch_engine
	mov	x23, x0
	cbnz	w0, LBB0_12
; %bb.8:
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
LBB0_9:
	ldr	w2, [x21, #4]
	mov	x0, x19
	mov	x3, x20
	bl	_inv_mpu6050_sensor_show
	mov	x22, x0
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #0
	bl	_inv_mpu6050_switch_engine
	mov	x23, x0
	cbnz	w0, LBB0_12
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	mov	x0, x19
	mov	w1, #0
	bl	_inv_mpu6050_set_power_itg
	mov	x23, x0
	cbz	w0, LBB0_13
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_inv_mpu6050_set_power_itg
	mov	x22, x23
LBB0_13:
	mov	x0, x22
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_INV_MPU6050_BIT_PWR_GYRO_STBY,4,2 ; @INV_MPU6050_BIT_PWR_GYRO_STBY
	.comm	_INV_MPU6050_BIT_PWR_ACCL_STBY,4,2 ; @INV_MPU6050_BIT_PWR_ACCL_STBY
	.comm	_INV_MPU6050_SENSOR_UP_TIME,4,2 ; @INV_MPU6050_SENSOR_UP_TIME
	.comm	_IIO_MOD_X,4,2                  ; @IIO_MOD_X
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_inv_mpu6050_read_channel_data
.subsections_via_symbols
