	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function accel_3d_capture_sample
_accel_3d_capture_sample:               ## @accel_3d_capture_sample
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rdi
	movq	%rcx, %r14
	movl	%esi, %ebx
	callq	_platform_get_drvdata
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	xorl	%r12d, %r12d
	leal	-129(%rbx), %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.4:
	movslq	%ebx, %rax
	movq	_CHANNEL_SCAN_INDEX_X@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rax, %rcx
	movl	(%r14), %eax
	movq	8(%r15), %rdx
	movl	%eax, -524(%rdx,%rcx,4)
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	cmpl	$128, %ebx
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_hid_sensor_convert_timestamp
	movl	%eax, 4(%r15)
LBB0_3:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CHANNEL_SCAN_INDEX_X,4,2       ## @CHANNEL_SCAN_INDEX_X
	.no_dead_strip	_accel_3d_capture_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function accel_3d_capture_sample
_accel_3d_capture_sample:               ; @accel_3d_capture_sample
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x0, x4
	mov	x20, x3
	mov	x22, x1
	bl	_platform_get_drvdata
	bl	_iio_priv
	mov	x21, x0
	sub	w8, w22, #129
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	mov	w19, #0
Lloh0:
	adrp	x8, _CHANNEL_SCAN_INDEX_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_SCAN_INDEX_X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w22, w8
	ldr	w9, [x20]
	ldr	x10, [x21, #8]
	sub	w8, w8, #131
	str	w9, [x10, w8, sxtw #2]
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
	cmp	w22, #128
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_hid_sensor_convert_timestamp
	str	w0, [x21, #4]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CHANNEL_SCAN_INDEX_X,4,2       ; @CHANNEL_SCAN_INDEX_X
	.no_dead_strip	_accel_3d_capture_sample
.subsections_via_symbols
