	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_alts_for_forming_states
_process_alts_for_forming_states:       ## @process_alts_for_forming_states
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_rm_oneof@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	xorl	%edi, %edi
	testl	%edx, %edx
	sete	%dil
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_REGEXP_ONEOF
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.2:
	incq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %r12d
	movq	%r15, %rdi
	callq	_REGEXP_ONEOF
	movq	8(%rax), %rax
	movq	(%rax,%r12,8), %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_process_alts_for_forming_states
	decq	%rbx
	cmpq	$1, %rbx
	ja	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	callq	_get_free_alt_state
	movq	_alt_state_being_formed@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movl	$1, %edi
	movl	%r14d, %esi
	callq	_get_free_state
	movq	_state_being_formed@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	_curr_ainsn@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rcx)
	movq	(%rbx), %rcx
	movq	(%rax), %rax
	movq	%rcx, (%rax)
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_process_seq_for_forming_states
	movq	(%rbx), %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_finish_forming_alt_state       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rm_oneof,8,3                   ## @rm_oneof
	.comm	_alt_state_being_formed,8,3     ## @alt_state_being_formed
	.comm	_state_being_formed,4,2         ## @state_being_formed
	.comm	_curr_ainsn,8,3                 ## @curr_ainsn
	.no_dead_strip	_process_alts_for_forming_states
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_alts_for_forming_states
_process_alts_for_forming_states:       ; @process_alts_for_forming_states
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _rm_oneof@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rm_oneof@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	cmp	w2, #0
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x20
	bl	_REGEXP_ONEOF
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	add	x21, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w21, #2
	mov	x0, x20
	bl	_REGEXP_ONEOF
	ldr	x8, [x0, #8]
	ldr	x0, [x8, w22, uxtw #3]
	mov	x1, x19
	mov	w2, #1
	bl	_process_alts_for_forming_states
	sub	x21, x21, #1
	cmp	x21, #1
	b.hi	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_get_free_alt_state
Lloh3:
	adrp	x21, _alt_state_being_formed@GOTPAGE
Lloh4:
	ldr	x21, [x21, _alt_state_being_formed@GOTPAGEOFF]
	str	x0, [x21]
	mov	w0, #1
	mov	x1, x19
	bl	_get_free_state
Lloh5:
	adrp	x8, _state_being_formed@GOTPAGE
Lloh6:
	ldr	x8, [x8, _state_being_formed@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	ldr	x8, [x21]
	str	w0, [x8, #8]
Lloh8:
	adrp	x9, _curr_ainsn@GOTPAGE
Lloh9:
	ldr	x9, [x9, _curr_ainsn@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	x10, [x10]
	str	x10, [x8]
	ldr	x8, [x21]
	ldr	x9, [x9]
	str	x8, [x9]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_process_seq_for_forming_states
	ldr	x0, [x21]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_finish_forming_alt_state
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_rm_oneof,8,3                   ; @rm_oneof
	.comm	_alt_state_being_formed,8,3     ; @alt_state_being_formed
	.comm	_state_being_formed,4,2         ; @state_being_formed
	.comm	_curr_ainsn,8,3                 ; @curr_ainsn
	.no_dead_strip	_process_alts_for_forming_states
.subsections_via_symbols
