	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tl_string_buffer_extend
_tl_string_buffer_extend:               ## @tl_string_buffer_extend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.4:
	addl	%esi, %esi
	movl	%esi, (%rbx)
	movl	4(%rbx), %edi
	callq	_realloc
	movl	%eax, 4(%rbx)
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_3:
	movq	_TL_STRING_BUFFER_MIN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, (%rbx)
	callq	_malloc
	movl	%eax, 4(%rbx)
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tl_string_buffer_extend: b->size (%d)\n"

	.comm	_TL_STRING_BUFFER_MIN_SIZE,4,2  ## @TL_STRING_BUFFER_MIN_SIZE
	.no_dead_strip	_tl_string_buffer_extend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tl_string_buffer_extend
_tl_string_buffer_extend:               ; @tl_string_buffer_extend
	.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	x19, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.3:
	lsl	w1, w8, #1
	str	w1, [x19]
	ldr	w0, [x19, #4]
	bl	_realloc
	str	w0, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_assert
LBB0_4:
Lloh8:
	adrp	x8, _TL_STRING_BUFFER_MIN_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TL_STRING_BUFFER_MIN_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	w0, [x19]
	bl	_malloc
	str	w0, [x19, #4]
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tl_string_buffer_extend: b->size (%d)\n"

	.comm	_TL_STRING_BUFFER_MIN_SIZE,4,2  ; @TL_STRING_BUFFER_MIN_SIZE
	.no_dead_strip	_tl_string_buffer_extend
.subsections_via_symbols
