	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_regexp
_compile_regexp:                        ## @compile_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	%rbx
	subq	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_REG_NEWLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	40(%rsi), %eax
	movl	%eax, 40(%rdi)
	movdqu	24(%rsi), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqu	%xmm0, 24(%rdi)
	movq	(%rdi), %rdi
	movq	8(%rbx), %rdx
	xorl	%esi, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%r14)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_3:
	movq	(%rbx), %rdi
	movq	8(%rbx), %rsi
	callq	_is_fixed
	movl	%eax, 16(%rbx)
	cmpq	$0, 32(%rbx)
	jne	LBB0_5
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.7:
	cmpl	$0, (%r14)
	je	LBB0_10
## %bb.8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_21
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_compile_pcre2_pattern          ## TAILCALL
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_21
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_compile_fixed_regexp           ## TAILCALL
LBB0_10:
	cmpq	$0, 16(%r14)
	je	LBB0_13
## %bb.11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_21
## %bb.12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_compile_pcre1_regexp           ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
	cmpq	$0, 24(%rbx)
	movl	$0, %edx
	je	LBB0_15
## %bb.14:
	movq	_REG_ICASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_15:
	orl	%r15d, %edx
	cmpq	$0, 8(%r14)
	je	LBB0_17
## %bb.16:
	movq	_REG_EXTENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:
	orl	%eax, %edx
	leaq	20(%rbx), %r14
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_regcomp
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	leaq	-1056(%rbp), %r15
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_regerror
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_compile_regexp_failed
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_NEWLINE,4,2                ## @REG_NEWLINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"given pattern contains NULL byte (via -f <file>). This is only supported with -P under PCRE v2"

	.comm	_REG_ICASE,4,2                  ## @REG_ICASE
	.comm	_REG_EXTENDED,4,2               ## @REG_EXTENDED
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.no_dead_strip	_compile_regexp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_regexp
_compile_regexp:                        ; @compile_regexp
	.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
	sub	sp, sp, #1040
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _REG_NEWLINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_NEWLINE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w8, [x1, #40]
	str	w8, [x0, #40]
	ldur	q0, [x1, #24]
	ext.16b	v0, v0, v0, #8
	stur	q0, [x0, #24]
	ldr	x0, [x0]
	ldr	x2, [x19, #8]
	mov	w1, #0
	bl	_memchr
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_3:
	ldp	x0, x1, [x19]
	bl	_is_fixed
	str	w0, [x19, #16]
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_8
; %bb.4:
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.6:
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	add	sp, sp, #1040
	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	_compile_pcre2_pattern
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	add	sp, sp, #1040
	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	_compile_fixed_regexp
LBB0_10:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_13
; %bb.11:
	ldur	x8, [x29, #-40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	add	sp, sp, #1040
	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	_compile_pcre1_regexp
LBB0_13:
	ldr	x8, [x19, #24]
Lloh17:
	adrp	x9, _REG_ICASE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _REG_ICASE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	orr	w8, w8, w21
	ldr	x9, [x20, #8]
Lloh20:
	adrp	x10, _REG_EXTENDED@GOTPAGE
Lloh21:
	ldr	x10, [x10, _REG_EXTENDED@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w2, w8, w9
	add	x20, x19, #20
	ldr	x1, [x19]
	mov	x0, x20
	bl	_regcomp
	cbz	w0, LBB0_15
; %bb.14:
	add	x2, sp, #8
	mov	x1, x20
	mov	w3, #1024
	bl	_regerror
	add	x1, sp, #8
	mov	x0, x19
	bl	_compile_regexp_failed
LBB0_15:
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	add	sp, sp, #1040
	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_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_NEWLINE,4,2                ; @REG_NEWLINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"given pattern contains NULL byte (via -f <file>). This is only supported with -P under PCRE v2"

	.comm	_REG_ICASE,4,2                  ; @REG_ICASE
	.comm	_REG_EXTENDED,4,2               ; @REG_EXTENDED
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.no_dead_strip	_compile_regexp
.subsections_via_symbols
