	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_diff_open_patch_file       ## -- Begin function svn_diff_open_patch_file
	.p2align	4, 0x90
_svn_diff_open_patch_file:              ## @svn_diff_open_patch_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rdx, %rdi
	movl	$16, %esi
	callq	_apr_palloc
	movq	%rax, %rbx
	leaq	8(%rax), %rdi
	movq	_APR_READ@GOTPCREL(%rip), %rax
	movq	_APR_BUFFERED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movq	%r12, %r8
	callq	_svn_io_file_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	$0, (%rbx)
	movq	%rbx, (%r14)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_READ,4,2                   ## @APR_READ
	.comm	_APR_BUFFERED,4,2               ## @APR_BUFFERED
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_diff_open_patch_file       ; -- Begin function svn_diff_open_patch_file
	.p2align	2
_svn_diff_open_patch_file:              ; @svn_diff_open_patch_file
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	mov	w1, #16
	bl	_apr_palloc
	mov	x22, x0
	add	x0, x0, #8
Lloh0:
	adrp	x8, _APR_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_READ@GOTPAGEOFF]
Lloh2:
	adrp	x9, _APR_BUFFERED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _APR_BUFFERED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh6:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x4, x19
	bl	_svn_io_file_open
	bl	_SVN_ERR
	str	xzr, [x22]
	str	x22, [x21]
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_READ,4,2                   ; @APR_READ
	.comm	_APR_BUFFERED,4,2               ; @APR_BUFFERED
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
