	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_initial_state
_create_initial_state:                  ## @create_initial_state
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	72(%rdi), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rsi
	movl	%esi, (%rdi)
	addq	48(%rdi), %rsi
	leaq	-64(%rbp), %rdi
	callq	_re_node_set_init_copy
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	movq	_REG_NOERROR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	setne	%dil
	xorl	%esi, %esi
	callq	_BE
	testq	%rax, %rax
	jne	LBB0_26
## %bb.1:
	cmpq	$0, 8(%r15)
	jle	LBB0_15
## %bb.2:
	movl	-64(%rbp), %r9d
	testl	%r9d, %r9d
	jle	LBB0_15
## %bb.3:
	xorl	%r12d, %r12d
	movq	_OP_BACK_REF@GOTPCREL(%rip), %r13
	movq	_OP_CLOSE_SUBEXP@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	movl	-64(%rbp), %r9d
	cmpl	%r9d, %r12d
	jge	LBB0_15
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	-56(%rbp), %rdx
	movslq	%r12d, %rax
	movslq	(%rdx,%rax,4), %r8
	movq	64(%r15), %rsi
	movq	%r8, %rax
	shlq	$4, %rax
	movq	(%rsi,%rax), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r9d, %r9d
	jle	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %rbx
	leaq	(%rsi,%rax), %r10
	addq	$8, %r10
	movl	%r9d, %eax
	xorl	%edi, %edi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=2
	incq	%rdi
	cmpq	%rdi, %rax
	je	LBB0_4
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rdx,%rdi,4), %rcx
	shlq	$4, %rcx
	cmpq	%rbx, (%rsi,%rcx)
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	8(%rsi,%rcx), %rcx
	cmpq	(%r10), %rcx
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r9d, %edi
	je	LBB0_4
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	cmpl	%r9d, %edi
	je	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	56(%r15), %rax
	movq	(%rax,%r8,8), %rax
	movl	(%rax), %ebx
	leaq	-64(%rbp), %rdi
	movl	%ebx, %esi
	callq	_re_node_set_contains
	testl	%eax, %eax
	jne	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	%ebx, %rsi
	addq	48(%r15), %rsi
	leaq	-64(%rbp), %rdi
	callq	_re_node_set_merge
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	_REG_NOERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_4
	jmp	LBB0_26
LBB0_15:
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_re_acquire_state_context
	movq	%rax, 16(%r15)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	xorl	%esi, %esi
	callq	_BE
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	movq	-48(%rbp), %rbx
	jmp	LBB0_26
LBB0_17:
	movq	16(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.18:
	movq	_CONTEXT_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rbx
	leaq	-64(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_re_acquire_state_context
	movq	%rax, 40(%r15)
	movq	_CONTEXT_NEWLINE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_re_acquire_state_context
	movq	%rax, 32(%r15)
	movq	_CONTEXT_BEGBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_re_acquire_state_context
	movq	%rax, 24(%r15)
	movl	$1, %edi
	cmpq	$0, 40(%r15)
	je	LBB0_22
## %bb.19:
	cmpq	$0, 32(%r15)
	movq	_REG_NOERROR@GOTPCREL(%rip), %rbx
	je	LBB0_23
## %bb.20:
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	jmp	LBB0_23
LBB0_21:
	movq	%rax, 24(%r15)
	movq	%rax, 32(%r15)
	movq	%rax, 40(%r15)
	movq	_REG_NOERROR@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_22:
	movq	_REG_NOERROR@GOTPCREL(%rip), %rbx
LBB0_23:
	xorl	%esi, %esi
	callq	_BE
	testq	%rax, %rax
	jne	LBB0_16
LBB0_25:
	leaq	-64(%rbp), %rdi
	callq	_re_node_set_free
	movq	(%rbx), %rbx
LBB0_26:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_NOERROR,8,3                ## @REG_NOERROR
	.comm	_OP_BACK_REF,8,3                ## @OP_BACK_REF
	.comm	_OP_CLOSE_SUBEXP,8,3            ## @OP_CLOSE_SUBEXP
	.comm	_CONTEXT_WORD,4,2               ## @CONTEXT_WORD
	.comm	_CONTEXT_NEWLINE,4,2            ## @CONTEXT_NEWLINE
	.comm	_CONTEXT_BEGBUF,4,2             ## @CONTEXT_BEGBUF
	.no_dead_strip	_create_initial_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_initial_state
_create_initial_state:                  ; @create_initial_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	ldr	x8, [x0, #72]
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	str	w8, [x0]
	ldr	x9, [x0, #48]
	add	x1, x9, x8
	add	x0, sp, #8
	bl	_re_node_set_init_copy
	mov	x20, x0
	str	x0, [sp, #24]
Lloh0:
	adrp	x21, _REG_NOERROR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_NOERROR@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, ne
	mov	w1, #0
	bl	_BE
	cbnz	x0, LBB0_26
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_16
; %bb.2:
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.3:
	mov	w24, #0
Lloh2:
	adrp	x22, _OP_BACK_REF@GOTPAGE
Lloh3:
	ldr	x22, [x22, _OP_BACK_REF@GOTPAGEOFF]
Lloh4:
	adrp	x23, _OP_CLOSE_SUBEXP@GOTPAGE
Lloh5:
	ldr	x23, [x23, _OP_CLOSE_SUBEXP@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	ldr	w8, [sp, #8]
	cmp	w24, w8
	b.ge	LBB0_16
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x10, [sp, #16]
	ldrsw	x9, [x10, w24, sxtw #2]
	ldr	x11, [x19, #64]
	lsl	x12, x9, #4
	ldr	x12, [x11, x12]
	ldr	x13, [x22]
	cmp	x12, x13
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x12, #0
	ldr	x13, [x23]
	add	x14, x11, x9, lsl #4
	add	x14, x14, #8
	mov	w15, w8
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x12, x12, #1
	cmp	x15, x12
	b.eq	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x16, [x10, x12, lsl #2]
	lsl	x17, x16, #4
	ldr	x17, [x11, x17]
	cmp	x17, x13
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x16, x11, x16, lsl #4
	ldr	x16, [x16, #8]
	ldr	x17, [x14]
	cmp	x16, x17
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w12, w8
	b.eq	LBB0_4
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w12, #0
	cmp	w12, w8
	b.eq	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #56]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w20, [x8]
	add	x0, sp, #8
	mov	x1, x20
	bl	_re_node_set_contains
	cbnz	w0, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w20
	ldr	x9, [x19, #48]
	add	x1, x9, x8
	add	x0, sp, #8
	bl	_re_node_set_merge
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w24, #0
	b	LBB0_4
LBB0_16:
	add	x0, sp, #24
	add	x2, sp, #8
	mov	x1, x19
	mov	w3, #0
	bl	_re_acquire_state_context
	str	x0, [x19, #16]
	cmp	x0, #0
	cset	w0, eq
	mov	w1, #0
	bl	_BE
	cbz	x0, LBB0_18
LBB0_17:
	ldr	x20, [sp, #24]
	b	LBB0_26
LBB0_18:
	ldr	x8, [x19, #16]
	ldr	x9, [x8]
	cbz	x9, LBB0_22
; %bb.19:
Lloh6:
	adrp	x8, _CONTEXT_WORD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONTEXT_WORD@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x0, sp, #24
	add	x2, sp, #8
	mov	x1, x19
	bl	_re_acquire_state_context
	str	x0, [x19, #40]
Lloh9:
	adrp	x20, _CONTEXT_NEWLINE@GOTPAGE
Lloh10:
	ldr	x20, [x20, _CONTEXT_NEWLINE@GOTPAGEOFF]
	ldr	w3, [x20]
	add	x0, sp, #24
	add	x2, sp, #8
	mov	x1, x19
	bl	_re_acquire_state_context
	str	x0, [x19, #32]
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _CONTEXT_BEGBUF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CONTEXT_BEGBUF@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x0, sp, #24
	add	x2, sp, #8
	mov	x1, x19
	bl	_re_acquire_state_context
	str	x0, [x19, #24]
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_23
; %bb.20:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_23
; %bb.21:
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_24
LBB0_22:
	stp	x8, x8, [x19, #24]
	str	x8, [x19, #40]
	b	LBB0_25
LBB0_23:
	mov	w0, #1
LBB0_24:
	mov	w1, #0
	bl	_BE
	cbnz	x0, LBB0_17
LBB0_25:
	add	x0, sp, #8
	bl	_re_node_set_free
	ldr	x20, [x21]
LBB0_26:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_27:
	mov	x20, x0
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_NOERROR,8,3                ; @REG_NOERROR
	.comm	_OP_BACK_REF,8,3                ; @OP_BACK_REF
	.comm	_OP_CLOSE_SUBEXP,8,3            ; @OP_CLOSE_SUBEXP
	.comm	_CONTEXT_WORD,4,2               ; @CONTEXT_WORD
	.comm	_CONTEXT_NEWLINE,4,2            ; @CONTEXT_NEWLINE
	.comm	_CONTEXT_BEGBUF,4,2             ; @CONTEXT_BEGBUF
	.no_dead_strip	_create_initial_state
.subsections_via_symbols
