	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regex_new                      ## -- Begin function regex_new
	.p2align	4, 0x90
_regex_new:                             ## @regex_new
	.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
	movl	$1, %edi
	movl	$12, %esi
	callq	_scalloc
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_sstrdup
	movl	%eax, 8(%r14)
	movq	_PCRE_UTF8@GOTPCREL(%rip), %rcx
	movq	_PCRE_UCP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	(%rcx), %ebx
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%r9d, %r9d
	callq	_pcre_compile2
	movl	%eax, (%r14)
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	leaq	-56(%rbp), %r13
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$32, -48(%rbp)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PCRE_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_pcre_compile2
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	leaq	-56(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_pcre_study
	movl	%eax, 4(%r14)
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_ELOG
	jmp	LBB0_6
LBB0_7:
	movl	-44(%rbp), %esi
	movq	-56(%rbp), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_ELOG
	movq	%r14, %rdi
	callq	_regex_free
	xorl	%r14d, %r14d
LBB0_6:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCRE_UTF8,4,2                  ## @PCRE_UTF8
	.comm	_PCRE_UCP,4,2                   ## @PCRE_UCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCRE regular expression compilation failed at %d: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"PCRE regular expression studying failed: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regex_new                      ; -- Begin function regex_new
	.p2align	2
_regex_new:                             ; @regex_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x0
	mov	w0, #1
	mov	w1, #12
	bl	_scalloc
	mov	x19, x0
	mov	x0, x20
	bl	_sstrdup
Lloh0:
	adrp	x22, _PCRE_UTF8@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PCRE_UTF8@GOTPAGEOFF]
	str	w0, [x19, #8]
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _PCRE_UCP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PCRE_UCP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w21, w9, w8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #20
	add	x3, sp, #24
	add	x4, sp, #16
	mov	x0, x20
	mov	x1, x21
	mov	x5, #0
	bl	_pcre_compile2
	str	w0, [x19]
	cbnz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #20]
	cmp	w8, #32
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x22]
	bic	w21, w21, w8
	b	LBB0_1
LBB0_4:
	add	x2, sp, #24
	mov	w1, #0
	bl	_pcre_study
	str	w0, [x19, #4]
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_7
; %bb.5:
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ELOG
	b	LBB0_7
LBB0_6:
	ldr	x8, [sp, #24]
	ldr	w9, [sp, #16]
	stp	x9, x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ELOG
	mov	x0, x19
	bl	_regex_free
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCRE_UTF8,4,2                  ; @PCRE_UTF8
	.comm	_PCRE_UCP,4,2                   ; @PCRE_UCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCRE regular expression compilation failed at %d: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"PCRE regular expression studying failed: %s\n"

.subsections_via_symbols
