	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_single_patch
_parse_single_patch:                    ## @parse_single_patch
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	24(%rcx), %r15
	cmpq	$5, %rdx
	jb	LBB0_9
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movl	$64, %esi
	callq	_xcalloc
	movq	%rax, %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	8(%rdi), %eax
	movl	%eax, 56(%r14)
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_parse_fragment
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, (%r14)
	movl	%eax, 8(%r14)
	addq	48(%r14), %r12
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	addq	40(%r14), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addq	32(%r14), %rdx
	addq	24(%r14), %rdx
	movq	%r14, (%r15)
	addq	$16, %r14
	movl	%eax, %eax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, %rdi
	addq	%rax, %rbx
	subq	%rax, %r13
	movq	%r14, %r15
	cmpq	$4, %r13
	ja	LBB0_2
	jmp	LBB0_7
LBB0_9:
	movq	(%r14), %r9
	testq	%r9, %r9
	js	LBB0_10
## %bb.17:
	movq	8(%r14), %rax
	xorl	%edx, %edx
	testq	%rax, %rax
	js	LBB0_19
## %bb.18:
	xorl	%edi, %edi
LBB0_35:
	movl	%edi, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_3:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_7:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %r9
	testq	%r9, %r9
	js	LBB0_11
## %bb.8:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_5:
	movq	%r14, %rdi
	callq	_free
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %esi
	jmp	LBB0_26
LBB0_11:
	testq	%r12, %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_14
LBB0_12:
	movq	(%r15), %rax
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	cmpq	$0, 16(%rax)
	je	LBB0_15
LBB0_14:
	movq	$0, (%r14)
	xorl	%r9d, %r9d
LBB0_15:
	movq	8(%r14), %rax
	testq	%rax, %rax
	jns	LBB0_23
## %bb.16:
	leaq	8(%r14), %r8
	testq	%rsi, %rsi
	jne	LBB0_22
	jmp	LBB0_20
LBB0_19:
	leaq	8(%r14), %r8
	xorl	%r12d, %r12d
	xorl	%edi, %edi
LBB0_20:
	movq	(%r15), %rbx
	xorl	%esi, %esi
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.21:
	cmpq	$0, 16(%rbx)
	je	LBB0_23
LBB0_22:
	movq	$0, (%r8)
	xorl	%eax, %eax
LBB0_23:
	testq	%r9, %r9
	jle	LBB0_27
## %bb.24:
	testq	%r12, %r12
	je	LBB0_27
## %bb.25:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	16(%r14), %esi
	jmp	LBB0_26
LBB0_27:
	testq	%rax, %rax
	jle	LBB0_30
## %bb.28:
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.29:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	20(%r14), %esi
LBB0_26:
	movl	%eax, %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_30:
	testq	%rax, %rax
	jne	LBB0_35
## %bb.31:
	testq	%rsi, %rsi
	jne	LBB0_35
## %bb.32:
	testq	%rdx, %rdx
	je	LBB0_35
## %bb.33:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_verbosity_silent@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_35
## %bb.34:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rdi, %r15
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	16(%r14), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_fprintf_ln
	movq	%r15, %rdi
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"@@ -"

L_.str.1:                               ## @.str.1
	.asciz	"corrupt patch at line %d"

L_.str.2:                               ## @.str.2
	.asciz	"new file %s depends on old contents"

L_.str.3:                               ## @.str.3
	.asciz	"deleted file %s still has contents"

	.comm	_verbosity_silent,8,3           ## @verbosity_silent
	.comm	_stderr,4,2                     ## @stderr
L_.str.4:                               ## @.str.4
	.asciz	"** warning: file %s becomes empty but is not deleted"

	.no_dead_strip	_parse_single_patch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_single_patch
_parse_single_patch:                    ; @parse_single_patch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x3
	mov	x21, x0
	add	x11, x3, #24
	cmp	x2, #5
	b.lo	LBB0_7
; %bb.1:
	mov	x22, x2
	mov	x23, x1
	mov	x26, #0
	mov	x27, #0
	mov	x28, #0
	mov	x20, #0
	str	x11, [sp, #8]                   ; 8-byte Folded Spill
	mov	x19, x11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	mov	w1, #64
	bl	_xcalloc
	mov	x25, x0
	ldr	w8, [x21, #8]
	str	w8, [x0, #56]
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	mov	x4, x25
	bl	_parse_fragment
	cmp	w0, #0
	b.le	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x23, [x25]
	str	w0, [x25, #8]
	ldp	x9, x8, [x25, #40]
	add	x28, x8, x28
	add	x27, x9, x27
	ldp	x9, x8, [x25, #24]
	add	x8, x8, x26
	add	x26, x8, x9
	str	x25, [x19]
	add	x19, x25, #16
	mov	w8, w0
	add	x20, x20, x8
	add	x23, x23, x8
	sub	x22, x22, x8
	cmp	x22, #4
	b.hi	LBB0_2
LBB0_5:
	ldr	x8, [x24]
	tbnz	x8, #63, LBB0_13
; %bb.6:
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_19
LBB0_7:
	ldr	x8, [x24]
	tbnz	x8, #63, LBB0_11
; %bb.8:
	mov	x26, #0
	mov	x10, x24
	ldr	x9, [x10, #8]!
	tbnz	x9, #63, LBB0_17
; %bb.9:
	mov	x20, x26
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	mov	x20, #0
	mov	x27, #0
	mov	x26, #0
	b	LBB0_14
LBB0_12:
	mov	x0, x25
	bl	_free
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldr	w1, [x21, #8]
	b	LBB0_31
LBB0_13:
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	x28, LBB0_16
LBB0_14:
	ldr	x9, [x11]
	cbz	x9, LBB0_18
; %bb.15:
	mov	x28, #0
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_19
LBB0_16:
	mov	x8, #0
	str	xzr, [x24]
	b	LBB0_19
LBB0_17:
	mov	x28, x26
	mov	x20, x26
	b	LBB0_21
LBB0_18:
	mov	x28, #0
LBB0_19:
	mov	x10, x24
	ldr	x9, [x10, #8]!
	tbz	x9, #63, LBB0_24
; %bb.20:
	cbnz	x27, LBB0_23
LBB0_21:
	ldr	x11, [x11]
	cbz	x11, LBB0_27
; %bb.22:
	mov	x27, #0
	ldr	x11, [x11, #16]
	cbz	x11, LBB0_24
LBB0_23:
	mov	x9, #0
	str	xzr, [x10]
LBB0_24:
	cmp	x8, #1
	b.lt	LBB0_28
LBB0_25:
	cbz	x28, LBB0_28
; %bb.26:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	w1, [x24, #16]
	b	LBB0_31
LBB0_27:
	mov	x27, #0
	cmp	x8, #1
	b.ge	LBB0_25
LBB0_28:
	cmp	x9, #1
	b.lt	LBB0_32
; %bb.29:
	cbz	x27, LBB0_32
; %bb.30:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	ldr	w1, [x24, #20]
LBB0_31:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_error
LBB0_32:
	cbnz	x9, LBB0_10
; %bb.33:
	cbnz	x27, LBB0_10
; %bb.34:
	cbz	x26, LBB0_10
; %bb.35:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _verbosity_silent@GOTPAGE
Lloh9:
	ldr	x9, [x9, _verbosity_silent@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_10
; %bb.36:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	w2, [x24, #16]
	mov	x0, x21
	bl	_fprintf_ln
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"@@ -"

l_.str.1:                               ; @.str.1
	.asciz	"corrupt patch at line %d"

l_.str.2:                               ; @.str.2
	.asciz	"new file %s depends on old contents"

l_.str.3:                               ; @.str.3
	.asciz	"deleted file %s still has contents"

	.comm	_verbosity_silent,8,3           ; @verbosity_silent
	.comm	_stderr,4,2                     ; @stderr
l_.str.4:                               ; @.str.4
	.asciz	"** warning: file %s becomes empty but is not deleted"

	.no_dead_strip	_parse_single_patch
.subsections_via_symbols
