	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finish_mod
_finish_mod:                            ## @finish_mod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.1:
	leaq	-1(%rsi), %r8
	movl	%esi, %r9d
	andl	$3, %r9d
	cmpq	$3, %r8
	jae	LBB0_3
## %bb.2:
	xorl	%r10d, %r10d
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	%rsi, %r11
	andq	$-4, %r11
	xorl	%r10d, %r10d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rdi,%r10,4), %eax
	subl	(%rdx,%r10,4), %eax
	shrl	$31, %eax
	addl	4(%rdi,%r10,4), %eax
	subl	4(%rdx,%r10,4), %eax
	shrl	$31, %eax
	addl	8(%rdi,%r10,4), %eax
	subl	8(%rdx,%r10,4), %eax
	shrl	$31, %eax
	addl	12(%rdi,%r10,4), %eax
	subl	12(%rdx,%r10,4), %eax
	shrl	$31, %eax
	addq	$4, %r10
	cmpq	%r10, %r11
	jne	LBB0_4
LBB0_5:
	testq	%r9, %r9
	je	LBB0_8
## %bb.6:
	leaq	(%rdx,%r10,4), %r11
	leaq	(%rdi,%r10,4), %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%r10,%rbx,4), %eax
	subl	(%r11,%rbx,4), %eax
	shrl	$31, %eax
	incq	%rbx
	cmpq	%rbx, %r9
	jne	LBB0_7
LBB0_8:
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.9:
	incl	%eax
	movl	%ecx, %r9d
	negl	%r9d
	orl	%ecx, %eax
	negl	%eax
	testq	%r8, %r8
	je	LBB0_10
## %bb.11:
	movl	%r9d, %r10d
	andl	$32767, %r10d                   ## imm = 0x7FFF
	movq	%rsi, %r11
	andq	$-2, %r11
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%r8,4), %ebx
	xorl	%r10d, %ebx
	andl	%eax, %ebx
	addl	%ecx, %ebx
	movl	(%rdi,%r8,4), %r14d
	subl	%ebx, %r14d
	movl	4(%rdi,%r8,4), %ecx
	movl	%r14d, %ebx
	andl	$32767, %ebx                    ## imm = 0x7FFF
	movl	%ebx, (%rdi,%r8,4)
	sarl	$31, %r14d
	movl	4(%rdx,%r8,4), %ebx
	xorl	%r10d, %ebx
	andl	%eax, %ebx
	addl	%r14d, %ebx
	subl	%ebx, %ecx
	movl	%ecx, %ebx
	andl	$32767, %ebx                    ## imm = 0x7FFF
	movl	%ebx, 4(%rdi,%r8,4)
	sarl	$31, %ecx
	addq	$2, %r8
	cmpq	%r8, %r11
	jne	LBB0_12
## %bb.13:
	testb	$1, %sil
	je	LBB0_15
LBB0_14:
	movl	(%rdi,%r8,4), %esi
	xorl	(%rdx,%r8,4), %r9d
	andl	%eax, %r9d
	addl	%r9d, %ecx
	subl	%ecx, %esi
	andl	$32767, %esi                    ## imm = 0x7FFF
	movl	%esi, (%rdi,%r8,4)
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	xorl	%r8d, %r8d
	testb	$1, %sil
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_finish_mod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finish_mod
_finish_mod:                            ; @finish_mod
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_6
; %bb.1:
	mov	w8, #0
	mov	x9, x0
	mov	x10, x2
	mov	x11, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9], #4
	ldr	w13, [x10], #4
	add	w8, w12, w8
	sub	w8, w8, w13
	lsr	w8, w8, #31
	subs	x11, x11, #1
	b.ne	LBB0_2
; %bb.3:
	cbz	x1, LBB0_6
; %bb.4:
	add	w9, w8, #1
	neg	w8, w3
	and	w8, w8, #0x7fff
	orr	w9, w9, w3
	neg	w9, w9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0]
	ldr	w11, [x2], #4
	eor	w11, w11, w8
	and	w11, w11, w9
	add	w11, w3, w11
	sub	w10, w10, w11
	and	w11, w10, #0x7fff
	str	w11, [x0], #4
	asr	w3, w10, #31
	subs	x1, x1, #1
	b.ne	LBB0_5
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_finish_mod
.subsections_via_symbols
