	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_lsm6dsx_push_tagged_data
_st_lsm6dsx_push_tagged_data:           ## @st_lsm6dsx_push_tagged_data
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_4
## %bb.1:
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	_ST_LSM6DSX_ID_GYRO@GOTPCREL(%rip), %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	(%r15), %ebx
	movq	_ST_LSM6DSX_ID_EXT0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_BIT
	testl	%ebx, %eax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_5:
	movl	(%r15), %r13d
	movq	_ST_LSM6DSX_ID_EXT0@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_BIT
	testl	%r13d, %eax
	jne	LBB0_9
LBB0_6:
	movl	(%r15), %r13d
	movq	_ST_LSM6DSX_ID_EXT1@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_BIT
	testl	%r13d, %eax
	jne	LBB0_9
LBB0_7:
	movq	_ST_LSM6DSX_ID_EXT2@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_8:
	movq	_ST_LSM6DSX_ID_ACC@GOTPCREL(%rip), %rbx
LBB0_9:
	movq	8(%r15), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	_iio_priv
	addq	(%rax), %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_iio_push_to_buffers_with_timestamp
	xorl	%eax, %eax
LBB0_10:
	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_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_ST_LSM6DSX_ID_GYRO,8,3         ## @ST_LSM6DSX_ID_GYRO
	.comm	_ST_LSM6DSX_ID_ACC,8,3          ## @ST_LSM6DSX_ID_ACC
	.comm	_ST_LSM6DSX_ID_EXT0,8,3         ## @ST_LSM6DSX_ID_EXT0
	.comm	_ST_LSM6DSX_ID_EXT1,8,3         ## @ST_LSM6DSX_ID_EXT1
	.comm	_ST_LSM6DSX_ID_EXT2,8,3         ## @ST_LSM6DSX_ID_EXT2
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_st_lsm6dsx_push_tagged_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_lsm6dsx_push_tagged_data
_st_lsm6dsx_push_tagged_data:           ; @st_lsm6dsx_push_tagged_data
	.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
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x22, _ST_LSM6DSX_ID_GYRO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ST_LSM6DSX_ID_GYRO@GOTPAGEOFF]
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	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	w22, [x21]
Lloh4:
	adrp	x8, _ST_LSM6DSX_ID_EXT0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ST_LSM6DSX_ID_EXT0@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_4
; %bb.3:
	ldr	w23, [x21]
Lloh7:
	adrp	x22, _ST_LSM6DSX_ID_EXT1@GOTPAGE
Lloh8:
	ldr	x22, [x22, _ST_LSM6DSX_ID_EXT1@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_BIT
	tst	w0, w23
	b.ne	LBB0_9
LBB0_4:
Lloh9:
	adrp	x22, _ST_LSM6DSX_ID_EXT2@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ST_LSM6DSX_ID_EXT2@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_6:
	ldr	w23, [x21]
Lloh14:
	adrp	x22, _ST_LSM6DSX_ID_EXT0@GOTPAGE
Lloh15:
	ldr	x22, [x22, _ST_LSM6DSX_ID_EXT0@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_BIT
	tst	w0, w23
	b.ne	LBB0_9
; %bb.7:
	ldr	w22, [x21]
Lloh16:
	adrp	x23, _ST_LSM6DSX_ID_EXT1@GOTPAGE
Lloh17:
	ldr	x23, [x23, _ST_LSM6DSX_ID_EXT1@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_BIT
Lloh18:
	adrp	x8, _ST_LSM6DSX_ID_EXT2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ST_LSM6DSX_ID_EXT2@GOTPAGEOFF]
	tst	w0, w22
	csel	x22, x8, x23, eq
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x22, _ST_LSM6DSX_ID_ACC@GOTPAGE
Lloh21:
	ldr	x22, [x22, _ST_LSM6DSX_ID_ACC@GOTPAGEOFF]
LBB0_9:
	ldr	x8, [x21, #8]
	ldr	x9, [x22]
	ldr	x21, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_iio_priv
	ldr	x8, [x0]
	add	x2, x8, x20
	mov	x0, x21
	mov	x1, x19
	bl	_iio_push_to_buffers_with_timestamp
	mov	w0, #0
LBB0_10:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_ST_LSM6DSX_ID_GYRO,8,3         ; @ST_LSM6DSX_ID_GYRO
	.comm	_ST_LSM6DSX_ID_ACC,8,3          ; @ST_LSM6DSX_ID_ACC
	.comm	_ST_LSM6DSX_ID_EXT0,8,3         ; @ST_LSM6DSX_ID_EXT0
	.comm	_ST_LSM6DSX_ID_EXT1,8,3         ; @ST_LSM6DSX_ID_EXT1
	.comm	_ST_LSM6DSX_ID_EXT2,8,3         ; @ST_LSM6DSX_ID_EXT2
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_st_lsm6dsx_push_tagged_data
.subsections_via_symbols
