	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fade
_fade:                                  ## @fade
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rax
	movq	(%rax), %rdx
	movslq	(%rdx), %r14
	cmpq	$0, (%rcx)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rcx)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 16(%rcx)
	je	LBB0_10
LBB0_3:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.4:
	movq	8(%rax), %rax
	movq	(%rax), %r13
	movl	4(%r15), %eax
	shlq	$3, %r14
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	addq	%r14, %r13
	cmpl	%ecx, %r12d
	jge	LBB0_10
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%eax, %eax
	jle	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%rbx,8), %rdi
	movq	8(%r15), %rax
	subq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, (%r13,%rbx,8)
	movq	8(%r13,%rbx,8), %rdi
	movq	8(%r15), %rax
	subq	8(%rax), %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, 8(%r13,%rbx,8)
	movq	16(%r13,%rbx,8), %rdi
	movq	8(%r15), %rax
	subq	16(%rax), %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, 16(%r13,%rbx,8)
	movq	24(%r13,%rbx,8), %rdi
	movq	8(%r15), %rax
	subq	24(%rax), %rdi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	%rax, 24(%r13,%rbx,8)
	addq	$4, %rbx
	movslq	4(%r15), %rax
	leaq	(,%rax,4), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %ecx
	jmp	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fade
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fade
_fade:                                  ; @fade
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldp	x9, x8, [x0, #8]
	ldr	x10, [x8]
	ldrsw	x10, [x10]
	ldr	x11, [x9]
	cbnz	x11, LBB0_3
; %bb.1:
	ldr	x11, [x9, #8]
	cbnz	x11, LBB0_3
; %bb.2:
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_10
LBB0_3:
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.4:
	mov	w20, #0
	ldr	x8, [x8, #8]
	ldr	x11, [x8]
	ldr	w8, [x19, #4]
	add	x21, x11, #16
	lsl	x22, x10, #3
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w20, w20, #1
	add	x21, x21, x22
	cmp	w20, w9
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, #0
	mov	x24, x21
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x8, [x24, #-16]
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	sub	x0, x8, x9
	mov	w1, #0
	bl	_FFMAX
	stur	x0, [x24, #-16]
	ldur	x8, [x24, #-8]
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #8]
	sub	x0, x8, x9
	mov	w1, #0
	bl	_FFMAX
	stur	x0, [x24, #-8]
	ldr	x8, [x24]
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #16]
	sub	x0, x8, x9
	mov	w1, #0
	bl	_FFMAX
	str	x0, [x24]
	ldr	x8, [x24, #8]
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #24]
	sub	x0, x8, x9
	mov	w1, #0
	bl	_FFMAX
	str	x0, [x24, #8]
	add	x23, x23, #4
	ldrsw	x8, [x19, #4]
	add	x24, x24, #32
	cmp	x23, x8, lsl #2
	b.lt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x19]
	b	LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fade
.subsections_via_symbols
