	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma8452_get_int_plus_micros_index
_mma8452_get_int_plus_micros_index:     ## @mma8452_get_int_plus_micros_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_7
## %bb.1:
	movl	%esi, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rsi), %r8
	movq	%rsi, %rax
	cmpq	$1, %r8
	jbe	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rsi
	movl	%esi, %r8d
	cmpl	%edx, (%rdi,%r8,8)
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ecx, 4(%rdi,%r8,8)
	jne	LBB0_2
## %bb.5:
	decl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mma8452_get_int_plus_micros_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma8452_get_int_plus_micros_index
_mma8452_get_int_plus_micros_index:     ; @mma8452_get_int_plus_micros_index
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w8, w1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x9, #1
	mov	x8, x9
	cmp	x10, #1
	b.ls	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x9, x8, #1
	and	x10, x9, #0xffffffff
	lsl	x11, x10, #3
	ldr	w11, [x0, x11]
	cmp	w11, w2
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x0, x10, lsl #3
	ldr	w10, [x10, #4]
	cmp	w10, w3
	b.ne	LBB0_2
; %bb.5:
	sub	w0, w8, #1
	ret
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mma8452_get_int_plus_micros_index
.subsections_via_symbols
