	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_func_prologue
_emit_func_prologue:                    ## @emit_func_prologue
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_emit
	movq	8(%r14), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_2
## %bb.1:
	movl	24(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_emit_noindent
LBB0_2:
	movl	24(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_emit_noindent
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
	leaq	L_.str.4(%rip), %rdi
	callq	_push
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
	movq	8(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.3:
	movl	20(%r14), %edi
	callq	_set_reg_nums
	xorl	%eax, %eax
	callq	_emit_regsave_area
	movq	%rax, %r15
	negl	%r15d
LBB0_4:
	movl	20(%r14), %edi
	movl	%r15d, %esi
	callq	_push_func_params
	movl	20(%r14), %edi
	callq	_vec_len
	movl	%eax, %ebx
	movl	16(%r14), %edi
	callq	_vec_len
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	shll	$3, %ebx
	subl	%ebx, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movl	%ebx, %esi
	callq	_vec_get
	movq	%rax, %r13
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	callq	_align
	movl	%eax, %r14d
	xorl	%edi, %edi
	testb	$7, %r14b
	sete	%dil
	callq	_assert
	subl	%r14d, %r15d
	movl	%r15d, (%r13)
	addl	%r14d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	incl	%ebx
	movl	16(%r14), %edi
	callq	_vec_len
	cmpl	%eax, %ebx
	jl	LBB0_6
## %bb.7:
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.8:
	leaq	L_.str.6(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_emit
	movq	_stackpos@GOTPCREL(%rip), %rax
	addl	%r12d, (%rax)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SAVE,4,2                       ## @SAVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".text"

L_.str.1:                               ## @.str.1
	.asciz	".global %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s:"

L_.str.3:                               ## @.str.3
	.asciz	"nop"

L_.str.4:                               ## @.str.4
	.asciz	"rbp"

L_.str.5:                               ## @.str.5
	.asciz	"mov #rsp, #rbp"

L_.str.6:                               ## @.str.6
	.asciz	"sub $%d, #rsp"

	.comm	_stackpos,4,2                   ## @stackpos
	.no_dead_strip	_emit_func_prologue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_func_prologue
_emit_func_prologue:                    ; @emit_func_prologue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_emit
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #16]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w1, [x19, #24]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_emit_noindent
LBB0_2:
	ldr	w1, [x19, #24]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_emit_noindent
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_emit
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_push
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_emit
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #20]
	bl	_set_reg_nums
	bl	_emit_regsave_area
	neg	w21, w0
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
	ldr	w0, [x19, #20]
	mov	x1, x21
	bl	_push_func_params
	ldr	w0, [x19, #20]
	bl	_vec_len
	mov	x22, x0
	ldr	w0, [x19, #16]
	bl	_vec_len
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.6:
	mov	w23, #0
	mov	w20, #0
	sub	w24, w21, w22, lsl #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_vec_get
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	mov	w1, #8
	bl	_align
	mov	x22, x0
	tst	w0, #0x7
	cset	w0, eq
	bl	_assert
	sub	w24, w24, w22
	str	w24, [x21]
	add	w23, w22, w23
	add	w20, w20, #1
	ldr	w0, [x19, #16]
	bl	_vec_len
	cmp	w20, w0
	b.lt	LBB0_7
; %bb.8:
	cbz	w23, LBB0_10
; %bb.9:
	str	x23, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_emit
Lloh14:
	adrp	x8, _stackpos@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stackpos@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w23
	str	w9, [x8]
LBB0_10:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SAVE,4,2                       ; @SAVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".text"

l_.str.1:                               ; @.str.1
	.asciz	".global %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s:"

l_.str.3:                               ; @.str.3
	.asciz	"nop"

l_.str.4:                               ; @.str.4
	.asciz	"rbp"

l_.str.5:                               ; @.str.5
	.asciz	"mov #rsp, #rbp"

l_.str.6:                               ; @.str.6
	.asciz	"sub $%d, #rsp"

	.comm	_stackpos,4,2                   ; @stackpos
	.no_dead_strip	_emit_func_prologue
.subsections_via_symbols
