	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_dc
_draw_dc:                               ## @draw_dc
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%r8d, %r8d
	jle	LBB0_15
## %bb.1:
	movslq	%esi, %r15
	movl	%r8d, %r8d
	movl	%ecx, %r9d
	movl	%r9d, %eax
	andl	$-8, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	$-8, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	shrq	$3, %rax
	incq	%rax
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movl	%eax, %r13d
	andl	$3, %r13d
	andq	$-4, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	112(%rdi), %rbx
	shlq	$2, %r15
	leaq	16(%rdi), %r12
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	shlq	$5, %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	addq	%r15, %rbx
	addq	%r15, %r12
	addq	%r15, %rdi
	cmpq	%r8, %r14
	je	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$8, %ecx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$24, -64(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r10d, %r10d
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%rbx,%r10,4)
	movdqu	%xmm0, -96(%rbx,%r10,4)
	movdqu	%xmm0, -80(%rbx,%r10,4)
	movdqu	%xmm0, -64(%rbx,%r10,4)
	movdqu	%xmm0, -48(%rbx,%r10,4)
	movdqu	%xmm0, -32(%rbx,%r10,4)
	movdqu	%xmm0, -16(%rbx,%r10,4)
	movdqu	%xmm0, (%rbx,%r10,4)
	addq	$32, %r10
	addq	$-4, %r11
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%r10,4), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rax,%rsi)
	movdqu	%xmm0, (%rax,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r13
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rax
	cmpq	%r9, %rsi
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, (%rdi,%rax,4)
	incq	%rax
	cmpq	%rax, %r9
	jne	LBB0_13
	jmp	LBB0_14
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_draw_dc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_dc
_draw_dc:                               ; @draw_dc
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w4, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x8, #0
	mov	x9, #0
	sxtw	x10, w1
	mov	w11, w4
	mov	w12, w3
	and	x13, x12, #0xfffffff0
	dup.4s	v0, w2
	add	x14, x0, #32
	sbfiz	x15, x1, #2, #32
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x14, x14, x15
	add	x8, x8, x10
	cmp	x9, x11
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	cmp	w3, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w3, #16
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x17, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x16, x13
	mov	x17, x14
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x17, #-32]
	stp	q0, q0, [x17], #64
	subs	x16, x16, #16
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x17, x13
	cmp	x13, x12
	b.eq	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x16, x17, x8
	add	x16, x0, x16, lsl #2
	sub	x17, x12, x17
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w2, [x16], #4
	subs	x17, x17, #1
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_draw_dc
.subsections_via_symbols
