	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Buf_AddBytes                   ## -- Begin function Buf_AddBytes
	.p2align	4, 0x90
_Buf_AddBytes:                          ## @Buf_AddBytes
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movslq	(%rdi), %r12
	leal	(%r12,%r15), %r13d
	xorl	%edi, %edi
	cmpl	4(%rbx), %r13d
	setge	%dil
	callq	___predict_false
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %edi
	leal	16(%r15), %esi
	callq	_max
	addl	4(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	8(%rbx), %rdi
	movl	%eax, %esi
	callq	_bmake_realloc
	movq	%rax, 8(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	8(%rbx), %rax
LBB0_3:
	leaq	(%rax,%r12,8), %rdi
	movl	%r13d, (%rbx)
	movslq	%r15d, %rax
	movq	$0, (%rdi,%rax,8)
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Buf_AddBytes                   ; -- Begin function Buf_AddBytes
	.p2align	2
_Buf_AddBytes:                          ; @Buf_AddBytes
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldp	w22, w8, [x0]
                                        ; kill: def $w22 killed $w22 def $x22
	sxtw	x22, w22
	add	w23, w22, w1
	cmp	w23, w8
	cset	w0, ge
	bl	___predict_false
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21, #4]
	add	w1, w19, #16
	bl	_max
	ldr	w8, [x21, #4]
	add	w1, w8, w0
	str	w1, [x21, #4]
	ldr	x0, [x21, #8]
	bl	_bmake_realloc
	str	x0, [x21, #8]
	b	LBB0_3
LBB0_2:
	ldr	x0, [x21, #8]
LBB0_3:
	add	x0, x0, x22, lsl #3
	str	w23, [x21]
	str	xzr, [x0, w19, sxtw #3]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memcpy
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
