	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function buffer_write_string
_buffer_write_string:                   ## @buffer_write_string
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	%esi, -20(%rbp)
	xorl	%edi, %edi
	cmpl	$16777216, %esi                 ## imm = 0x1000000
	setb	%dil
	callq	_assert
	movq	%rbx, %rdi
	movl	$254, %esi
	callq	_buffer_write_char
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	xorl	%eax, %eax
	callq	_buffer_write_data
	movl	-20(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_buffer_write_data
	movq	%rbx, %rdi
	callq	_buffer_write_pad
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_buffer_write_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function buffer_write_string
_buffer_write_string:                   ; @buffer_write_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x2
	mov	x20, x0
	stur	w1, [x29, #-20]
	lsr	w8, w1, #24
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	mov	w1, #254
	bl	_buffer_write_char
	mov	w8, #3
	sub	x9, x29, #20
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_buffer_write_data
	ldur	w8, [x29, #-20]
	stp	x19, x8, [sp]
	mov	x0, x20
	bl	_buffer_write_data
	mov	x0, x20
	bl	_buffer_write_pad
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_buffer_write_string
.subsections_via_symbols
