	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bmi160_set_odr
_bmi160_set_odr:                        ## @bmi160_set_odr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bmi160_odr_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	%esi, %r9d
	movq	%r9, %rax
	shlq	$4, %rax
	movl	(%r8,%rax), %esi
	testl	%esi, %esi
	jle	LBB0_5
## %bb.1:
	movq	8(%r8,%rax), %r8
	shlq	$2, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rax
	cmpq	%rax, %rsi
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%r8,%rax)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, 4(%r8,%rax)
	jne	LBB0_4
## %bb.6:
	movl	(%rdi), %edi
	movq	_bmi160_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r9,8), %edx
	movl	4(%rcx,%r9,8), %esi
	movl	8(%r8,%rax), %ecx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bmi160_odr_table,8,3           ## @bmi160_odr_table
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_bmi160_regs,8,3                ## @bmi160_regs
	.no_dead_strip	_bmi160_set_odr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bmi160_set_odr
_bmi160_set_odr:                        ; @bmi160_set_odr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _bmi160_odr_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bmi160_odr_table@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	mov	w8, w1
	lsl	x9, x8, #4
	ldr	w9, [x10, x9]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	add	x10, x10, x8, lsl #4
	ldr	x10, [x10, #8]
	add	x10, x10, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #12
	subs	x9, x9, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x10, #-8]
	cmp	w11, w2
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w11, [x10, #-4]
	cmp	w11, w3
	b.ne	LBB0_2
; %bb.5:
	ldr	w0, [x0]
Lloh3:
	adrp	x9, _bmi160_regs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bmi160_regs@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x9, x8, lsl #3
	ldp	w2, w1, [x8]
	ldr	w3, [x10]
	b	_regmap_update_bits
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bmi160_odr_table,8,3           ; @bmi160_odr_table
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_bmi160_regs,8,3                ; @bmi160_regs
	.no_dead_strip	_bmi160_set_odr
.subsections_via_symbols
