	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma9553_init_events
_mma9553_init_events:                   ## @mma9553_init_events
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MMA9553_EVENTS_INFO_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, (%rdi)
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	8(%rdi), %rax
	cmpl	$1, %r8d
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	movl	$4, %edi
	xorl	%edx, %edx
	movq	_mma9553_events_info@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rsi
	addq	%rdi, %rsi
	addq	$-4, %rsi
	movq	%rsi, -8(%rax,%rdi,4)
	movl	$0, -16(%rax,%rdi,4)
	movq	(%rcx), %rsi
	addq	%rdi, %rsi
	movq	%rsi, 8(%rax,%rdi,4)
	movl	$0, (%rax,%rdi,4)
	addq	$2, %rdx
	addq	$8, %rdi
	cmpq	%rdx, %r9
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movq	_mma9553_events_info@GOTPCREL(%rip), %rcx
	leaq	(,%rdx,4), %rsi
	addq	(%rcx), %rsi
	shlq	$4, %rdx
	movq	%rsi, 8(%rax,%rdx)
	movl	$0, (%rax,%rdx)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMA9553_EVENTS_INFO_SIZE,4,2   ## @MMA9553_EVENTS_INFO_SIZE
	.comm	_mma9553_events_info,8,3        ## @mma9553_events_info
	.no_dead_strip	_mma9553_init_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma9553_init_events
_mma9553_init_events:                   ; @mma9553_init_events
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MMA9553_EVENTS_INFO_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMA9553_EVENTS_INFO_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	str	w10, [x0]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0, #8]
	add	x9, x9, #8
	lsl	x10, x10, #2
Lloh3:
	adrp	x11, _mma9553_events_info@GOTPAGE
Lloh4:
	ldr	x11, [x11, _mma9553_events_info@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	add	x12, x12, x8
	str	x12, [x9]
	stur	wzr, [x9, #-8]
	add	x8, x8, #4
	add	x9, x9, #16
	cmp	x10, x8
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MMA9553_EVENTS_INFO_SIZE,4,2   ; @MMA9553_EVENTS_INFO_SIZE
	.comm	_mma9553_events_info,8,3        ; @mma9553_events_info
	.no_dead_strip	_mma9553_init_events
.subsections_via_symbols
