	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_to_merged_file
_copy_to_merged_file:                   ## @copy_to_merged_file
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rdi
	callq	_svn_pool_create
	movq	%rax, %r12
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	subq	%rbx, %r14
	jle	LBB0_5
## %bb.1:
	leaq	-80(%rbp), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_svn_pool_clear
	movq	_APR_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, (%rsp)
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movq	%r12, %r9
	callq	_svn_io_file_readline
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -80(%rbp)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r15, %r14
	jne	LBB0_2
## %bb.4:
	movq	%r14, %r15
LBB0_5:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jle	LBB0_6
## %bb.7:
	xorl	%ebx, %ebx
	leaq	-104(%rbp), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_svn_pool_clear
	movq	_APR_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, (%rsp)
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r12, %r9
	callq	_svn_io_file_readline
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-96(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rdi
	callq	_svn_stringbuf_appendcstr
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rax
	movl	8(%rax), %esi
	movq	(%rax), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_io_file_write_full
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-104(%rbp), %rax
	movq	-48(%rbp), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, -80(%rbp)
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%rbx, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.14:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_6:
	xorl	%ebx, %ebx
LBB0_15:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_svn_pool_destroy
	addq	%r14, %r15
	addq	%rbx, %r15
	movq	%r15, (%r13)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_16
LBB0_11:
	movq	_SVN_ERR_IO_WRITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SIZE_MAX,4,2               ## @APR_SIZE_MAX
	.comm	_SVN_ERR_IO_WRITE_ERROR,4,2     ## @SVN_ERR_IO_WRITE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not write data to merged file"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_copy_to_merged_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_to_merged_file
_copy_to_merged_file:                   ; @copy_to_merged_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x22, x4
	mov	x25, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	mov	x0, x6
	bl	_svn_pool_create
	mov	x21, x0
Lloh0:
	adrp	x26, _APR_SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x26, [x26, _APR_SIZE_MAX@GOTPAGEOFF]
	subs	x27, x25, x19
	b.le	LBB0_13
; %bb.1:
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_svn_pool_clear
	ldr	w4, [x26]
	add	x1, sp, #24
	add	x3, sp, #16
	mov	x0, x23
	mov	x2, #0
	mov	x5, x21
	mov	x6, x21
	bl	_svn_io_file_readline
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	cmp	x27, x25
	b.ne	LBB0_2
; %bb.4:
	mov	x25, x27
LBB0_5:
	cmp	x22, #1
	b.lt	LBB0_14
LBB0_6:
	mov	x27, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_svn_pool_clear
	ldr	w4, [x26]
	add	x1, sp, #24
	mov	x2, sp
	add	x3, sp, #16
	mov	x0, x23
	mov	x5, x21
	mov	x6, x21
	bl	_svn_io_file_readline
	bl	_SVN_ERR
	ldr	x1, [sp]
	cbz	x1, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #24]
	bl	_svn_stringbuf_appendcstr
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #24]
	ldr	w1, [x8, #8]
	ldr	x2, [x8]
	add	x3, sp, #8
	mov	x0, x24
	mov	x4, x21
	bl	_svn_io_file_write_full
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	ldr	x9, [sp, #24]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #1
	cmp	x22, x27
	b.ne	LBB0_7
; %bb.12:
	mov	x27, x22
	b	LBB0_15
LBB0_13:
	mov	x25, #0
	cmp	x22, #1
	b.ge	LBB0_6
LBB0_14:
	mov	x27, #0
LBB0_15:
	mov	x0, x21
	bl	_svn_pool_destroy
	add	x8, x25, x19
	add	x8, x8, x27
	str	x8, [x20]
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_17
LBB0_16:
Lloh5:
	adrp	x8, _SVN_ERR_IO_WRITE_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_ERR_IO_WRITE_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
LBB0_17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SIZE_MAX,4,2               ; @APR_SIZE_MAX
	.comm	_SVN_ERR_IO_WRITE_ERROR,4,2     ; @SVN_ERR_IO_WRITE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not write data to merged file"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_copy_to_merged_file
.subsections_via_symbols
