	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prefix_write
_prefix_write:                          ## @prefix_write
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_BIO_get_data
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rax, %r14
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	$1, %eax
	testq	%r15, %r15
	je	LBB0_23
## %bb.4:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	cmpb	$10, -1(%r15,%rbx)
	sete	%al
	movl	%eax, 8(%r14)
LBB0_7:
	movq	%r12, %rdi
	callq	_BIO_next
	movl	%eax, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BIO_write_ex                   ## TAILCALL
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	testq	%r15, %r15
	je	LBB0_24
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	cmpl	$0, 8(%r14)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r12, %rdi
	callq	_BIO_next
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	(%r14), %r13
	movq	%r13, %rdi
	callq	_strlen
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	%rax, %rdx
	leaq	-56(%rbp), %rcx
	callq	_BIO_write_ex
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, 8(%r14)
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx,%rax), %r14d
	cmpb	$10, %r14b
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	incq	%rax
	cmpq	%rax, %r15
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rax
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r13d, %r13d
	cmpb	$10, %r14b
	sete	%r13b
	addq	%rax, %r13
	je	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	$0, -56(%rbp)
	movq	%r12, %rdi
	callq	_BIO_next
	movl	%eax, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	leaq	-56(%rbp), %rcx
	callq	_BIO_write_ex
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	-56(%rbp), %rax
	addq	%rax, %rbx
	subq	%rax, %r15
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, (%rcx)
	subq	%rax, %r13
	jne	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpb	$10, %r14b
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_9
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, 8(%r14)
	jmp	LBB0_9
LBB0_22:
	xorl	%eax, %eax
LBB0_23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	$1, %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_prefix_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prefix_write
_prefix_write:                          ; @prefix_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_BIO_get_data
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
	ldrb	w8, [x8]
	cbz	w8, LBB0_6
; %bb.3:
	str	xzr, [x19]
	mov	w26, #1
	cbnz	x20, LBB0_10
; %bb.4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	add	x8, x20, x21
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	cset	w8, eq
	str	w8, [x23, #8]
LBB0_8:
	mov	x0, x22
	bl	_BIO_next
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_BIO_write_ex
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
	cbz	x20, LBB0_5
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_BIO_next
	mov	x24, x0
	ldr	x25, [x23]
	mov	x0, x25
	bl	_strlen
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x24
	mov	x1, x25
	bl	_BIO_write_ex
	cbz	w0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	str	wzr, [x23, #8]
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, #0
LBB0_14:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w25, [x21, x8]
	cmp	w25, #10
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x8, x8, #1
	cmp	x20, x8
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x20
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w25, #10
	cinc	x24, x8, eq
	cbz	x24, LBB0_20
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	xzr, [sp, #8]
	mov	x0, x22
	bl	_BIO_next
	add	x3, sp, #8
	mov	x1, x21
	mov	x2, x24
	bl	_BIO_write_ex
	cbz	w0, LBB0_5
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x8, [sp, #8]
	add	x21, x21, x8
	sub	x20, x20, x8
	ldr	x9, [x19]
	add	x9, x9, x8
	str	x9, [x19]
	subs	x24, x24, x8
	b.ne	LBB0_18
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w25, #10
	b.ne	LBB0_9
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=1
	str	w26, [x23, #8]
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_prefix_write
.subsections_via_symbols
