	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_regexp
_parse_regexp:                          ## @parse_regexp
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strdup
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %r12d
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	movb	$0, (%rsi)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$44, (%r15,%rbx)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%rbx), %rsi
	leal	-1(%rbx), %edi
	cmpb	$92, (%r15,%rdi)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r15, %rdi
	movl	%r12d, %edx
	callq	_strlcpy
	jmp	LBB0_8
LBB0_9:
	movq	_re_head@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	testl	%r14d, %r14d
	jns	LBB0_10
	jmp	LBB0_19
LBB0_1:
	movq	_re_head@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	xorl	%r14d, %r14d
LBB0_10:
	incl	%r14d
	movq	%r15, %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %rbx
	movq	%rax, %r13
	cmpb	$126, (%r12)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%r12
	movl	$1, (%r13)
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, 8(%r13)
	addq	$4, %rbx
	movq	_REG_NOSUB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_REG_EXTENDED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_regcomp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_re_glue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_re_head@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_TAILQ_INSERT_TAIL
	movq	%r12, %rdi
	callq	_strlen
	cltq
	addq	%rax, %r12
	incq	%r12
	decl	%r14d
	jne	LBB0_11
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.21:
	movq	%r15, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	jmp	LBB0_13
LBB0_17:
	leaq	-112(%rbp), %r14
	movl	%eax, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	$64, %ecx
	callq	_regerror
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
LBB0_13:
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_re_head,4,2                    ## @re_head
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"calloc: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_REG_EXTENDED,4,2               ## @REG_EXTENDED
	.comm	_REG_NOSUB,4,2                  ## @REG_NOSUB
L_.str.1:                               ## @.str.1
	.asciz	"regcomp: %s\n"

	.comm	_re_glue,4,2                    ## @re_glue
	.no_dead_strip	_parse_regexp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_regexp
_parse_regexp:                          ; @parse_regexp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_strdup
	mov	x19, x0
	bl	_strlen
	cmp	w0, #0
	b.le	LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x22, #0
	mov	w21, #0
	mov	w23, w0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	strb	wzr, [x1]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	cmp	x23, x22
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x19, x22
	ldrb	w8, [x1]
	cmp	w8, #44
	ccmp	x22, #0, #4, eq
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w22, #1
	add	x0, x19, x8
	ldrb	w8, [x0]
	cmp	w8, #92
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x20
	bl	_strlcpy
	b	LBB0_3
LBB0_7:
Lloh3:
	adrp	x0, _re_head@GOTPAGE
Lloh4:
	ldr	x0, [x0, _re_head@GOTPAGEOFF]
	bl	_TAILQ_INIT
	tbz	w21, #31, LBB0_9
	b	LBB0_15
LBB0_8:
Lloh5:
	adrp	x0, _re_head@GOTPAGE
Lloh6:
	ldr	x0, [x0, _re_head@GOTPAGEOFF]
	bl	_TAILQ_INIT
	mov	w21, #0
LBB0_9:
	add	w24, w21, #1
Lloh7:
	adrp	x25, _REG_EXTENDED@GOTPAGE
Lloh8:
	ldr	x25, [x25, _REG_EXTENDED@GOTPAGEOFF]
Lloh9:
	adrp	x26, _REG_NOSUB@GOTPAGE
Lloh10:
	ldr	x26, [x26, _REG_NOSUB@GOTPAGEOFF]
	mov	w27, #1
Lloh11:
	adrp	x28, _re_glue@GOTPAGE
Lloh12:
	ldr	x28, [x28, _re_glue@GOTPAGEOFF]
	mov	x20, x19
Lloh13:
	adrp	x21, _re_head@GOTPAGE
Lloh14:
	ldr	x21, [x21, _re_head@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	cbz	x0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x0
	ldrb	w8, [x20]
	cmp	w8, #126
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x20, x20, #1
	str	w27, [x22]
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_strdup
	mov	x1, x0
	str	x0, [x22, #8]
	add	x23, x22, #4
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
	mov	x0, x23
	bl	_regcomp
	cbnz	w0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w2, [x28]
	mov	x0, x21
	mov	x1, x22
	bl	_TAILQ_INSERT_TAIL
	mov	x0, x20
	bl	_strlen
	add	w8, w0, #1
	add	x20, x20, w8, sxtw
	subs	w24, w24, #1
	b.ne	LBB0_10
LBB0_15:
	ldr	x8, [sp, #72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.16:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_free
LBB0_17:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
Lloh21:
	adrp	x8, _errno@GOTPAGE
Lloh22:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_19
LBB0_18:
	add	x2, sp, #8
	mov	x1, x23
	mov	w3, #64
	bl	_regerror
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
LBB0_19:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_re_head,4,2                    ; @re_head
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"calloc: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_REG_EXTENDED,4,2               ; @REG_EXTENDED
	.comm	_REG_NOSUB,4,2                  ; @REG_NOSUB
l_.str.1:                               ; @.str.1
	.asciz	"regcomp: %s\n"

	.comm	_re_glue,4,2                    ; @re_glue
	.no_dead_strip	_parse_regexp
.subsections_via_symbols
