	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gyro_3d_read_raw
_gyro_3d_read_raw:                      ## @gyro_3d_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, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	callq	_iio_priv
	movl	$0, (%r15)
	movl	$0, (%r14)
	addq	$-128, %rbx
	cmpq	$4, %rbx
	ja	LBB0_10
## %bb.1:
	movq	%rax, %r13
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movl	(%r13), %eax
	movl	%eax, (%r15)
	movl	4(%r13), %eax
	movl	%eax, (%r14)
	movl	8(%r13), %ebx
	jmp	LBB0_12
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_8:
	addq	$16, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hid_sensor_read_samp_freq_value ## TAILCALL
LBB0_2:
	movq	%r13, %r14
	addq	$16, %r14
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hid_sensor_power_state
	movq	24(%r13), %rax
	movq	(%r12), %rsi
	movl	(%rax,%rsi,8), %ecx
	testl	%ecx, %ecx
	js	LBB0_4
## %bb.3:
	movq	_gyro_3d_addresses@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rsi,4), %edx
	movl	4(%rax,%rsi,8), %r9d
	movl	(%r14), %edi
	movq	_HID_USAGE_SENSOR_GYRO_3D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SENSOR_HUB_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	shrl	$31, %r9d
	callq	_sensor_hub_input_attr_get_raw_value
	movl	%eax, (%r15)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hid_sensor_power_state
	jmp	LBB0_7
LBB0_6:
	movl	12(%r13), %eax
	movl	%eax, (%r15)
LBB0_7:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_9:
	addq	$16, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hid_sensor_read_raw_hyst_value ## TAILCALL
LBB0_4:
	movl	$0, (%r15)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_hid_sensor_power_state
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	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_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-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_5
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_gyro_3d_addresses,8,3          ## @gyro_3d_addresses
	.comm	_HID_USAGE_SENSOR_GYRO_3D,4,2   ## @HID_USAGE_SENSOR_GYRO_3D
	.comm	_SENSOR_HUB_SYNC,4,2            ## @SENSOR_HUB_SYNC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.no_dead_strip	_gyro_3d_read_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gyro_3d_read_raw
_gyro_3d_read_raw:                      ; @gyro_3d_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	x23, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	bl	_iio_priv
	str	wzr, [x19]
	str	wzr, [x20]
	sub	x8, x23, #128
	cmp	x8, #4
	b.hi	LBB0_10
; %bb.1:
	mov	x21, 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, [x21]
	str	w8, [x19]
	ldr	w8, [x21, #4]
	str	w8, [x20]
	ldr	w0, [x21, #8]
	b	LBB0_11
LBB0_3:
	add	x0, x21, #16
	mov	x1, x19
	mov	x2, x20
	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
	b	_hid_sensor_read_samp_freq_value
LBB0_4:
	add	x20, x21, #16
	mov	x0, x20
	mov	w1, #1
	bl	_hid_sensor_power_state
	ldr	x8, [x21, #24]
	ldr	x9, [x22]
	lsl	x10, x9, #3
	ldr	w3, [x8, x10]
	tbnz	w3, #31, LBB0_9
; %bb.5:
Lloh2:
	adrp	x10, _gyro_3d_addresses@GOTPAGE
Lloh3:
	ldr	x10, [x10, _gyro_3d_addresses@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldr	w2, [x10, x9, lsl #2]
	add	x8, x8, x9, lsl #3
	ldr	w8, [x8, #4]
Lloh5:
	adrp	x9, _HID_USAGE_SENSOR_GYRO_3D@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HID_USAGE_SENSOR_GYRO_3D@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh7:
	ldr	w1, [x9]
Lloh8:
	adrp	x9, _SENSOR_HUB_SYNC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SENSOR_HUB_SYNC@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x9]
	lsr	w5, w8, #31
	bl	_sensor_hub_input_attr_get_raw_value
	str	w0, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_hid_sensor_power_state
	b	LBB0_7
LBB0_6:
	ldr	w8, [x21, #12]
	str	w8, [x19]
LBB0_7:
Lloh11:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_8:
	add	x0, x21, #16
	mov	x1, x19
	mov	x2, x20
	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
	b	_hid_sensor_read_raw_hyst_value
LBB0_9:
	str	wzr, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_hid_sensor_power_state
LBB0_10:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_gyro_3d_addresses,8,3          ; @gyro_3d_addresses
	.comm	_HID_USAGE_SENSOR_GYRO_3D,4,2   ; @HID_USAGE_SENSOR_GYRO_3D
	.comm	_SENSOR_HUB_SYNC,4,2            ; @SENSOR_HUB_SYNC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.no_dead_strip	_gyro_3d_read_raw
.subsections_via_symbols
