	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function accel_3d_read_raw
_accel_3d_read_raw:                     ## @accel_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, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	callq	_iio_priv
	movq	16(%rax), %rdx
	movl	$0, (%r14)
	movl	$0, (%r15)
	addq	$-128, %r12
	cmpq	$4, %r12
	ja	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	addq	$16, %r13
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r12,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movl	4(%rbx), %eax
	movl	%eax, (%r15)
	movl	8(%rbx), %ebx
	jmp	LBB0_12
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_8:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %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	%rdx, %r15
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_hid_sensor_power_state
	movq	24(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rsi
	movl	(%rax,%rsi,8), %ecx
	testl	%ecx, %ecx
	js	LBB0_4
## %bb.3:
	movq	_accel_3d_addresses@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rsi,4), %edx
	movl	4(%rax,%rsi,8), %r9d
	movq	(%r13), %rdi
	movl	(%r15), %esi
	movq	_SENSOR_HUB_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	shrl	$31, %r9d
	callq	_sensor_hub_input_attr_get_raw_value
	movl	%eax, (%r14)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_hid_sensor_power_state
	jmp	LBB0_7
LBB0_6:
	movl	12(%rbx), %eax
	movl	%eax, (%r14)
LBB0_7:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_9:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %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, (%r14)
	xorl	%ebx, %ebx
	movq	%r13, %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	_accel_3d_addresses,8,3         ## @accel_3d_addresses
	.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	_accel_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 accel_3d_read_raw
_accel_3d_read_raw:                     ; @accel_3d_read_raw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	bl	_iio_priv
	mov	x20, x0
	ldr	x25, [x20, #16]!
	str	wzr, [x19]
	str	wzr, [x21]
	sub	x8, x24, #128
	cmp	x8, #4
	b.hi	LBB0_10
; %bb.1:
	mov	x23, 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, [x23]
	str	w8, [x19]
	ldr	w8, [x23, #4]
	str	w8, [x21]
	ldr	w0, [x23, #8]
	b	LBB0_11
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_hid_sensor_read_samp_freq_value
LBB0_4:
	mov	x0, x20
	mov	w1, #1
	bl	_hid_sensor_power_state
	ldr	x8, [x23, #24]
	ldr	x9, [x22]
	lsl	x10, x9, #3
	ldr	w3, [x8, x10]
	tbnz	w3, #31, LBB0_9
; %bb.5:
Lloh2:
	adrp	x10, _accel_3d_addresses@GOTPAGE
Lloh3:
	ldr	x10, [x10, _accel_3d_addresses@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldr	w2, [x10, x9, lsl #2]
	add	x8, x8, x9, lsl #3
	ldr	w8, [x8, #4]
	ldr	x0, [x20]
	ldr	w1, [x25]
Lloh5:
	adrp	x9, _SENSOR_HUB_SYNC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SENSOR_HUB_SYNC@GOTPAGEOFF]
Lloh7:
	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, [x23, #12]
	str	w8, [x19]
LBB0_7:
Lloh8:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 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:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.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	_accel_3d_addresses,8,3         ; @accel_3d_addresses
	.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	_accel_3d_read_raw
.subsections_via_symbols
