	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_sdiff_hunk
_print_sdiff_hunk:                      ## @print_sdiff_hunk
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-56(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_analyze_hunk
	testl	%eax, %eax
	je	LBB0_23
## %bb.1:
	movl	%eax, %r14d
	movl	-56(%rbp), %edi
	movl	-48(%rbp), %esi
	callq	_print_sdiff_common_lines
	movq	_sdiff_merge_assist@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movl	-52(%rbp), %eax
	subl	-56(%rbp), %eax
	incl	%eax
	movslq	%eax, %rdx
	movl	-44(%rbp), %eax
	subl	-48(%rbp), %eax
	incl	%eax
	movslq	%eax, %rcx
	movq	_outfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_3:
	movq	_CHANGED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_4
## %bb.5:
	movl	-56(%rbp), %eax
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %edi
	cmpl	%edi, %ecx
	setle	%sil
	cmpl	-52(%rbp), %eax
	setle	%dl
	jg	LBB0_10
## %bb.6:
	cmpl	%edi, %ecx
	jg	LBB0_10
## %bb.7:
	cltq
	movslq	%ecx, %r12
	leaq	(,%r12,4), %r14
	leaq	(,%rax,4), %rbx
	movq	_files@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	movq	(%r15), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rdx
	addq	%r14, %rdx
	movl	$124, %esi
	callq	_print_1sdiff_line
	leaq	1(%r13), %rax
	leaq	1(%r12), %rcx
	movslq	-52(%rbp), %rdx
	movslq	-44(%rbp), %rdi
	cmpq	%rdi, %r12
	setl	%sil
	cmpq	%rdx, %r13
	setl	%dl
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %r14
	addq	$4, %rbx
	cmpq	%rdi, %r12
	movq	%rcx, %r12
	jl	LBB0_8
LBB0_10:
	xorl	%r14d, %r14d
	movl	$0, %edi
	testb	%dl, %dl
	je	LBB0_12
## %bb.11:
	movq	_OLD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
LBB0_12:
	movq	_NEW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testb	%sil, %sil
	cmovnel	%edx, %r14d
	addl	%edi, %r14d
	movl	%eax, -56(%rbp)
	movq	_next0@GOTPCREL(%rip), %rsi
	movl	%eax, (%rsi)
	movl	%ecx, -48(%rbp)
	movq	_next1@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	testl	%r14d, %edx
	jne	LBB0_14
	jmp	LBB0_18
LBB0_4:
	movq	_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%r14d, %edx
	je	LBB0_18
LBB0_14:
	movl	-48(%rbp), %r15d
	cmpl	-44(%rbp), %r15d
	jg	LBB0_17
## %bb.15:
	movslq	%r15d, %r12
	leaq	-1(%r12), %rbx
	shlq	$2, %r12
	movq	_files@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	8(%rax), %rdx
	addq	%r12, %rdx
	xorl	%edi, %edi
	movl	$62, %esi
	callq	_print_1sdiff_line
	movslq	-44(%rbp), %rax
	incq	%rbx
	addq	$4, %r12
	incl	%r15d
	cmpq	%rax, %rbx
	jl	LBB0_16
LBB0_17:
	movq	_next1@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
LBB0_18:
	movq	_OLD@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_23
## %bb.19:
	movl	-56(%rbp), %r14d
	cmpl	-52(%rbp), %r14d
	jg	LBB0_22
## %bb.20:
	movslq	%r14d, %r15
	leaq	-1(%r15), %rbx
	shlq	$2, %r15
	movq	_files@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	movl	$60, %esi
	xorl	%edx, %edx
	callq	_print_1sdiff_line
	movslq	-52(%rbp), %rax
	incq	%rbx
	addq	$4, %r15
	incl	%r14d
	cmpq	%rax, %rbx
	jl	LBB0_21
LBB0_22:
	movq	_next0@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sdiff_merge_assist,8,3         ## @sdiff_merge_assist
	.comm	_outfile,4,2                    ## @outfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"c%ld,%ld\n"

	.comm	_CHANGED,4,2                    ## @CHANGED
	.comm	_files,8,3                      ## @files
	.comm	_OLD,4,2                        ## @OLD
	.comm	_NEW,4,2                        ## @NEW
	.comm	_next0,4,2                      ## @next0
	.comm	_next1,4,2                      ## @next1
	.no_dead_strip	_print_sdiff_hunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_sdiff_hunk
_print_sdiff_hunk:                      ; @print_sdiff_hunk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	bl	_analyze_hunk
	cbz	w0, LBB0_20
; %bb.1:
	mov	x19, x0
	ldr	w0, [sp, #12]
	ldr	w1, [sp, #4]
	bl	_print_sdiff_common_lines
Lloh0:
	adrp	x8, _sdiff_merge_assist@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sdiff_merge_assist@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldp	w8, w9, [sp, #8]
	sub	w8, w8, w9
	add	w8, w8, #1
	sxtw	x2, w8
	ldp	w8, w9, [sp]
	sub	w8, w8, w9
	add	w8, w8, #1
	sxtw	x3, w8
Lloh3:
	adrp	x8, _outfile@GOTPAGE
Lloh4:
	ldr	x8, [x8, _outfile@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_3:
Lloh8:
	adrp	x8, _CHANGED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHANGED@GOTPAGEOFF]
Lloh10:
	adrp	x21, _OLD@GOTPAGE
Lloh11:
	ldr	x21, [x21, _OLD@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x20, _next0@GOTPAGE
Lloh14:
	ldr	x20, [x20, _next0@GOTPAGEOFF]
Lloh15:
	adrp	x22, _next1@GOTPAGE
Lloh16:
	ldr	x22, [x22, _next1@GOTPAGEOFF]
	cmp	w19, w8
	b.ne	LBB0_10
; %bb.4:
	ldp	w11, w10, [sp, #8]
	ldp	w12, w9, [sp]
	cmp	w9, w12
	cset	w8, le
	cmp	w10, w11
	cset	w11, le
	b.gt	LBB0_9
; %bb.5:
	cmp	w9, w12
	b.gt	LBB0_9
; %bb.6:
	sxtw	x26, w10
	sxtw	x23, w9
	lsl	x19, x23, #2
	lsl	x24, x26, #2
Lloh17:
	adrp	x25, _files@GOTPAGE
Lloh18:
	ldr	x25, [x25, _files@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldp	x9, x8, [x8]
	add	x0, x9, x24
	add	x2, x8, x19
	mov	w1, #124
	bl	_print_1sdiff_line
	add	x10, x26, #1
	add	x9, x23, #1
	ldrsw	x11, [sp, #8]
	ldrsw	x12, [sp]
	cmp	x23, x12
	cset	w8, lt
	cmp	x26, x11
	cset	w11, lt
	add	x19, x19, #4
	add	x24, x24, #4
	ccmp	x23, x12, #0, lt
	mov	x23, x9
	mov	x26, x10
	b.lt	LBB0_7
; %bb.8:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
LBB0_9:
	ldr	w12, [x21]
	cmp	w11, #0
	csel	w12, w12, wzr, ne
Lloh19:
	adrp	x11, _NEW@GOTPAGE
Lloh20:
	ldr	x11, [x11, _NEW@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	cmp	w8, #0
	csel	w8, w11, wzr, ne
	add	w19, w8, w12
	str	w10, [sp, #12]
	str	w10, [x20]
	str	w9, [sp, #4]
	str	w9, [x22]
	tst	w11, w19
	b.ne	LBB0_11
	b	LBB0_15
LBB0_10:
Lloh22:
	adrp	x8, _NEW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NEW@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x8]
	tst	w11, w19
	b.eq	LBB0_15
LBB0_11:
	ldp	w8, w23, [sp]
	cmp	w23, w8
	b.gt	LBB0_14
; %bb.12:
	sxtw	x8, w23
	sub	x24, x8, #1
	lsl	x25, x8, #2
Lloh25:
	adrp	x26, _files@GOTPAGE
Lloh26:
	ldr	x26, [x26, _files@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8, #8]
	add	x2, x8, x25
	mov	x0, #0
	mov	w1, #62
	bl	_print_1sdiff_line
	ldrsw	x8, [sp]
	add	x24, x24, #1
	add	x25, x25, #4
	add	w23, w23, #1
	cmp	x24, x8
	b.lt	LBB0_13
LBB0_14:
	str	w23, [x22]
LBB0_15:
	ldr	w8, [x21]
	tst	w8, w19
	b.eq	LBB0_20
; %bb.16:
	ldp	w8, w19, [sp, #8]
	cmp	w19, w8
	b.gt	LBB0_19
; %bb.17:
	sxtw	x8, w19
	sub	x21, x8, #1
	lsl	x22, x8, #2
Lloh27:
	adrp	x23, _files@GOTPAGE
Lloh28:
	ldr	x23, [x23, _files@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, x22
	mov	w1, #60
	mov	x2, #0
	bl	_print_1sdiff_line
	ldrsw	x8, [sp, #8]
	add	x21, x21, #1
	add	x22, x22, #4
	add	w19, w19, #1
	cmp	x21, x8
	b.lt	LBB0_18
LBB0_19:
	str	w19, [x20]
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_sdiff_merge_assist,8,3         ; @sdiff_merge_assist
	.comm	_outfile,4,2                    ; @outfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"c%ld,%ld\n"

	.comm	_CHANGED,4,2                    ; @CHANGED
	.comm	_files,8,3                      ; @files
	.comm	_OLD,4,2                        ; @OLD
	.comm	_NEW,4,2                        ; @NEW
	.comm	_next0,4,2                      ; @next0
	.comm	_next1,4,2                      ; @next1
	.no_dead_strip	_print_sdiff_hunk
.subsections_via_symbols
