	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_cmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r12d
	shrl	$31, %r12d
	testl	%eax, %eax
	movq	%r15, %r13
	cmovsq	%rbx, %r13
	cmovsq	%r15, %rbx
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_Balloc
	movl	%r12d, 16(%rax)
	movslq	(%rbx), %r10
	movq	8(%rbx), %r8
	movslq	(%r13), %rdx
	movq	8(%r13), %rbx
	leaq	(%rbx,%rdx,4), %r9
	movq	8(%rax), %rdx
	xorl	%edi, %edi
	movq	%r8, %rsi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %ecx
	addq	$4, %rsi
	addl	(%rbx), %edi
	addq	$4, %rbx
	subl	%edi, %ecx
	movl	%ecx, %edi
	shrl	$16, %edi
	andl	$1, %edi
	movzwl	%cx, %ecx
	movl	%ecx, (%rdx)
	addq	$4, %rdx
	cmpq	%r9, %rbx
	jb	LBB0_3
## %bb.4:
	leaq	(%r8,%r10,4), %rbx
	cmpq	%rbx, %rsi
	jae	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %ecx
	addq	$4, %rsi
	subl	%edi, %ecx
	movl	%ecx, %edi
	shrl	$16, %edi
	andl	$1, %edi
	movzwl	%cx, %ecx
	movl	%ecx, (%rdx)
	addq	$4, %rdx
	cmpq	%rbx, %rsi
	jb	LBB0_5
LBB0_7:
	incl	%r10d
	addq	$-4, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r10d
	cmpl	$0, (%rdx)
	leaq	-4(%rdx), %rdx
	je	LBB0_8
## %bb.9:
	movl	%r10d, (%rax)
	jmp	LBB0_10
LBB0_1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_Balloc
	movl	$1, (%rax)
	movq	8(%rax), %rcx
	movl	$0, (%rcx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FFFFFFFF,4,2                   ## @FFFFFFFF
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_cmp
	cbz	w0, LBB0_7
; %bb.1:
	lsr	w22, w0, #31
	cmp	w0, #0
	csel	x23, x21, x20, lt
	csel	x20, x20, x21, lt
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_Balloc
	mov	x9, #0
	mov	w11, #0
	str	w22, [x0, #16]
	ldrsw	x8, [x20]
	ldr	x10, [x20, #8]
	ldrsw	x12, [x23]
	ldr	x13, [x23, #8]
	add	x14, x13, x12, lsl #2
	ldr	x12, [x0, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x10, x9]
	ldr	w16, [x13, x9]
	add	w11, w11, w16
	sub	w15, w15, w11
	ubfx	w11, w15, #16, #1
	and	w15, w15, #0xffff
	str	w15, [x12, x9]
	add	x9, x9, #4
	add	x15, x13, x9
	cmp	x15, x14
	b.lo	LBB0_2
; %bb.3:
	add	x13, x10, x8, lsl #2
	add	x14, x10, x9
	cmp	x14, x13
	b.hs	LBB0_8
; %bb.4:
	mov	x15, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x16, x10, x15
	add	x17, x12, x15
	ldr	w16, [x16, x9]
	sub	w11, w16, w11
	and	w16, w11, #0xffff
	str	w16, [x17, x9]
	ubfx	w11, w11, #16, #1
	add	x16, x15, #4
	add	x15, x14, x15
	add	x17, x15, #4
	mov	x15, x16
	cmp	x17, x13
	b.lo	LBB0_5
; %bb.6:
	add	x9, x12, x9
	add	x9, x9, x16
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	mov	w1, #0
	bl	_Balloc
	mov	w8, #1
	str	w8, [x0]
	ldr	x8, [x0, #8]
	str	wzr, [x8]
	b	LBB0_12
LBB0_8:
	add	x9, x12, x9
LBB0_9:
	add	w8, w8, #1
	sub	x9, x9, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #-4
	sub	w8, w8, #1
	cbz	w10, LBB0_10
; %bb.11:
	str	w8, [x0]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_FFFFFFFF,4,2                   ; @FFFFFFFF
	.no_dead_strip	_diff
.subsections_via_symbols
