	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reverse_decorr
_reverse_decorr:                        ## @reverse_decorr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %edx
	movq	_MAX_TERM@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	cmpl	%esi, %edx
	jle	LBB0_9
## %bb.1:
	movq	8(%rdi), %r9
	movl	(%r9), %r8d
	testb	$1, %dl
	jne	LBB0_2
## %bb.3:
	leal	(%r8,%r8,2), %esi
	subl	4(%r9), %esi
	sarl	%esi
	movq	16(%rdi), %rcx
	movl	(%rcx), %edx
	leal	(%rdx,%rdx,2), %edx
	subl	4(%rcx), %edx
	sarl	%edx
	jmp	LBB0_4
LBB0_9:
	cmpl	$2, %edx
	jl	LBB0_8
## %bb.10:
	movq	8(%rdi), %r10
	movq	16(%rdi), %r11
	xorl	%eax, %eax
	movl	$1, %r9d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, %ecx
	decl	%ecx
	decl	%esi
	andl	%esi, %eax
	movl	%esi, %edx
	andl	%ecx, %edx
	movslq	%edx, %rcx
	movslq	%eax, %rsi
	movl	(%r10,%rsi,4), %ebx
	xorl	(%r10,%rcx,4), %ebx
	movl	%ebx, (%r10,%rsi,4)
	xorl	(%r10,%rcx,4), %ebx
	movl	%ebx, (%r10,%rcx,4)
	xorl	%ebx, (%r10,%rsi,4)
	movl	(%r11,%rsi,4), %ebx
	xorl	(%r11,%rcx,4), %ebx
	movl	%ebx, (%r11,%rsi,4)
	xorl	(%r11,%rcx,4), %ebx
	movl	%ebx, (%r11,%rcx,4)
	xorl	%ebx, (%r11,%rsi,4)
	movl	(%rdi), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	cmpl	%esi, %r9d
	jge	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%eax
	movl	(%r8), %esi
	incl	%r9d
	jmp	LBB0_11
LBB0_2:
	leal	(%r8,%r8), %esi
	subl	4(%r9), %esi
	movq	16(%rdi), %rcx
	movl	(%rcx), %edx
	addl	%edx, %edx
	subl	4(%rcx), %edx
LBB0_4:
	movl	%r8d, 4(%r9)
	movl	(%rcx), %eax
	movl	%eax, 4(%rcx)
	movl	%esi, (%r9)
	movl	%edx, (%rcx)
	testb	$1, (%rdi)
	movl	(%r9), %esi
	jne	LBB0_5
## %bb.6:
	leal	(%rsi,%rsi,2), %esi
	subl	4(%r9), %esi
	sarl	%esi
	leal	(%rdx,%rdx,2), %edx
	subl	4(%rcx), %edx
	sarl	%edx
	jmp	LBB0_7
LBB0_5:
	addl	%esi, %esi
	subl	4(%r9), %esi
	addl	%edx, %edx
	subl	4(%rcx), %edx
LBB0_7:
	movl	%esi, 4(%r9)
	movl	%edx, 4(%rcx)
LBB0_8:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TERM,4,2                   ## @MAX_TERM
	.no_dead_strip	_reverse_decorr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reverse_decorr
_reverse_decorr:                        ; @reverse_decorr
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _MAX_TERM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_TERM@GOTPAGEOFF]
	ldr	w13, [x8]
	cmp	w9, w13
	b.le	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w10, [x8]
	tbnz	w9, #0, LBB0_7
; %bb.2:
	add	w9, w10, w10, lsl #1
	ldr	w11, [x8, #4]
	sub	w9, w9, w11
	asr	w12, w9, #1
	ldr	x9, [x0, #16]
	ldp	w11, w13, [x9]
	add	w11, w11, w11, lsl #1
	sub	w11, w11, w13
	asr	w11, w11, #1
	b	LBB0_8
LBB0_3:
	cmp	w9, #2
	b.lt	LBB0_12
; %bb.4:
	mov	w14, #0
	ldp	x10, x11, [x0, #8]
	mov	w12, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w9, #1
	sub	w15, w13, #1
	and	w13, w15, w14
	and	w9, w15, w9
	sbfiz	x14, x9, #2, #32
	ldr	w15, [x10, x14]
	sbfiz	x16, x13, #2, #32
	ldr	w17, [x10, x16]
	eor	w15, w17, w15
	str	w15, [x10, x16]
	ldr	w17, [x10, x14]
	eor	w15, w17, w15
	str	w15, [x10, x14]
	ldr	w17, [x10, x16]
	eor	w15, w17, w15
	str	w15, [x10, x16]
	ldr	w15, [x11, x14]
	ldr	w17, [x11, x16]
	eor	w15, w17, w15
	str	w15, [x11, x16]
	ldr	w17, [x11, x14]
	eor	w15, w17, w15
	str	w15, [x11, x14]
	ldr	w14, [x11, x16]
	eor	w14, w14, w15
	str	w14, [x11, x16]
	ldr	w14, [x0]
	cmp	w14, #0
	cinc	w14, w14, lt
	cmp	w12, w14, asr #1
	b.ge	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w14, w13, #1
	ldr	w13, [x8]
	add	w12, w12, #1
	b	LBB0_5
LBB0_7:
	lsl	w9, w10, #1
	ldr	w11, [x8, #4]
	sub	w12, w9, w11
	ldr	x9, [x0, #16]
	ldp	w11, w13, [x9]
	lsl	w11, w11, #1
	sub	w11, w11, w13
LBB0_8:
	str	w10, [x8, #4]
	ldr	w10, [x9]
	str	w10, [x9, #4]
	str	w12, [x8]
	str	w11, [x9]
	ldr	w10, [x8]
	ldrb	w12, [x0]
	tbnz	w12, #0, LBB0_10
; %bb.9:
	add	w10, w10, w10, lsl #1
	ldr	w12, [x8, #4]
	sub	w10, w10, w12
	asr	w10, w10, #1
	add	w11, w11, w11, lsl #1
	ldr	w12, [x9, #4]
	sub	w11, w11, w12
	asr	w11, w11, #1
	b	LBB0_11
LBB0_10:
	lsl	w10, w10, #1
	ldr	w12, [x8, #4]
	sub	w10, w10, w12
	lsl	w11, w11, #1
	ldr	w12, [x9, #4]
	sub	w11, w11, w12
LBB0_11:
	str	w10, [x8, #4]
	str	w11, [x9, #4]
LBB0_12:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TERM,4,2                   ; @MAX_TERM
	.no_dead_strip	_reverse_decorr
.subsections_via_symbols
