	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dc_test
_dc_test:                               ## @dc_test
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	%ecx, %eax
	imull	%edx, %eax
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$8, %ecx
	movl	$256, %eax                      ## imm = 0x100
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_FFMAX
	testl	%r13d, %r13d
	jle	LBB0_6
## %bb.1:
	movl	%r15d, %ecx
	movslq	%r14d, %rdx
	movl	%r13d, %esi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	shlq	$6, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	addq	$16, %rdx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	cmpq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	jge	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%ecx, %ecx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	$8, %ecx
	movl	$8, %r8d
	movl	%ebx, %r13d
	movl	%eax, %ebx
	callq	_draw_dc
	movl	%ebx, %eax
	movl	%r13d, %ebx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	%eax, %ebx
	addq	$64, %r12
	addl	$16, %r15d
	cmpl	%ecx, %r15d
	jl	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dc_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dc_test
_dc_test:                               ; @dc_test
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mul	w8, w3, w2
	add	w9, w8, #255
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #8
	mov	w9, #256
	sdiv	w0, w9, w8
	mov	w1, #1
	bl	_FFMAX
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, x0
	mov	x25, #0
	sbfiz	x26, x21, #6, #32
	mov	w27, w24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #16
	add	x22, x22, x26
	cmp	x25, x27
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	mov	x24, x22
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	mov	x1, x21
	mov	x2, x19
	mov	w3, #8
	mov	w4, #8
	bl	_draw_dc
	add	w19, w19, w23
	add	x24, x24, #64
	add	w28, w28, #16
	cmp	w28, w20
	b.lt	LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dc_test
.subsections_via_symbols
