	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecm                            ## -- Begin function ecm
	.p2align	4, 0x90
_ecm:                                   ## @ecm
	.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
	movl	(%rdi), %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	_ecm_states@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	notl	%edx
	andl	%ecx, %edx
	movslq	%edx, %rcx
	movl	(%rdi,%rcx,4), %edx
	movq	_ecm_events@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movslq	%esi, %r14
	movl	(%rcx,%r14,4), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_DB_ECM
	movl	(%r15), %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ecm_fsm
	movl	(%r15), %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	(%r13), %rdx
	notl	%ecx
	andl	%eax, %ecx
	movslq	%ecx, %rax
	movl	(%rdx,%rax,4), %edx
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_DB_ECM
	movl	(%r15), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ecm_fsm
	movl	(%r15), %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	_ecm_state_change               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ECM : state %s%s event %s"

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

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

	.comm	_ecm_states,8,3                 ## @ecm_states
	.comm	_ecm_events,8,3                 ## @ecm_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecm                            ; -- Begin function ecm
	.p2align	2
_ecm:                                   ; @ecm
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x22, _AFLAG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AFLAG@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh4:
	adrp	x24, l_.str.2@PAGE
Lloh5:
	add	x24, x24, l_.str.2@PAGEOFF
	tst	w9, w8
Lloh6:
	adrp	x25, _ecm_states@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ecm_states@GOTPAGEOFF]
	ldr	x10, [x25]
	bic	w8, w8, w9
	ldr	w2, [x10, w8, sxtw #2]
	csel	x1, x24, x23, eq
Lloh8:
	adrp	x26, _ecm_events@GOTPAGE
Lloh9:
	ldr	x26, [x26, _ecm_events@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	w3, [x8, w20, sxtw #2]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DB_ECM
	ldr	w21, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_ecm_fsm
	ldr	w8, [x19]
	cmp	w21, w8
	b.eq	LBB0_3
; %bb.1:
Lloh12:
	adrp	x20, l_.str@PAGE
Lloh13:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	tst	w9, w8
	csel	x1, x24, x23, eq
	ldr	x10, [x25]
	bic	w8, w8, w9
	ldr	w2, [x10, w8, sxtw #2]
	ldr	x8, [x26]
	ldr	w3, [x8]
	mov	x0, x20
	bl	_DB_ECM
	ldr	w21, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_ecm_fsm
	ldr	w8, [x19]
	cmp	w21, w8
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ecm_state_change
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ECM : state %s%s event %s"

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

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

	.comm	_ecm_states,8,3                 ; @ecm_states
	.comm	_ecm_events,8,3                 ; @ecm_events
.subsections_via_symbols
