	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_re
_compile_re:                            ## @compile_re
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_rflags@GOTPCREL(%rip), %rax
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_REG_ICASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_2:
	orl	(%rax), %ebx
	movl	$8, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_regcomp
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_linenum@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_fname@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_strregerror
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_errx
LBB0_6:
	movq	_maxnsub@GOTPCREL(%rip), %rax
	movq	(%r15), %rcx
	cmpq	%rcx, (%rax)
	jge	LBB0_8
## %bb.7:
	movq	%rcx, (%rax)
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rflags,4,2                     ## @rflags
	.comm	_REG_ICASE,4,2                  ## @REG_ICASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

L_.str.1:                               ## @.str.1
	.asciz	"%lu: %s: RE error: %s"

	.comm	_linenum,4,2                    ## @linenum
	.comm	_fname,4,2                      ## @fname
	.comm	_maxnsub,8,3                    ## @maxnsub
	.no_dead_strip	_compile_re
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_re
_compile_re:                            ; @compile_re
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _rflags@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rflags@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _REG_ICASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_ICASE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w1, #0
	csel	w9, wzr, w9, eq
	orr	w21, w9, w8
	mov	w0, #8
	bl	_malloc
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_regcomp
	cbz	w0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _linenum@GOTPAGE
Lloh9:
	ldr	x8, [x8, _linenum@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x8, _fname@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fname@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	mov	x1, x19
	bl	_strregerror
	mov	x4, x0
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	mov	x3, x21
	bl	_errx
LBB0_4:
Lloh16:
	adrp	x8, _maxnsub@GOTPAGE
Lloh17:
	ldr	x8, [x8, _maxnsub@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x9, [x19]
	cmp	x10, x9
	b.ge	LBB0_6
; %bb.5:
	str	x9, [x8]
LBB0_6:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_rflags,4,2                     ; @rflags
	.comm	_REG_ICASE,4,2                  ; @REG_ICASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

l_.str.1:                               ; @.str.1
	.asciz	"%lu: %s: RE error: %s"

	.comm	_linenum,4,2                    ; @linenum
	.comm	_fname,4,2                      ; @fname
	.comm	_maxnsub,8,3                    ; @maxnsub
	.no_dead_strip	_compile_re
.subsections_via_symbols
