	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function close_file
_close_file:                            ## @close_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rsi, (%rdi)
	movq	48(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	setne	%r12b
	jmp	LBB0_6
LBB0_2:
	cmpq	$0, 64(%rbx)
	je	LBB0_5
## %bb.3:
	cmpl	$0, 56(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	movb	$1, %r12b
	testq	%rax, %rax
	je	LBB0_18
LBB0_6:
	cmpl	$0, 76(%rbx)
	je	LBB0_7
## %bb.16:
	testq	%rdi, %rdi
	je	LBB0_18
LBB0_17:
	movq	%r14, %rsi
	callq	_svn_ra_serf__request_body_cleanup
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_18:
	movl	36(%rbx), %edi
	callq	_apr_hash_count
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_apr_pcalloc
	movq	%r14, 24(%rax)
	movl	16(%rbx), %ecx
	movl	%ecx, 20(%rax)
	movl	40(%rbx), %ecx
	movl	%ecx, 16(%rax)
	movq	8(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movl	36(%rbx), %edx
	movl	%edx, 4(%rax)
	movl	32(%rbx), %edx
	movl	%edx, (%rax)
	movl	4(%rcx), %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_proppatch_resource
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_20:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_24
## %bb.21:
	cmpq	$0, 24(%rbx)
	je	LBB0_24
## %bb.22:
	movq	_svn_checksum_md5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	movq	%r14, %rcx
	callq	_svn_checksum_parse_hex
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movq	24(%rbx), %rsi
	callq	_svn_checksum_match
	testl	%eax, %eax
	je	LBB0_23
LBB0_24:
	movq	8(%rbx), %rax
	decl	(%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	movq	%r14, %rsi
	callq	_svn_ra_serf__create_handler
	movq	%rax, %r15
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r15)
	movl	40(%rbx), %eax
	movl	%eax, 68(%r15)
	movq	_svn_ra_serf__expect_empty_body@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	movq	%r15, 56(%r15)
	testb	%r12b, %r12b
	je	LBB0_9
## %bb.8:
	movq	_create_empty_put_body@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	%rbx, 40(%r15)
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movl	72(%rbx), %edi
	callq	_svn_stream_close
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	48(%r15), %rdi
	movq	%r15, %rsi
	addq	$40, %rsi
	movq	48(%rbx), %rdx
	callq	_svn_ra_serf__request_body_get_delegate
	movq	_SVN_SVNDIFF_MIME_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	movq	%rax, 8(%r15)
	movq	_setup_put_headers@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	%rbx, 24(%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_svn_ra_serf__context_run_one
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, 64(%rbx)
	je	LBB0_13
## %bb.11:
	cmpl	$0, 56(%rbx)
	je	LBB0_12
LBB0_13:
	movl	$204, %eax
	cmpl	%eax, 16(%r15)
	jne	LBB0_26
LBB0_15:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_17
	jmp	LBB0_18
LBB0_23:
	movq	-48(%rbp), %r15
	movq	24(%rbx), %r12
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %r13d
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	callq	_svn_dirent_local_style
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_svn_checksum_mismatch_err
	jmp	LBB0_25
LBB0_12:
	movl	$201, %eax
	cmpl	%eax, 16(%r15)
	je	LBB0_15
LBB0_26:
	movq	%r15, %rdi
	callq	_svn_ra_serf__unexpected_status
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PUT"

	.comm	_svn_ra_serf__expect_empty_body,4,2 ## @svn_ra_serf__expect_empty_body
	.comm	_create_empty_put_body,4,2      ## @create_empty_put_body
L_.str.1:                               ## @.str.1
	.asciz	"text/plain"

	.comm	_SVN_SVNDIFF_MIME_TYPE,8,3      ## @SVN_SVNDIFF_MIME_TYPE
	.comm	_setup_put_headers,4,2          ## @setup_put_headers
	.comm	_svn_checksum_md5,4,2           ## @svn_checksum_md5
L_.str.2:                               ## @.str.2
	.asciz	"Checksum mismatch for '%s'"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function close_file
_close_file:                            ; @close_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x1, [x0]
	ldr	x0, [x0, #48]
	cbz	x0, LBB0_4
; %bb.1:
	cmp	x8, #0
	cset	w22, ne
	ldr	w8, [x20, #76]
	cbz	w8, LBB0_8
LBB0_2:
	cbz	x0, LBB0_17
LBB0_3:
	mov	x1, x19
	bl	_svn_ra_serf__request_body_cleanup
	bl	_SVN_ERR
	b	LBB0_17
LBB0_4:
	ldr	x9, [x20, #64]
	cbz	x9, LBB0_6
; %bb.5:
	ldr	w9, [x20, #56]
Lloh3:
	adrp	x10, _TRUE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	w9, #0
	csel	x8, x10, x8, eq
LBB0_6:
	cbz	x8, LBB0_17
; %bb.7:
	mov	w22, #1
	ldr	w8, [x20, #76]
	cbnz	w8, LBB0_2
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	mov	x1, x19
	bl	_svn_ra_serf__create_handler
	mov	x21, x0
Lloh6:
	adrp	x8, l_.str@PAGE
Lloh7:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x0]
	ldr	w8, [x20, #40]
Lloh8:
	adrp	x9, _svn_ra_serf__expect_empty_body@GOTPAGE
Lloh9:
	ldr	x9, [x9, _svn_ra_serf__expect_empty_body@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #64]
	str	x0, [x0, #56]
	cbz	w22, LBB0_10
; %bb.9:
Lloh11:
	adrp	x8, _create_empty_put_body@GOTPAGE
Lloh12:
	ldr	x8, [x8, _create_empty_put_body@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x21, #48]
	str	x20, [x21, #40]
Lloh14:
	adrp	x8, l_.str.1@PAGE
Lloh15:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
	ldr	w0, [x20, #72]
	bl	_svn_stream_close
	bl	_SVN_ERR
	add	x0, x21, #48
	add	x1, x21, #40
	ldr	x2, [x20, #48]
	bl	_svn_ra_serf__request_body_get_delegate
Lloh16:
	adrp	x8, _SVN_SVNDIFF_MIME_TYPE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SVN_SVNDIFF_MIME_TYPE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
LBB0_11:
	str	x8, [x21, #8]
Lloh19:
	adrp	x8, _setup_put_headers@GOTPAGE
Lloh20:
	ldr	x8, [x8, _setup_put_headers@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x21, #32]
	str	x20, [x21, #24]
	mov	x0, x21
	mov	x1, x19
	bl	_svn_ra_serf__context_run_one
	bl	_SVN_ERR
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w8, [x20, #56]
	cbz	w8, LBB0_14
LBB0_13:
	mov	w8, #204
	b	LBB0_15
LBB0_14:
	mov	w8, #201
LBB0_15:
	ldr	w9, [x21, #16]
	cmp	w9, w8
	b.ne	LBB0_24
; %bb.16:
	ldr	x0, [x20, #48]
	cbnz	x0, LBB0_3
LBB0_17:
	ldr	w0, [x20, #36]
	bl	_apr_hash_count
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x19
	mov	w1, #32
	bl	_apr_pcalloc
	mov	x1, x0
	str	x19, [x0, #24]
	ldr	w8, [x20, #16]
	ldr	w9, [x20, #40]
	stp	w9, w8, [x0, #16]
	ldr	x8, [x20, #8]
	str	x8, [x0, #8]
	ldr	d0, [x20, #32]
	str	d0, [x0]
	ldr	w0, [x8, #4]
	mov	x2, x19
	bl	_proppatch_resource
	bl	_SVN_ERR
LBB0_19:
	ldr	x2, [x20]
	cbz	x2, LBB0_22
; %bb.20:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_22
; %bb.21:
Lloh22:
	adrp	x8, _svn_checksum_md5@GOTPAGE
Lloh23:
	ldr	x8, [x8, _svn_checksum_md5@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x3, x19
	bl	_svn_checksum_parse_hex
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	ldr	x1, [x20, #24]
	bl	_svn_checksum_match
	cbz	w0, LBB0_25
LBB0_22:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
Lloh25:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8]
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_24:
	mov	x0, x21
	bl	_svn_ra_serf__unexpected_status
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_svn_error_trace
LBB0_25:
	ldr	x21, [sp, #8]
	ldr	x22, [x20, #24]
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x23, x0
	ldr	w0, [x20, #16]
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x23
	bl	_svn_checksum_mismatch_err
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PUT"

	.comm	_svn_ra_serf__expect_empty_body,4,2 ; @svn_ra_serf__expect_empty_body
	.comm	_create_empty_put_body,4,2      ; @create_empty_put_body
l_.str.1:                               ; @.str.1
	.asciz	"text/plain"

	.comm	_SVN_SVNDIFF_MIME_TYPE,8,3      ; @SVN_SVNDIFF_MIME_TYPE
	.comm	_setup_put_headers,4,2          ; @setup_put_headers
	.comm	_svn_checksum_md5,4,2           ; @svn_checksum_md5
l_.str.2:                               ; @.str.2
	.asciz	"Checksum mismatch for '%s'"

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