	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inv_scan_query
_inv_scan_query:                        ## @inv_scan_query
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_iio_priv
	movq	%rax, %r14
	movq	_INV_MPU6050_SCAN_GYRO_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	movl	$1, %r15d
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_INV_MPU6050_SCAN_GYRO_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_INV_MPU6050_SCAN_GYRO_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_3:
	movl	%ecx, (%r14)
	movq	_INV_MPU6050_SCAN_ACCL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_INV_MPU6050_SCAN_ACCL_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_INV_MPU6050_SCAN_ACCL_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
LBB0_6:
	movl	%r15d, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INV_MPU6050_SCAN_GYRO_X,4,2    ## @INV_MPU6050_SCAN_GYRO_X
	.comm	_INV_MPU6050_SCAN_GYRO_Y,4,2    ## @INV_MPU6050_SCAN_GYRO_Y
	.comm	_INV_MPU6050_SCAN_GYRO_Z,4,2    ## @INV_MPU6050_SCAN_GYRO_Z
	.comm	_INV_MPU6050_SCAN_ACCL_X,4,2    ## @INV_MPU6050_SCAN_ACCL_X
	.comm	_INV_MPU6050_SCAN_ACCL_Y,4,2    ## @INV_MPU6050_SCAN_ACCL_Y
	.comm	_INV_MPU6050_SCAN_ACCL_Z,4,2    ## @INV_MPU6050_SCAN_ACCL_Z
	.no_dead_strip	_inv_scan_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inv_scan_query
_inv_scan_query:                        ; @inv_scan_query
	.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
	mov	x20, x0
	bl	_iio_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _INV_MPU6050_SCAN_GYRO_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INV_MPU6050_SCAN_GYRO_X@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _INV_MPU6050_SCAN_GYRO_Y@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INV_MPU6050_SCAN_GYRO_Y@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_2:
	mov	w8, #1
LBB0_3:
	str	w8, [x19]
Lloh6:
	adrp	x8, _INV_MPU6050_SCAN_ACCL_X@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INV_MPU6050_SCAN_ACCL_X@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _INV_MPU6050_SCAN_ACCL_Y@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INV_MPU6050_SCAN_ACCL_Y@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cbz	x0, LBB0_8
LBB0_5:
	mov	w8, #1
LBB0_6:
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x8, _INV_MPU6050_SCAN_GYRO_Z@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INV_MPU6050_SCAN_GYRO_Z@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cmp	x0, #0
	cset	w8, ne
	b	LBB0_3
LBB0_8:
Lloh15:
	adrp	x8, _INV_MPU6050_SCAN_ACCL_Z@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INV_MPU6050_SCAN_ACCL_Z@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_test_bit
	cmp	x0, #0
	cset	w8, ne
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_INV_MPU6050_SCAN_GYRO_X,4,2    ; @INV_MPU6050_SCAN_GYRO_X
	.comm	_INV_MPU6050_SCAN_GYRO_Y,4,2    ; @INV_MPU6050_SCAN_GYRO_Y
	.comm	_INV_MPU6050_SCAN_GYRO_Z,4,2    ; @INV_MPU6050_SCAN_GYRO_Z
	.comm	_INV_MPU6050_SCAN_ACCL_X,4,2    ; @INV_MPU6050_SCAN_ACCL_X
	.comm	_INV_MPU6050_SCAN_ACCL_Y,4,2    ; @INV_MPU6050_SCAN_ACCL_Y
	.comm	_INV_MPU6050_SCAN_ACCL_Z,4,2    ; @INV_MPU6050_SCAN_ACCL_Z
	.no_dead_strip	_inv_scan_query
.subsections_via_symbols
