	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_lsm6dsx_set_fifo_odr
_st_lsm6dsx_set_fifo_odr:               ## @st_lsm6dsx_set_fifo_odr
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r12
	movq	8(%r12), %rax
	movq	(%rax), %r14
	movq	(%rdi), %rbx
	shlq	$4, %rbx
	cmpq	$0, 8(%r14,%rbx)
	je	LBB0_7
## %bb.1:
	testl	%esi, %esi
	je	LBB0_4
## %bb.2:
	movl	8(%rdi), %esi
	leaq	-36(%rbp), %rdx
	callq	_st_lsm6dsx_check_odr
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movl	-36(%rbp), %edi
	jmp	LBB0_5
LBB0_7:
	xorl	%esi, %esi
	cmpq	$0, (%r12)
	je	LBB0_9
## %bb.8:
	movq	_ST_LSM6DSX_MAX_FIFO_ODR_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_9:
	movq	_ST_LSM6DSX_REG_FIFO_MODE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_ST_LSM6DSX_FIFO_ODR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_FIELD_PREP
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_st_lsm6dsx_update_bits_locked  ## TAILCALL
LBB0_4:
	movl	$0, -36(%rbp)
	xorl	%edi, %edi
LBB0_5:
	leaq	(%r14,%rbx), %r15
	addq	$8, %r15
	movl	(%r14,%rbx), %esi
	callq	_ST_LSM6DSX_SHIFT_VAL
	movq	(%r15), %rsi
	movl	(%r14,%rbx), %edx
	movq	%r12, %rdi
	movl	%eax, %ecx
	callq	_st_lsm6dsx_update_bits_locked
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_LSM6DSX_MAX_FIFO_ODR_VAL,4,2 ## @ST_LSM6DSX_MAX_FIFO_ODR_VAL
	.comm	_ST_LSM6DSX_REG_FIFO_MODE_ADDR,8,3 ## @ST_LSM6DSX_REG_FIFO_MODE_ADDR
	.comm	_ST_LSM6DSX_FIFO_ODR_MASK,4,2   ## @ST_LSM6DSX_FIFO_ODR_MASK
	.no_dead_strip	_st_lsm6dsx_set_fifo_odr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_lsm6dsx_set_fifo_odr
_st_lsm6dsx_set_fifo_odr:               ; @st_lsm6dsx_set_fifo_odr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	ldr	x22, [x0]
	add	x21, x20, x22, lsl #4
	ldr	x8, [x21, #8]!
	cbz	x8, LBB0_4
; %bb.1:
	cbz	w1, LBB0_5
; %bb.2:
	ldr	w1, [x0, #8]
	add	x2, sp, #12
	bl	_st_lsm6dsx_check_odr
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	w0, [sp, #12]
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ST_LSM6DSX_MAX_FIFO_ODR_VAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ST_LSM6DSX_MAX_FIFO_ODR_VAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w1, wzr, w9, eq
Lloh3:
	adrp	x8, _ST_LSM6DSX_REG_FIFO_MODE_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ST_LSM6DSX_REG_FIFO_MODE_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
Lloh6:
	adrp	x8, _ST_LSM6DSX_FIFO_ODR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ST_LSM6DSX_FIFO_ODR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_FIELD_PREP
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	add	sp, sp, #64
	b	_st_lsm6dsx_update_bits_locked
LBB0_5:
	mov	w0, #0
	str	wzr, [sp, #12]
LBB0_6:
	lsl	x22, x22, #4
	ldr	w1, [x20, x22]
	bl	_ST_LSM6DSX_SHIFT_VAL
	mov	x3, x0
	ldr	x1, [x21]
	ldr	w2, [x20, x22]
	mov	x0, x19
	bl	_st_lsm6dsx_update_bits_locked
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_LSM6DSX_MAX_FIFO_ODR_VAL,4,2 ; @ST_LSM6DSX_MAX_FIFO_ODR_VAL
	.comm	_ST_LSM6DSX_REG_FIFO_MODE_ADDR,8,3 ; @ST_LSM6DSX_REG_FIFO_MODE_ADDR
	.comm	_ST_LSM6DSX_FIFO_ODR_MASK,4,2   ; @ST_LSM6DSX_FIFO_ODR_MASK
	.no_dead_strip	_st_lsm6dsx_set_fifo_odr
.subsections_via_symbols
