	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmt                            ## -- Begin function rmt
	.p2align	4, 0x90
_rmt:                                   ## @rmt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_MAC0@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_AFLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rdx, %rsi
	movq	_rmt_states@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	notl	%ecx
	andl	%eax, %ecx
	movslq	%ecx, %rax
	movl	(%rdx,%rax,4), %edx
	leaq	L_.str(%rip), %rdi
	callq	_DB_RMT
	movq	_rmt_events@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %r14
	movq	(%rax,%r14,8), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%edx, %edx
	callq	_DB_RMT
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_rmt_fsm
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	%eax, %ebx
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %r14
	leaq	L_.str.3(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_AFLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rdx, %rsi
	movq	_rmt_states@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	notl	%ecx
	andl	%eax, %ecx
	movslq	%ecx, %rax
	movl	(%rdx,%rax,4), %edx
	movq	%r14, %rdi
	callq	_DB_RMT
	movq	_rmt_events@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_DB_RMT
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_rmt_fsm
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	%eax, %ebx
	jne	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rmt_state_change               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RMT : state %s%s"

	.comm	_MAC0,8,3                       ## @MAC0
	.comm	_AFLAG,4,2                      ## @AFLAG
L_.str.1:                               ## @.str.1
	.asciz	"ACTIONS "

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_rmt_states,8,3                 ## @rmt_states
L_.str.3:                               ## @.str.3
	.asciz	" event %s\n"

	.comm	_rmt_events,8,3                 ## @rmt_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmt                            ; -- Begin function rmt
	.p2align	2
_rmt:                                   ; @rmt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _MAC0@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAC0@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w8, [x8, x9, lsl #2]
Lloh2:
	adrp	x24, _AFLAG@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AFLAG@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh4:
	adrp	x25, l_.str.1@PAGE
Lloh5:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh6:
	adrp	x26, l_.str.2@PAGE
Lloh7:
	add	x26, x26, l_.str.2@PAGEOFF
	tst	w9, w8
	csel	x1, x26, x25, eq
Lloh8:
	adrp	x27, _rmt_states@GOTPAGE
Lloh9:
	ldr	x27, [x27, _rmt_states@GOTPAGEOFF]
	ldr	x10, [x27]
	bic	w8, w8, w9
	ldr	w2, [x10, w8, sxtw #2]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DB_RMT
Lloh12:
	adrp	x28, _rmt_events@GOTPAGE
Lloh13:
	ldr	x28, [x28, _rmt_events@GOTPAGEOFF]
	ldr	x8, [x28]
	ldr	x1, [x8, w20, sxtw #3]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w2, #0
	bl	_DB_RMT
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w22, [x8, x9, lsl #2]
	mov	x0, x19
	mov	x1, x20
	bl	_rmt_fsm
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w22, w8
	b.eq	LBB0_3
; %bb.1:
Lloh16:
	adrp	x20, l_.str@PAGE
Lloh17:
	add	x20, x20, l_.str@PAGEOFF
Lloh18:
	adrp	x21, l_.str.3@PAGE
Lloh19:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x24]
	tst	w9, w8
	csel	x1, x26, x25, eq
	ldr	x10, [x27]
	bic	w8, w8, w9
	ldr	w2, [x10, w8, sxtw #2]
	mov	x0, x20
	bl	_DB_RMT
	ldr	x8, [x28]
	ldr	x1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_DB_RMT
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w22, [x8, x9, lsl #2]
	mov	x0, x19
	mov	w1, #0
	bl	_rmt_fsm
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w22, w8
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_rmt_state_change
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RMT : state %s%s"

	.comm	_MAC0,8,3                       ; @MAC0
	.comm	_AFLAG,4,2                      ; @AFLAG
l_.str.1:                               ; @.str.1
	.asciz	"ACTIONS "

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_rmt_states,8,3                 ; @rmt_states
l_.str.3:                               ; @.str.3
	.asciz	" event %s\n"

	.comm	_rmt_events,8,3                 ; @rmt_events
.subsections_via_symbols
