	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_compiled_pattern           ## -- Begin function get_compiled_pattern
	.p2align	4, 0x90
_get_compiled_pattern:                  ## @get_compiled_pattern
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ibufp@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movb	(%rcx), %al
	cmpb	$10, %al
	je	LBB0_6
## %bb.1:
	cmpb	$32, %al
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	leaq	1(%rcx), %rsi
	movq	%rsi, (%rdx)
	movb	1(%rcx), %cl
	cmpb	$10, %cl
	je	LBB0_6
## %bb.5:
	cmpb	%al, %cl
	je	LBB0_6
## %bb.8:
	movsbl	%al, %edi
	callq	_extract_pattern
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rax, %rbx
	movq	_get_compiled_pattern.expr(%rip), %rdi
	movq	_patlock@GOTPCREL(%rip), %r14
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.10:
	cmpq	$0, (%r14)
	jne	LBB0_16
## %bb.11:
	callq	_regfree
	movq	_get_compiled_pattern.expr(%rip), %rdi
	jmp	LBB0_12
LBB0_6:
	movq	_get_compiled_pattern.expr(%rip), %rax
	testq	%rax, %rax
	jne	LBB0_15
## %bb.7:
	leaq	L_.str.1(%rip), %rax
LBB0_3:
	movq	_errmsg@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_16:
	movl	$4, %edi
	callq	_malloc
	movq	%rax, %rdi
	movq	%rax, _get_compiled_pattern.expr(%rip)
	testq	%rax, %rax
	je	LBB0_17
LBB0_12:
	movq	$0, (%r14)
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_regcomp
	movl	%eax, %edi
	movq	_get_compiled_pattern.expr(%rip), %rax
	testl	%edi, %edi
	je	LBB0_15
## %bb.13:
	leaq	_get_compiled_pattern.error(%rip), %rbx
	movq	%rax, %rsi
	movq	%rbx, %rdx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_regerror
	movq	_errmsg@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_get_compiled_pattern.expr(%rip), %rdi
	callq	_free
	movq	$0, _get_compiled_pattern.expr(%rip)
	jmp	LBB0_14
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_get_compiled_pattern.expr,8,3 ## @get_compiled_pattern.expr
.zerofill __DATA,__bss,_get_compiled_pattern.error,1024,4 ## @get_compiled_pattern.error
	.comm	_ibufp,8,3                      ## @ibufp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid pattern delimiter"

	.comm	_errmsg,8,3                     ## @errmsg
L_.str.1:                               ## @.str.1
	.asciz	"no previous pattern"

	.comm	_patlock,8,3                    ## @patlock
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_compiled_pattern           ; -- Begin function get_compiled_pattern
	.p2align	2
_get_compiled_pattern:                  ; @get_compiled_pattern
	.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
Lloh0:
	adrp	x9, _ibufp@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ibufp@GOTPAGEOFF]
	ldr	x10, [x9]
	ldrb	w8, [x10]
	cmp	w8, #10
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #32
	b.ne	LBB0_3
; %bb.2:
	mov	x1, #0
Lloh2:
	adrp	x8, _errmsg@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh4:
	adrp	x9, l_.str@PAGE
Lloh5:
	add	x9, x9, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	add	x11, x10, #1
	str	x11, [x9]
	ldrb	w9, [x10, #1]
	cmp	w9, #10
	ccmp	w9, w8, #4, ne
	b.ne	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _get_compiled_pattern.expr@PAGE
Lloh7:
	ldr	x1, [x8, _get_compiled_pattern.expr@PAGEOFF]
	cbnz	x1, LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _errmsg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh10:
	adrp	x9, l_.str.1@PAGE
Lloh11:
	add	x9, x9, l_.str.1@PAGEOFF
LBB0_6:
	str	x9, [x8]
LBB0_7:
	mov	x0, x1
	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_8:
	sxtb	w0, w8
	bl	_extract_pattern
	cbz	x0, LBB0_12
; %bb.9:
	mov	x19, x0
	adrp	x20, _get_compiled_pattern.expr@PAGE
	ldr	x0, [x20, _get_compiled_pattern.expr@PAGEOFF]
Lloh12:
	adrp	x21, _patlock@GOTPAGE
Lloh13:
	ldr	x21, [x21, _patlock@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x8, [x21]
	cbnz	x8, LBB0_13
; %bb.11:
	bl	_regfree
	ldr	x0, [x20, _get_compiled_pattern.expr@PAGEOFF]
	b	LBB0_14
LBB0_12:
	mov	x1, #0
	b	LBB0_7
LBB0_13:
	mov	w0, #4
	bl	_malloc
	str	x0, [x20, _get_compiled_pattern.expr@PAGEOFF]
	cbz	x0, LBB0_16
LBB0_14:
	str	xzr, [x21]
	mov	x1, x19
	mov	w2, #0
	bl	_regcomp
	ldr	x1, [x20, _get_compiled_pattern.expr@PAGEOFF]
	cbz	w0, LBB0_7
; %bb.15:
Lloh14:
	adrp	x19, _get_compiled_pattern.error@PAGE
Lloh15:
	add	x19, x19, _get_compiled_pattern.error@PAGEOFF
	mov	x2, x19
	mov	w3, #1024
	bl	_regerror
Lloh16:
	adrp	x8, _errmsg@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh18:
	str	x19, [x8]
	ldr	x0, [x20, _get_compiled_pattern.expr@PAGEOFF]
	bl	_free
	mov	x1, #0
	str	xzr, [x20, _get_compiled_pattern.expr@PAGEOFF]
	b	LBB0_7
LBB0_16:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	mov	x1, #0
Lloh27:
	adrp	x8, _errmsg@GOTPAGE
Lloh28:
	ldr	x8, [x8, _errmsg@GOTPAGEOFF]
Lloh29:
	adrp	x9, l_.str.3@PAGE
Lloh30:
	add	x9, x9, l_.str.3@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_get_compiled_pattern.expr,8,3 ; @get_compiled_pattern.expr
.zerofill __DATA,__bss,_get_compiled_pattern.error,1024,0 ; @get_compiled_pattern.error
	.comm	_ibufp,8,3                      ; @ibufp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid pattern delimiter"

	.comm	_errmsg,8,3                     ; @errmsg
l_.str.1:                               ; @.str.1
	.asciz	"no previous pattern"

	.comm	_patlock,8,3                    ; @patlock
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"out of memory"

.subsections_via_symbols
