	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function envelope_instant
_envelope_instant:                      ## @envelope_instant
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_COLOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	cmpl	$0, 16(%rdi)
	je	LBB0_2
## %bb.3:
	movq	8(%rsi), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	8(%rdi), %rcx
	shlq	$3, %rcx
	addq	8(%rsi), %rcx
LBB0_4:
	movl	16(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_25
## %bb.5:
	movq	(%rsi), %rdx
	movslq	(%rdx), %r8
	movq	(%rcx), %r9
	movl	20(%rsi), %r12d
	xorl	%r15d, %r15d
	movl	%r12d, %ecx
	movl	%r12d, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movq	%r15, %r14
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	%eax, %rdi
	cmpq	%rdi, %r14
	jge	LBB0_25
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	testl	%edx, %edx
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rax
	imulq	%r8, %rax
	cmpl	$0, (%r9,%rax,4)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$255, (%r9,%rax,4)
	movl	20(%rsi), %r12d
	movl	%r12d, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%r15), %r14
	cmpl	$2, %ecx
	jl	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	-1(%r15), %rdx
	imulq	%r8, %rdx
	movq	%r14, %rbx
	imulq	%r8, %rbx
	leaq	(%r9,%rbx,4), %r10
	leaq	(%r9,%rdx,4), %r11
	leaq	(%r9,%rax,4), %rbx
	movl	$1, %eax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	$255, (%rbx,%rax,4)
	movl	20(%rsi), %r12d
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%rax
	movslq	%r12d, %rdi
	movl	%r12d, %ecx
	movl	%r12d, %edx
	cmpq	%rdi, %rax
	jge	LBB0_23
LBB0_13:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rbx,%rax,4)
	je	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpl	$0, -4(%rbx,%rax,4)
	je	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	decl	%ecx
	cmpq	%rcx, %rax
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpl	$0, 4(%rbx,%rax,4)
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	testq	%r15, %r15
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpl	$0, (%r11,%rax,4)
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	16(%rsi), %ecx
	decl	%ecx
	cmpq	%rcx, %r15
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpl	$0, (%r10,%rax,4)
	jne	LBB0_22
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ecx, %edx
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%rsi), %eax
	movl	%edx, %ecx
	movq	%r14, %r15
	jmp	LBB0_24
LBB0_25:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOR,8,3                      ## @COLOR
	.no_dead_strip	_envelope_instant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function envelope_instant
_envelope_instant:                      ; @envelope_instant
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _COLOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COLOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x9, [x1, #8]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x1, #8]
	ldr	x9, [x0, #8]
	add	x9, x8, x9, lsl #3
LBB0_4:
	ldr	w15, [x1, #16]
	cmp	w15, #1
	b.lt	LBB0_21
; %bb.5:
	mov	x11, #0
	ldr	x8, [x1]
	ldrsw	x8, [x8]
	ldr	x9, [x9]
	ldr	w12, [x1, #20]
	add	x10, x9, #4
	mov	w13, #255
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w15, [x1, #16]
	mov	x11, x14
	cmp	x11, w15, sxtw
	b.ge	LBB0_21
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	cmp	w12, #0
	b.le	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mul	x17, x11, x8
	ldr	w14, [x9, x17, lsl #2]
	cbz	w14, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w13, [x9, x17, lsl #2]
	ldr	w12, [x1, #20]
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x14, x11, #1
	cmp	w12, #2
	b.lt	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	x16, x11, #1
	mul	x15, x14, x8
	add	x15, x9, x15, lsl #2
	mul	x16, x16, x8
	add	x16, x9, x16, lsl #2
	add	x17, x10, x17, lsl #2
	mov	w0, #1
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=2
	str	w13, [x17]
	ldr	w12, [x1, #20]
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x0, x0, #1
	add	x17, x17, #4
	cmp	x0, w12, sxtw
	b.ge	LBB0_6
LBB0_14:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x17]
	cbz	w2, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldur	w2, [x17, #-4]
	sub	w3, w12, #1
	cmp	w2, #0
	ccmp	x0, x3, #4, ne
	b.eq	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w2, [x17, #4]
	cmp	w2, #0
	ccmp	x11, #0, #4, ne
	b.eq	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w2, [x16, x0, lsl #2]
	cbz	w2, LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w2, [x1, #16]
	sub	w2, w2, #1
	cmp	x11, x2
	b.eq	LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w2, [x15, x0, lsl #2]
	cbnz	w2, LBB0_13
	b	LBB0_12
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #1
	cmp	x11, w15, sxtw
	b.lt	LBB0_7
LBB0_21:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOR,8,3                      ; @COLOR
	.no_dead_strip	_envelope_instant
.subsections_via_symbols
