	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doemit
_doemit:                                ## @doemit
	.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
	cmpq	$0, (%rdi)
	jne	LBB0_5
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rdx, %rdx
	sete	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	cmpq	%rcx, %rax
	jb	LBB0_4
## %bb.2:
	incq	%rcx
	shrq	%rcx
	leal	(%rcx,%rcx,2), %esi
	movq	%rbx, %rdi
	callq	_enlarge
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
LBB0_4:
	movq	32(%rbx), %rcx
	movl	%r15d, (%rcx,%rax,4)
	movq	24(%rbx), %rcx
	movq	%r14, (%rcx,%rax,8)
	incq	8(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_doemit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doemit
_doemit:                                ; @doemit
	.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
	ldr	x8, [x0]
	cbnz	x8, LBB0_5
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x2, #0
	cset	w0, eq
	bl	_assert
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.lo	LBB0_4
; %bb.2:
	add	x8, x9, #1
	lsr	x8, x8, #1
	add	w1, w8, w8, lsl #1
	mov	x0, x19
	bl	_enlarge
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
LBB0_4:
	ldp	x10, x9, [x19, #24]
	str	w21, [x9, x8, lsl #2]
	str	x20, [x10, x8, lsl #3]
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_doemit
.subsections_via_symbols
