	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function history_parse
_history_parse:                         ## @history_parse
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdx, %rdi
	callq	_svn_branch__history_create_empty
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdx
	leaq	-176(%rbp), %rsi
	leaq	-164(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	movq	%rbx, %r8
	callq	_svn_stream_readline
	movl	%eax, %edi
	callq	_SVN_ERR
	xorl	%edi, %edi
	cmpl	$0, -164(%rbp)
	sete	%dil
	callq	_SVN_ERR_ASSERT
	movq	-176(%rbp), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-168(%rbp), %rdx
	xorl	%eax, %eax
	callq	_sscanf
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_SVN_ERR_ASSERT
	cmpl	$0, -168(%rbp)
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	-176(%rbp), %rsi
	leaq	L_.str(%rip), %rdx
	leaq	-164(%rbp), %rcx
	movq	-200(%rbp), %r8                 ## 8-byte Reload
	callq	_svn_stream_readline
	movl	%eax, %edi
	callq	_SVN_ERR
	xorl	%edi, %edi
	cmpl	$0, -164(%rbp)
	sete	%dil
	callq	_SVN_ERR_ASSERT
	movq	-176(%rbp), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-184(%rbp), %rdx
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_sscanf
	xorl	%edi, %edi
	cmpl	$2, %eax
	sete	%dil
	callq	_SVN_ERR_ASSERT
	movl	(%r15), %eax
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_apr_pstrdup
	movq	%r15, %rbx
	movq	%r14, %r15
	movl	%eax, %r14d
	movl	-184(%rbp), %edi
	leaq	-160(%rbp), %rsi
	movq	%r12, %rdx
	callq	_svn_branch__rev_bid_create
	movl	-180(%rbp), %edi                ## 4-byte Reload
	movl	%r14d, %esi
	movq	%r15, %r14
	movq	%rbx, %r15
	movl	%eax, %edx
	callq	_svn_hash_sets
	incl	%r13d
	cmpl	-168(%rbp), %r13d
	jl	LBB0_2
LBB0_3:
	movq	-192(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, (%rax)
LBB0_5:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"history: parents %d"

L_.str.2:                               ## @.str.2
	.asciz	"parent: r%ld.%99s"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function history_parse
_history_parse:                         ; @history_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x0, x2
	bl	_svn_branch__history_create_empty
	mov	x23, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x1, sp, #40
	add	x3, sp, #36
	mov	x0, x22
	mov	x4, x20
	bl	_svn_stream_readline
	bl	_SVN_ERR
	ldr	w8, [sp, #36]
	cmp	w8, #0
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	x8, [sp, #40]
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #32
	bl	_sscanf
	cmp	w0, #1
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	w8, [sp, #32]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w28, #0
Lloh7:
	adrp	x24, l_.str@PAGE
Lloh8:
	add	x24, x24, l_.str@PAGEOFF
	add	x19, sp, #52
Lloh9:
	adrp	x25, l_.str.2@PAGE
Lloh10:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #40
	add	x3, sp, #36
	mov	x0, x22
	mov	x2, x24
	mov	x4, x20
	bl	_svn_stream_readline
	bl	_SVN_ERR
	ldr	w8, [sp, #36]
	cmp	w8, #0
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	x8, [sp, #40]
	ldr	w0, [x8]
	str	x19, [sp]
	add	x2, sp, #28
	mov	x1, x25
	bl	_sscanf
	cmp	w0, #2
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	w26, [x23]
	add	x1, sp, #52
	mov	x0, x21
	bl	_apr_pstrdup
	mov	x27, x0
	ldr	w0, [sp, #28]
	add	x1, sp, #52
	mov	x2, x21
	bl	_svn_branch__rev_bid_create
	mov	x2, x0
	mov	x0, x26
	mov	x1, x27
	bl	_svn_hash_sets
	add	w28, w28, #1
	ldr	w8, [sp, #32]
	cmp	w28, w8
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_5
; %bb.4:
	str	x23, [x8]
LBB0_5:
Lloh11:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"history: parents %d"

l_.str.2:                               ; @.str.2
	.asciz	"parent: r%ld.%99s"

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