	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compile                        ## -- Begin function compile
	.p2align	4, 0x90
_compile:                               ## @compile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_prog@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_compile_stream
	movq	$0, (%rax)
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_fixuplabel
	xorl	%eax, %eax
	callq	_uselabel
	movq	_appendnum@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	shll	$2, %edi
	callq	_malloc
	movq	_appends@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_4
LBB0_1:
	movq	_appends@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_4:
	movq	_maxnsub@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	4(,%rax,4), %edi
	callq	_malloc
	movq	_match@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_err                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_prog,4,2                       ## @prog
	.comm	_appendnum,4,2                  ## @appendnum
	.comm	_appends,8,3                    ## @appends
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

	.comm	_maxnsub,4,2                    ## @maxnsub
	.comm	_match,8,3                      ## @match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compile                        ; -- Begin function compile
	.p2align	2
_compile:                               ; @compile
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _prog@GOTPAGE
Lloh1:
	ldr	x19, [x19, _prog@GOTPAGEOFF]
	mov	x0, x19
	bl	_compile_stream
	str	xzr, [x0]
	ldr	w0, [x19]
	mov	x1, #0
	bl	_fixuplabel
	bl	_uselabel
Lloh2:
	adrp	x8, _appendnum@GOTPAGE
Lloh3:
	ldr	x8, [x8, _appendnum@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	lsl	w0, w8, #2
	bl	_malloc
Lloh5:
	adrp	x8, _appends@GOTPAGE
Lloh6:
	ldr	x8, [x8, _appends@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	cbnz	x0, LBB0_4
; %bb.2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _appends@GOTPAGE
Lloh11:
	ldr	x8, [x8, _appends@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
LBB0_4:
Lloh13:
	adrp	x8, _maxnsub@GOTPAGE
Lloh14:
	ldr	x8, [x8, _maxnsub@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w0, w8, #4
	bl	_malloc
Lloh16:
	adrp	x8, _match@GOTPAGE
Lloh17:
	ldr	x8, [x8, _match@GOTPAGEOFF]
Lloh18:
	str	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_err
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_prog,4,2                       ; @prog
	.comm	_appendnum,4,2                  ; @appendnum
	.comm	_appends,8,3                    ; @appends
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

	.comm	_maxnsub,4,2                    ; @maxnsub
	.comm	_match,8,3                      ; @match
.subsections_via_symbols
