	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_cigar
_push_cigar:                            ## @push_cigar
	.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	%r8d, %ebx
	movl	%ecx, %r15d
	movq	%rdx, %rax
	movq	%rdi, %r14
	movslq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movl	-4(%rax,%rcx,4), %edx
	movl	%edx, %edi
	andl	$15, %edi
	cmpl	%r15d, %edi
	jne	LBB0_2
## %bb.5:
	shll	$4, %ebx
	addl	%ebx, %edx
	movl	%edx, -4(%rax,%rcx,4)
	jmp	LBB0_6
LBB0_2:
	cmpl	(%rsi), %ecx
	jne	LBB0_4
## %bb.3:
	leal	(%rcx,%rcx), %edx
	testl	%ecx, %ecx
	movl	$4, %ecx
	cmovnel	%edx, %ecx
	movl	%ecx, (%rsi)
	shll	$2, %ecx
	movq	%rax, %rdi
	movl	%ecx, %esi
	callq	_realloc
	movl	(%r14), %ecx
LBB0_4:
	shll	$4, %ebx
	orl	%r15d, %ebx
	leal	1(%rcx), %edx
	movl	%edx, (%r14)
	movslq	%ecx, %rcx
	movl	%ebx, (%rax,%rcx,4)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_push_cigar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_cigar
_push_cigar:                            ; @push_cigar
	.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, x4
	mov	x20, x3
	mov	x21, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	sxtw	x9, w8
	sub	x9, x9, #1
	ldr	w10, [x2, x9, lsl #2]
	and	w11, w10, #0xf
	cmp	w11, w20
	b.ne	LBB0_3
; %bb.2:
	add	w8, w10, w19, lsl #4
	str	w8, [x2, x9, lsl #2]
	b	LBB0_6
LBB0_3:
	ldr	w9, [x1]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
	lsl	w9, w8, #1
	mov	w10, #4
	cmp	w8, #0
	csel	w8, w10, w9, eq
	str	w8, [x1]
	lsl	w1, w8, #2
	mov	x0, x2
	bl	_realloc
	mov	x2, x0
	ldr	w8, [x21]
LBB0_5:
	orr	w9, w20, w19, lsl #4
	add	w10, w8, #1
	str	w10, [x21]
	str	w9, [x2, w8, sxtw #2]
LBB0_6:
	mov	x0, x2
	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	_push_cigar
.subsections_via_symbols
