	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma8452_get_event_regs
_mma8452_get_event_regs:                ## @mma8452_get_event_regs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	cmpl	$130, (%rsi)
	jne	LBB0_9
## %bb.2:
	cmpl	$129, %edx
	je	LBB0_7
## %bb.3:
	cmpl	$128, %edx
	jne	LBB0_9
## %bb.4:
	movq	(%rdi), %rax
	movq	_MMA8452_INT_TRANS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax)
	je	LBB0_7
## %bb.5:
	testl	%edx, 4(%rax)
	je	LBB0_7
## %bb.6:
	movq	_trans_ev_regs@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_ff_mt_ev_regs@GOTPCREL(%rip), %rax
LBB0_8:
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MMA8452_INT_TRANS,4,2          ## @MMA8452_INT_TRANS
	.comm	_trans_ev_regs,4,2              ## @trans_ev_regs
	.comm	_ff_mt_ev_regs,4,2              ## @ff_mt_ev_regs
	.no_dead_strip	_mma8452_get_event_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma8452_get_event_regs
_mma8452_get_event_regs:                ; @mma8452_get_event_regs
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_7
; %bb.1:
	ldr	w8, [x1]
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.2:
	cmp	w2, #129
	b.eq	LBB0_8
; %bb.3:
	cmp	w2, #128
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x0]
	ldr	w10, [x8]
Lloh0:
	adrp	x9, _MMA8452_INT_TRANS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMA8452_INT_TRANS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_9
; %bb.5:
	ldr	w8, [x8, #4]
	tst	w8, w9
	b.eq	LBB0_9
; %bb.6:
Lloh3:
	adrp	x8, _trans_ev_regs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _trans_ev_regs@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_8:
	mov	w0, #0
Lloh8:
	adrp	x8, _ff_mt_ev_regs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ff_mt_ev_regs@GOTPAGEOFF]
	str	x8, [x3]
	ret
LBB0_9:
Lloh10:
	adrp	x8, _ff_mt_ev_regs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ff_mt_ev_regs@GOTPAGEOFF]
LBB0_10:
	mov	w0, #0
	str	x8, [x3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MMA8452_INT_TRANS,4,2          ; @MMA8452_INT_TRANS
	.comm	_trans_ev_regs,4,2              ; @trans_ev_regs
	.comm	_ff_mt_ev_regs,4,2              ; @ff_mt_ev_regs
	.no_dead_strip	_mma8452_get_event_regs
.subsections_via_symbols
