	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_edges_8_c
_draw_edges_8_c:                        ## @draw_edges_8_c
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movslq	%r8d, %rdx
	movq	%rdx, %rax
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	negq	%rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movslq	%esi, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movslq	-72(%rbp), %r13                 ## 4-byte Folded Reload
	leal	-1(%r13), %eax
	cltq
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rbx
	negq	%rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %r13
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%rbx), %rdi
	movl	(%r15), %esi
	movl	%r12d, %edx
	callq	_memset
	leaq	(%r15,%r13), %rdi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%r15,%rax,4), %esi
	movl	%r12d, %edx
	callq	_memset
	addq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	decl	%r14d
	jne	LBB0_2
LBB0_3:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %r14
	movq	_EDGE_TOP@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	16(%rbp), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_7
## %bb.5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax,2), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,4), %r13
	leaq	(,%rax,4), %rbx
	negq	%rbx
	movq	%r15, %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	addq	%rbx, %r13
	decq	%r12
	jne	LBB0_6
LBB0_7:
	movq	_EDGE_BOTTOM@GOTPCREL(%rip), %rax
	movl	16(%rbp), %ecx
	testl	%ecx, (%rax)
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_11
## %bb.8:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_11
## %bb.9:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	decl	%ecx
	movl	%r12d, %eax
	imull	%ecx, %eax
	cltq
	leaq	(%r14,%rax,4), %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rdx,%rcx,2), %r14d
	addq	%r12, %rax
	subq	-96(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	shlq	$2, %r12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	addq	%r12, %rbx
	decq	%r15
	jne	LBB0_10
LBB0_11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDGE_TOP,4,2                   ## @EDGE_TOP
	.comm	_EDGE_BOTTOM,4,2                ## @EDGE_BOTTOM
	.no_dead_strip	_draw_edges_8_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_edges_8_c
_draw_edges_8_c:                        ; @draw_edges_8_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x5
	mov	x21, x4
	stp	x2, x1, [sp, #16]               ; 16-byte Folded Spill
	mov	x22, x0
	sxtw	x8, w21
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	neg	x27, x8
	subs	w8, w3, #1
	stp	w8, w6, [sp]                    ; 8-byte Folded Spill
	b.lt	LBB0_3
; %bb.1:
	mov	x25, x3
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	sub	w8, w9, #1
	sxtw	x26, w8
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	sbfiz	x28, x8, #2, #32
	sbfiz	x24, x9, #2, #32
	mov	x20, x22
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	neg	x23, x8, lsl #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, x23
	ldr	w1, [x20]
	mov	x2, x21
	bl	_memset
	add	x0, x20, x24
	ldr	w1, [x20, x26, lsl #2]
	mov	x2, x21
	bl	_memset
	add	x20, x20, x28
	subs	w25, w25, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x28, x22
	add	x25, x22, x27, lsl #2
Lloh0:
	adrp	x8, _EDGE_TOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDGE_TOP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w22, [sp, #4]                   ; 4-byte Folded Reload
	and	w8, w8, w22
	cmp	w8, #0
	ccmp	w19, #1, #8, ne
	b.lt	LBB0_6
; %bb.4:
	mov	x8, #0
	ldp	x9, x10, [sp, #16]              ; 16-byte Folded Reload
	add	w26, w9, w21, lsl #1
	mov	w20, w19
	sub	x9, x27, w10, sxtw
	add	x27, x28, x9, lsl #2
	sub	x23, x8, w10, sxtw #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	mov	x1, x25
	mov	x2, x26
	bl	_memcpy
	add	x27, x27, x23
	subs	x20, x20, #1
	b.ne	LBB0_5
LBB0_6:
Lloh3:
	adrp	x8, _EDGE_BOTTOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDGE_BOTTOM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w22
	cmp	w8, #0
	ccmp	w19, #1, #8, ne
	b.lt	LBB0_9
; %bb.7:
	ldp	x9, x22, [sp, #16]              ; 16-byte Folded Reload
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	mul	w8, w8, w22
	add	x24, x25, w8, sxtw #2
	sxtw	x8, w8
	add	w21, w9, w21, lsl #1
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x9, w22
	mov	w20, w19
	add	x8, x9, x8
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	sub	x8, x8, x9
	add	x19, x28, x8, lsl #2
	sbfiz	x22, x22, #2, #32
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
	bl	_memcpy
	add	x19, x19, x22
	subs	x20, x20, #1
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EDGE_TOP,4,2                   ; @EDGE_TOP
	.comm	_EDGE_BOTTOM,4,2                ; @EDGE_BOTTOM
	.no_dead_strip	_draw_edges_8_c
.subsections_via_symbols
