	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nul_escape
_nul_escape:                            ## @nul_escape
	.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	(%rdi), %r12
	movslq	8(%rdi), %rcx
	leaq	(%r12,%rcx), %r13
	movq	%r12, %rax
	testq	%rcx, %rcx
	jle	LBB0_4
## %bb.1:
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%r13, %rax
	jb	LBB0_2
LBB0_4:
	cmpq	%r13, %rax
	je	LBB0_13
## %bb.5:
	movq	%rsi, %rdi
	callq	_svn_stringbuf_create_empty
	movq	%rax, %r14
	leaq	L_.str(%rip), %r15
	movq	%r12, %rbx
	cmpq	%r13, %r12
	jae	LBB0_10
	.p2align	4, 0x90
LBB0_7:
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%r13, %rbx
	jb	LBB0_8
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edx
	subl	%r12d, %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_svn_stringbuf_appendbytes
	cmpq	%r13, %rbx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_svn_stringbuf_appendcstr
	incq	%rbx
	movq	%rbx, %r12
	cmpq	%r13, %r12
	jb	LBB0_7
	jmp	LBB0_10
LBB0_12:
	movq	(%r14), %r12
LBB0_13:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"?\\000"

	.no_dead_strip	_nul_escape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nul_escape
_nul_escape:                            ; @nul_escape
	.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
	ldr	x19, [x0]
	ldrsw	x21, [x0, #8]
	add	x22, x19, x21
	mov	x8, x19
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cbz	w9, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x8, x22
	b.lo	LBB0_2
LBB0_4:
	cmp	x8, x22
	b.eq	LBB0_14
; %bb.5:
	mov	x0, x1
	bl	_svn_stringbuf_create_empty
	mov	x20, x0
	add	x23, x19, x21
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x24, x19
	cmp	x19, x22
	b.hs	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x23, x19
	mov	x24, x19
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x24]
	cbz	w9, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x24, x24, #1
	subs	x8, x8, #1
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x23
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w2, w24, w19
	mov	x0, x20
	mov	x1, x19
	bl	_svn_stringbuf_appendbytes
	cmp	x24, x22
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_svn_stringbuf_appendcstr
	add	x19, x24, #1
	b	LBB0_6
LBB0_13:
	ldr	x19, [x20]
LBB0_14:
	mov	x0, 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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"?\\000"

	.no_dead_strip	_nul_escape
.subsections_via_symbols
