	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen
_gen:                                   ## @gen
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	xorl	%edi, %edi
	cmpl	4(%rbx), %eax
	setle	%dil
	callq	_assert
	movl	(%rbx), %eax
	movl	4(%rbx), %esi
	cmpl	%esi, %eax
	jl	LBB0_4
## %bb.1:
	leal	(%rsi,%rsi), %eax
	movl	%eax, 4(%rbx)
	movq	8(%rbx), %rdi
	shll	$4, %esi
	orl	$8, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_3:
	movq	%r15, 8(%rbx)
	movl	(%rbx), %eax
	movl	4(%rbx), %esi
LBB0_4:
	xorl	%edi, %edi
	cmpl	%esi, %eax
	setl	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movq	%r14, (%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory while jitting"

	.no_dead_strip	_gen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen
_gen:                                   ; @gen
	.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	x19, x1
	mov	x20, x0
	ldp	w8, w9, [x0]
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	ldp	w9, w8, [x20]
	cmp	w9, w8
	b.lt	LBB0_4
; %bb.1:
	lsl	w9, w8, #1
	str	w9, [x20, #4]
	ldr	x0, [x20, #8]
	mov	w1, #8
	bfi	w1, w8, #4, #28
	bl	_realloc
	mov	x21, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	str	x21, [x20, #8]
	ldp	w9, w8, [x20]
LBB0_4:
	cmp	w9, w8
	cset	w0, lt
	bl	_assert
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldrsw	x9, [x20]
	add	w10, w9, #1
	str	w10, [x20]
	str	x19, [x8, x9, lsl #3]
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory while jitting"

	.no_dead_strip	_gen
.subsections_via_symbols
