	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resize_buffer
_resize_buffer:                         ## @resize_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$0, 8(%r14)
	sete	%dil
	callq	_gdb_assert
	movl	(%r14), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	cmpl	%ebx, %esi
	jg	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addl	%esi, %esi
	cmpl	%ebx, %esi
	jle	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%ebx, %esi
LBB0_4:
	movl	%esi, (%r14)
LBB0_5:
	movl	4(%r14), %edi
	callq	_xrealloc
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_resize_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resize_buffer
_resize_buffer:                         ; @resize_buffer
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_gdb_assert
	ldr	w1, [x19]
	cbz	w1, LBB0_3
; %bb.1:
	cmp	w1, w20
	b.gt	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w1, w1, #1
	cmp	w1, w20
	b.le	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x1, x20
LBB0_4:
	str	w1, [x19]
LBB0_5:
	ldr	w0, [x19, #4]
	bl	_xrealloc
	str	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_resize_buffer
.subsections_via_symbols
