	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function denoise_dct_c
_denoise_dct_c:                         ## @denoise_dct_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %r9
	movq	24(%rdi), %rax
	incl	(%rax,%r9,4)
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	subl	%ecx, %eax
	movl	%eax, (%r10,%rdx,4)
	movq	16(%rdi), %rax
	movq	(%rax,%r9,8), %rax
	addl	(%rax,%rdx,8), %ecx
	movl	%ecx, %eax
	sarl	$31, %eax
	andl	%eax, %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, (%rsi,%rdx,4)
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdx
	cmpq	$64, %rdx
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rdx,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %rax
	movq	(%rax,%r9,8), %r10
	movl	(%r10,%rdx,4), %eax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	%ecx, %eax
	movl	%eax, (%r10,%rdx,4)
	movq	16(%rdi), %rax
	movq	(%rax,%r9,8), %rax
	subl	(%rax,%rdx,8), %ecx
	testl	%ecx, %ecx
	cmovlel	%r8d, %ecx
	jmp	LBB0_5
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_denoise_dct_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function denoise_dct_c
_denoise_dct_c:                         ; @denoise_dct_c
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	ldrsw	x9, [x0]
	ldr	x10, [x0, #24]
	lsl	x11, x9, #2
	ldr	w12, [x10, x11]
	add	w12, w12, #1
	str	w12, [x10, x11]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w12, w12, w10
	str	w12, [x11, x8, lsl #2]
	ldr	x11, [x0, #16]
	ldr	x11, [x11, x9, lsl #3]
	ldr	x11, [x11, x8, lsl #3]
	add	w10, w10, w11
	cmp	w10, #0
	csel	w10, w10, wzr, lt
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w10, [x1, x8, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x8, #64
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x1, x8, lsl #2]
	cbz	w10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x0, #8]
	ldr	x11, [x11, x9, lsl #3]
	ldr	w12, [x11, x8, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w12, w12, w10
	str	w12, [x11, x8, lsl #2]
	ldr	x11, [x0, #16]
	ldr	x11, [x11, x9, lsl #3]
	ldr	x11, [x11, x8, lsl #3]
	sub	w10, w10, w11
	cmp	w10, #0
	csel	w10, w10, wzr, gt
	b	LBB0_2
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_denoise_dct_c
.subsections_via_symbols
