	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diff
_diff:                                  ## @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
	movl	%ecx, %r13d
	movl	%esi, %ebx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	callq	_equatelines
	movl	%eax, %r14d
	testl	%r13d, %r13d
	movl	$1, %edi
	cmovnel	%r13d, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r15
	cmpl	%r13d, %ebx
	movl	%r13d, %edi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	cmovll	%ebx, %edi
	shll	$4, %edi
	addl	$16, %edi
	callq	_malloc
	movq	%rax, -56(%rbp)
	movq	%rax, -64(%rbp)
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	leaq	-64(%rbp), %rax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r13
	callq	_recurse
	addq	$16, %rsp
	movq	-64(%rbp), %rax
	movl	%ebx, 4(%rax)
	movl	%ebx, (%rax)
	movl	%r13d, 12(%rax)
	movl	%r13d, 8(%rax)
	addq	$16, %rax
	movq	%rax, -64(%rbp)
LBB0_4:
	movq	%r15, %rdi
	callq	_free
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %rdx
	cmpq	%rcx, %rdx
	jne	LBB0_6
## %bb.5:
	movq	%rdx, %rax
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rcx
	movq	%rdx, %rax
	cmpq	%rcx, %rdx
	je	LBB0_26
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	%rdx, %r14
	addq	$16, %rdx
	movq	%rcx, %rax
	cmpq	%rcx, %rdx
	je	LBB0_26
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%r14), %eax
	cmpl	16(%r14), %eax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	12(%r14), %rcx
	leal	(%r12,%rcx), %edx
	cmpl	%r13d, %edx
	jge	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cltq
	leaq	(%r15,%rax,4), %rdi
	leaq	(%rbx,%rcx,4), %rsi
	callq	_cmp
	testl	%eax, %eax
	jne	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%r12
	movl	4(%r14), %eax
	addq	$4, %rbx
	addq	$4, %r15
	leal	(%r12,%rax), %ecx
	cmpl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	jl	LBB0_10
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%r14), %ecx
	cmpl	24(%r14), %ecx
	jne	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%r13d, %ecx
	jge	LBB0_25
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rbx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, %r12
	movslq	%ecx, %rcx
	leaq	(,%rcx,4), %rdi
	addq	%r13, %rdi
	cltq
	leaq	(%r15,%rax,4), %rsi
	callq	_cmp
	testl	%eax, %eax
	jne	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	12(%r14), %ecx
	leal	(%r12,%rcx), %eax
	incl	%eax
	cmpl	%ebx, %eax
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	leaq	1(%r12), %rdx
	movl	4(%r14), %eax
	leal	(%rdx,%rax), %esi
	addq	$4, %r13
	addq	$4, %r15
	cmpl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	jl	LBB0_18
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r13
	jmp	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r12d, %r12d
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%r12d, %r12d
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	addl	%r12d, 12(%r14)
	addl	%r12d, 24(%r14)
	addl	%r12d, 4(%r14)
	addl	%r12d, 16(%r14)
	jmp	LBB0_25
LBB0_26:
	movq	-56(%rbp), %rdx
LBB0_27:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diff
_diff:                                  ; @diff
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_equatelines
	mov	x24, x0
	cmp	w19, #0
	csinc	w0, w19, wzr, ne
	mov	w1, #4
	bl	_calloc
	mov	x23, x0
	cmp	w21, w19
	csel	w8, w21, w19, lt
	lsl	w8, w8, #4
	add	w0, w8, #16
	bl	_malloc
	stp	x0, x0, [sp]
	cbz	x23, LBB0_3
; %bb.1:
	cmp	x0, #0
	ccmp	w24, #0, #4, ne
	b.eq	LBB0_3
; %bb.2:
	mov	x7, sp
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	w3, #0
	mov	x4, x21
	mov	w5, #0
	mov	x6, x19
	bl	_recurse
	ldr	x8, [sp]
	stp	w21, w21, [x8]
	stp	w19, w19, [x8, #8]
	add	x8, x8, #16
	str	x8, [sp]
LBB0_3:
	mov	x0, x23
	bl	_free
	ldp	x0, x23, [sp]
	cmp	x23, x0
	b.eq	LBB0_6
; %bb.4:
	add	x8, x23, #16
	cmp	x8, x0
	b.ne	LBB0_8
LBB0_5:
	ldr	x23, [sp, #8]
LBB0_6:
	mov	x1, x23
	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_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp]
	add	x8, x23, #16
	cmp	x23, x0
	ccmp	x8, x0, #4, ne
	b.eq	LBB0_5
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x24, x23
	mov	x23, x8
	ldr	w8, [x24, #4]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, w21
	b.ge	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, #0
	mov	x26, x22
	mov	x27, x20
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x9, [x24, #12]
	add	w10, w25, w9
	cmp	w10, w19
	b.ge	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x0, x26, w8, sxtw #2
	add	x1, x27, x9, lsl #2
	bl	_cmp
	cbnz	w0, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x25, x25, #1
	ldr	w8, [x24, #4]
	add	x27, x27, #4
	add	x26, x26, #4
	add	w9, w8, w25
	cmp	w9, w21
	b.lt	LBB0_11
	b	LBB0_21
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [x24, #12]
	ldr	w10, [x24, #24]
	cmp	w9, w10
	ccmp	w9, w19, #0, eq
	b.ge	LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, w21
	b.ge	LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, #0
	mov	x26, x22
	mov	x27, x20
LBB0_17:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x27, w9, sxtw #2
	add	x1, x26, w8, sxtw #2
	bl	_cmp
	cbnz	w0, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x10, x25, #1
	ldr	w9, [x24, #12]
	add	w8, w25, w9
	add	w8, w8, #1
	cmp	w8, w19
	b.ge	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w8, [x24, #4]
	add	x27, x27, #4
	add	x26, x26, #4
	add	w11, w8, w10
	cmp	w11, w21
	mov	x25, x10
	b.lt	LBB0_17
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x10
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	w25, LBB0_7
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x24, #12]
	add	w8, w8, w25
	str	w8, [x24, #12]
	ldr	w8, [x24, #24]
	add	w8, w8, w25
	str	w8, [x24, #24]
	ldr	w8, [x24, #4]
	add	w8, w8, w25
	str	w8, [x24, #4]
	ldr	w8, [x23]
	add	w8, w8, w25
	str	w8, [x23]
	b	LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, #0
	cbnz	w25, LBB0_22
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_diff
.subsections_via_symbols
