	.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
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_MAC0@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	_AFLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ecx, %edx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rdi, %rax
	movq	_rmt_states@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	notl	%edx
	andl	%ecx, %edx
	movslq	%edx, %rcx
	movl	(%rdi,%rcx,4), %edx
	movq	_rmt_events@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movslq	%esi, %r14
	movl	(%rcx,%r14,4), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_DB_RMT
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_rmt_fsm
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	%eax, %ebx
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %r14
	.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	(%r13), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_DB_RMT
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_rmt_fsm
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	%eax, %ebx
	jne	LBB0_2
LBB0_3:
	movq	%r15, %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 event %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
	.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
Lloh0:
	adrp	x22, _MAC0@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAC0@GOTPAGEOFF]
	ldr	x8, [x0]
	ldr	x9, [x22]
	ldr	w8, [x8, x9, lsl #2]
Lloh2:
	adrp	x23, _AFLAG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AFLAG@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh4:
	adrp	x24, l_.str.1@PAGE
Lloh5:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh6:
	adrp	x25, l_.str.2@PAGE
Lloh7:
	add	x25, x25, l_.str.2@PAGEOFF
	tst	w9, w8
Lloh8:
	adrp	x26, _rmt_states@GOTPAGE
Lloh9:
	ldr	x26, [x26, _rmt_states@GOTPAGEOFF]
	ldr	x10, [x26]
	bic	w8, w8, w9
	ldr	w2, [x10, w8, sxtw #2]
	csel	x1, x25, x24, eq
Lloh10:
	adrp	x27, _rmt_events@GOTPAGE
Lloh11:
	ldr	x27, [x27, _rmt_events@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	w3, [x8, w20, sxtw #2]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DB_RMT
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w21, [x8, x9, lsl #2]
	mov	x0, x19
	mov	x1, x20
	bl	_rmt_fsm
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w21, w8
	b.eq	LBB0_3
; %bb.1:
Lloh14:
	adrp	x20, l_.str@PAGE
Lloh15:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23]
	tst	w9, w8
	csel	x1, x25, x24, eq
	ldr	x10, [x26]
	bic	w8, w8, w9
	ldr	w2, [x10, w8, sxtw #2]
	ldr	x8, [x27]
	ldr	w3, [x8]
	mov	x0, x20
	bl	_DB_RMT
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w21, [x8, x9, lsl #2]
	mov	x0, x19
	mov	w1, #0
	bl	_rmt_fsm
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w21, w8
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	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	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RMT : state %s%s event %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
	.comm	_rmt_events,8,3                 ; @rmt_events
.subsections_via_symbols
