	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inv_mpu_i2c_disable
_inv_mpu_i2c_disable:                   ## @inv_mpu_i2c_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_iio_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_inv_mpu6050_set_power_itg
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	8(%rbx), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movl	16(%rbx), %edi
	movq	_INV_ICM20602_BIT_I2C_IF_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_4
LBB0_3:
	movq	_INV_MPU6050_BIT_I2C_IF_DIS@GOTPCREL(%rip), %rcx
	movl	(%rbx), %edx
	movl	16(%rbx), %edi
	orl	(%rcx), %edx
	movl	%edx, (%rbx)
	movq	(%rax), %rsi
LBB0_4:
	callq	_regmap_write
	movl	%eax, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_inv_mpu6050_set_power_itg
	testl	%r14d, %r14d
	cmovnel	%r14d, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INV_ICM20602_BIT_I2C_IF_DIS,4,2 ## @INV_ICM20602_BIT_I2C_IF_DIS
	.comm	_INV_MPU6050_BIT_I2C_IF_DIS,4,2 ## @INV_MPU6050_BIT_I2C_IF_DIS
	.no_dead_strip	_inv_mpu_i2c_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inv_mpu_i2c_disable
_inv_mpu_i2c_disable:                   ; @inv_mpu_i2c_disable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_iio_priv
	mov	x19, x0
	mov	w1, #1
	bl	_inv_mpu6050_set_power_itg
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _INV_ICM20602_BIT_I2C_IF_DIS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INV_ICM20602_BIT_I2C_IF_DIS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x9, _INV_MPU6050_BIT_I2C_IF_DIS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INV_MPU6050_BIT_I2C_IF_DIS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w2, w10, w9
	str	w2, [x19]
	ldr	w0, [x19, #16]
	ldr	x1, [x8]
LBB0_4:
	bl	_regmap_write
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_inv_mpu6050_set_power_itg
	cmp	w20, #0
	csel	w0, w0, w20, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INV_ICM20602_BIT_I2C_IF_DIS,4,2 ; @INV_ICM20602_BIT_I2C_IF_DIS
	.comm	_INV_MPU6050_BIT_I2C_IF_DIS,4,2 ; @INV_MPU6050_BIT_I2C_IF_DIS
	.no_dead_strip	_inv_mpu_i2c_disable
.subsections_via_symbols
