	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_lsm6dsx_shub_get_odr_val
_st_lsm6dsx_shub_get_odr_val:           ## @st_lsm6dsx_shub_get_odr_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	movq	_ST_LSM6DSX_ODR_LIST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.4:
	movq	(%r8), %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	addq	$16, %rax
	cmpq	%rdi, %rcx
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%edi, %edi
LBB0_2:
	cmpl	%ecx, %edi
	jne	LBB0_3
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movq	(%r8), %rax
	movl	%edi, %ecx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rax
	movq	%rax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_LSM6DSX_ODR_LIST_SIZE,4,2   ## @ST_LSM6DSX_ODR_LIST_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_st_lsm6dsx_shub_get_odr_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_lsm6dsx_shub_get_odr_val
_st_lsm6dsx_shub_get_odr_val:           ; @st_lsm6dsx_shub_get_odr_val
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ST_LSM6DSX_ODR_LIST_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ST_LSM6DSX_ODR_LIST_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x10, #0
	ldr	x11, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cmp	x12, x1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	add	x11, x11, #16
	cmp	x9, x10
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w10, #0
LBB0_5:
	cmp	w10, w9
	b.ne	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_7:
	mov	w0, #0
	ldr	x8, [x8]
	add	x8, x8, w10, uxtw #4
	ldr	x8, [x8, #8]
	str	x8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_LSM6DSX_ODR_LIST_SIZE,4,2   ; @ST_LSM6DSX_ODR_LIST_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_st_lsm6dsx_shub_get_odr_val
.subsections_via_symbols
