	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_diff
_process_diff:                          ## @process_diff
	.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	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_PTRDIFF_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$4, %edi
	movl	$4, %esi
	callq	_MIN
	movq	%rax, %rcx
	orq	%rbx, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_read_diff
	movq	%rax, %r15
	movq	-88(%rbp), %rax
	movq	%rax, -48(%rbp)
	cmpq	%r15, %rax
	jae	LBB0_4
## %bb.5:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	%r14, %rbx
	cmpq	%r15, -48(%rbp)
	jae	LBB0_33
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_31 Depth 2
	movl	$32, %edi
	callq	_xmalloc
	movq	%rax, %r14
	movq	16(%rax), %rax
	movq	$0, 8(%rax)
	movq	16(%r14), %rax
	movq	$0, (%rax)
	movq	8(%r14), %rax
	movq	$0, 8(%rax)
	movq	8(%r14), %rax
	movq	$0, (%rax)
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_process_diff_control
	movl	%eax, %r13d
	movq	_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax
	cmpb	$10, (%rax)
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rax
	movq	%rax, -48(%rbp)
	cmpl	$128, %r13d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$129, %r13d
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$130, %r13d
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r14), %rax
	movq	(%rax), %rax
	incl	(%rax)
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r14), %rax
	movq	8(%rax), %rax
	incl	(%rax)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_D_NUMLINES
	movq	%rax, %r12
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	ja	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_xalloc_die
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(,%r12,4), %rbx
	movq	%rbx, %rdi
	callq	_xmalloc
	movq	16(%r14), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_xmalloc
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
	testq	%r12, %r12
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rcx
	movq	16(%r14), %rdx
	movq	(%rdx), %rsi
	addq	%rbx, %rsi
	movq	(%rcx), %rdx
	addq	%rbx, %rdx
	movq	%rax, %rdi
	movq	%r15, %rcx
	movl	$60, %r8d
	callq	_scan_diff_line
	movq	%rax, -48(%rbp)
	addq	$4, %rbx
	decq	%r12
	jne	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$128, %r13d
	je	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$129, %r13d
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_fatal
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$4, -48(%rbp)
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_D_NUMLINES
	movq	%rax, %r13
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	ja	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_xalloc_die
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(,%r13,4), %r12
	movq	%r12, %rdi
	callq	_xmalloc
	movq	16(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	%r12, %rdi
	callq	_xmalloc
	movq	8(%r14), %rcx
	movq	%rax, 8(%rcx)
	testq	%r13, %r13
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rcx
	movq	16(%r14), %rdx
	movq	8(%rdx), %rsi
	addq	%rbx, %rsi
	movq	8(%rcx), %rdx
	addq	%rbx, %rdx
	movq	%rax, %rdi
	movq	%r15, %rcx
	movl	$62, %r8d
	callq	_scan_diff_line
	movq	%rax, -48(%rbp)
	addq	$4, %rbx
	decq	%r13
	jne	LBB0_31
	jmp	LBB0_32
LBB0_4:
	leaq	-64(%rbp), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_34
LBB0_33:
	movq	%r14, %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_34:
	movq	$0, (%rax)
	movq	%r14, (%r12)
	movq	-64(%rbp), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	_program_name@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_fprintf
	movq	-48(%rbp), %rax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_putc
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rax
	movq	%rax, -48(%rbp)
	cmpb	$10, (%rcx)
	jne	LBB0_9
## %bb.10:
	movq	_EXIT_TROUBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_PTRDIFF_MAX,8,3                ## @PTRDIFF_MAX
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: diff failed: "

	.comm	_program_name,8,3               ## @program_name
	.comm	_EXIT_TROUBLE,4,2               ## @EXIT_TROUBLE
L_.str.1:                               ## @.str.1
	.asciz	"internal error: invalid diff type in process_diff"

L_.str.2:                               ## @.str.2
	.asciz	"---\n"

L_.str.3:                               ## @.str.3
	.asciz	"invalid diff format; invalid change separator"

	.no_dead_strip	_process_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_diff
_process_diff:                          ; @process_diff
	.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	x23, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _PTRDIFF_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTRDIFF_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	mov	w0, #4
	mov	w1, #4
	bl	_MIN
	mov	x21, x0
	add	x2, sp, #24
	mov	x0, x22
	mov	x1, x20
	bl	_read_diff
	ldr	x8, [sp, #24]
	str	x8, [sp, #16]
	cmp	x8, x0
	b.hs	LBB0_26
; %bb.1:
	mov	x20, x0
	str	x23, [sp]                       ; 8-byte Folded Spill
Lloh3:
	adrp	x28, _ERROR@GOTPAGE
Lloh4:
	ldr	x28, [x28, _ERROR@GOTPAGEOFF]
Lloh5:
	adrp	x22, l_.str.2@PAGE
Lloh6:
	add	x22, x22, l_.str.2@PAGEOFF
	add	x23, sp, #8
Lloh7:
	adrp	x24, l_.str.1@PAGE
Lloh8:
	add	x24, x24, l_.str.1@PAGEOFF
	udiv	x19, x19, x21
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [x23]
	ldr	x8, [sp, #16]
	mov	x23, x21
	cmp	x8, x20
	b.hs	LBB0_27
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
	mov	w0, #32
	bl	_xmalloc
	mov	x21, x0
	ldr	x8, [x0, #16]
	str	xzr, [x8, #8]
	ldr	x8, [x0, #16]
	str	xzr, [x8]
	ldr	x8, [x0, #8]
	str	xzr, [x8, #8]
	ldr	x8, [x0, #8]
	str	xzr, [x8]
	add	x0, sp, #16
	mov	x1, x21
	bl	_process_diff_control
	ldr	w8, [x28]
	cmp	w0, w8
	b.eq	LBB0_29
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	ldrb	w9, [x8]
	cmp	w9, #10
	b.ne	LBB0_29
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	add	x8, x8, #1
	str	x8, [sp, #16]
	cmp	w0, #128
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w25, #129
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w25, #130
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_21
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #24]
	ldr	x8, [x8, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_fatal
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	w1, #0
	bl	_D_NUMLINES
	mov	x26, x0
	cmp	x19, x0
	b.hi	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_xalloc_die
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x27, x26, #2
	mov	x0, x27
	bl	_xmalloc
	ldr	x8, [x21, #16]
	str	x0, [x8]
	mov	x0, x27
	bl	_xmalloc
	ldr	x8, [x21, #8]
	str	x0, [x8]
	cbz	x26, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, #0
	ldr	x0, [sp, #16]
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x9, x8, [x21, #8]
	ldr	x8, [x8]
	add	x1, x8, x27
	ldr	x8, [x9]
	add	x2, x8, x27
	mov	x3, x20
	mov	w4, #60
	bl	_scan_diff_line
	str	x0, [sp, #16]
	add	x27, x27, #4
	subs	x26, x26, #1
	b.ne	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w25, #128
	b.eq	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w25, #129
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #16]
	mov	x1, x22
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	add	x8, x8, #4
	str	x8, [sp, #16]
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	w1, #1
	bl	_D_NUMLINES
	mov	x25, x0
	cmp	x19, x0
	b.hi	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_xalloc_die
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x26, x25, #2
	mov	x0, x26
	bl	_xmalloc
	ldr	x8, [x21, #16]
	str	x0, [x8, #8]
	mov	x0, x26
	bl	_xmalloc
	ldr	x8, [x21, #8]
	str	x0, [x8, #8]
	cbz	x25, LBB0_2
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	ldr	x0, [sp, #16]
LBB0_25:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x9, x8, [x21, #8]
	ldr	x8, [x8, #8]
	add	x1, x8, x26
	ldr	x8, [x9, #8]
	add	x2, x8, x26
	mov	x3, x20
	mov	w4, #62
	bl	_scan_diff_line
	str	x0, [sp, #16]
	add	x26, x26, #4
	subs	x25, x25, #1
	b.ne	LBB0_25
	b	LBB0_2
LBB0_26:
	mov	x21, #0
	add	x8, sp, #8
	b	LBB0_28
LBB0_27:
	mov	x8, x21
	ldr	x23, [sp]                       ; 8-byte Folded Reload
LBB0_28:
	str	xzr, [x8]
	str	x21, [x23]
	ldr	x0, [sp, #8]
	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
LBB0_29:
Lloh11:
	adrp	x20, _stderr@GOTPAGE
Lloh12:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
Lloh15:
	adrp	x8, _program_name@GOTPAGE
Lloh16:
	ldr	x8, [x8, _program_name@GOTPAGEOFF]
Lloh17:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_fprintf
	ldr	x8, [sp, #16]
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x8]
	ldr	w1, [x20]
	bl	_putc
	ldr	x9, [sp, #16]
	add	x8, x9, #1
	str	x8, [sp, #16]
	ldrb	w9, [x9]
	cmp	w9, #10
	b.ne	LBB0_30
; %bb.31:
Lloh18:
	adrp	x8, _EXIT_TROUBLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EXIT_TROUBLE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PTRDIFF_MAX,8,3                ; @PTRDIFF_MAX
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: diff failed: "

	.comm	_program_name,8,3               ; @program_name
	.comm	_EXIT_TROUBLE,4,2               ; @EXIT_TROUBLE
l_.str.1:                               ; @.str.1
	.asciz	"internal error: invalid diff type in process_diff"

l_.str.2:                               ; @.str.2
	.asciz	"---\n"

l_.str.3:                               ; @.str.3
	.asciz	"invalid diff format; invalid change separator"

	.no_dead_strip	_process_diff
.subsections_via_symbols
