	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function walk_constant_heap
_walk_constant_heap:                    ## @walk_constant_heap
	.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	8(%rcx), %rax
	cmpq	%r9, 16(%rax)
	jle	LBB0_19
## %bb.1:
	movl	24(%rax), %eax
	movl	(%rdx,%rax,4), %r10d
	xorl	%r13d, %r13d
	cmpl	$-1, %r10d
	cmovnel	%eax, %r10d
	movl	%eax, %r11d
	cmovel	%r13d, %r11d
	movb	$-127, (%r8)
	movl	$1, %r14d
	movb	$-127, %al
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r15, %rax
	addq	$8, %rax
	movb	$-126, %r14b
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	cmpl	%eax, %r10d
	movl	%eax, %r15d
	cmovbl	%r10d, %r15d
	cmpl	%eax, %r11d
	movl	%eax, %edi
	cmoval	%r11d, %edi
	cmpl	$-1, (%rdx,%rax,4)
	cmovnel	%edi, %r11d
	cmovnel	%r15d, %r10d
	movl	%r13d, %r13d
	movb	%r14b, (%r8,%r13)
	movb	$-127, 1(%r8,%r13)
	incq	%r13
	movl	%ebx, %r14d
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %eax
	movzbl	(%r8,%rax), %eax
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$-126, %al
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-127, %al
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$-128, %al
	jne	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %eax
	leal	(%r14,%r14), %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r14,%r14), %ebx
	movl	(%rcx), %eax
	cmpl	%eax, %ebx
	jae	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx), %r15
	movl	%ebx, %r12d
	shlq	$4, %r12
	cmpq	%r9, (%r15,%r12)
	jle	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r12), %rax
	addq	$8, %rax
	movb	$-128, %r14b
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	$1, %ebx
	cmpl	%eax, %ebx
	jae	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx), %r15
	movl	%ebx, %eax
	shlq	$4, %rax
	cmpq	%r9, (%r15,%rax)
	jg	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	shrl	%r14d
	decl	%r13d
	jmp	LBB0_15
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	subl	%r10d, %r11d
	jb	LBB0_18
## %bb.17:
	movl	%r10d, %eax
	movl	(%rdx,%rax,4), %edi
	incl	%r11d
	leaq	(%rsi,%rax,4), %rdx
	movl	%r11d, %esi
	callq	_glUniform4fv
	movl	%eax, %edi
	callq	_GL_EXTCALL
LBB0_18:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_checkGLcall                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"walk_constant_heap()"

	.no_dead_strip	_walk_constant_heap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walk_constant_heap
_walk_constant_heap:                    ; @walk_constant_heap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x3, #8]
	ldr	x9, [x8, #16]
	cmp	x9, x5
	b.le	LBB0_16
; %bb.1:
	mov	w11, #0
	ldr	w8, [x8, #24]
	ldr	w9, [x2, x8, lsl #2]
	cmn	w9, #1
	csel	w9, wzr, w8, eq
	csinv	w8, w8, wzr, ne
	mov	w10, #129
	strb	w10, [x4]
	mov	w12, #1
	mov	w13, #129
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w13, [x4, w11, uxtw]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w13, w13, #0xff
	cmp	w13, #130
	b.eq	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #129
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #128
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x3]
	lsl	w13, w12, #1
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	w13, w12, #1
	ldr	w14, [x3]
	cmp	w13, w14
	b.hs	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x3, #8]
	lsl	x16, x13, #4
	ldr	x16, [x15, x16]
	cmp	x16, x5
	b.le	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x15, x13, lsl #4
	add	x14, x12, #8
	mov	w12, #128
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	orr	w13, w13, #0x1
	cmp	w13, w14
	b.hs	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x3, #8]
	lsl	x15, x13, #4
	ldr	x15, [x14, x15]
	cmp	x15, x5
	b.le	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x14, x13, lsl #4
	add	x14, x12, #8
	mov	w12, #130
                                        ; kill: def $w13 killed $w13 killed $x13 def $x13
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w15, w11
	ldr	w11, [x14]
	ldr	w14, [x2, x11, lsl #2]
	cmp	w8, w11
	csel	w16, w8, w11, lo
	cmp	w9, w11
	csel	w11, w9, w11, hi
	cmn	w14, #1
	csel	w9, w9, w11, eq
	csel	w8, w8, w16, eq
	add	x11, x15, #1
	strb	w12, [x4, x15]
	strb	w10, [x4, x11]
	mov	x12, x13
	ldrb	w13, [x4, w11, uxtw]
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w11, #0
	b.le	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	lsr	w12, w12, #1
	sub	w11, w11, #1
	b	LBB0_2
LBB0_16:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_17:
	subs	w9, w9, w8
	b.lo	LBB0_19
; %bb.18:
	mov	w8, w8
	lsl	x10, x8, #2
	ldr	w0, [x2, x10]
	add	w8, w9, #1
	add	x2, x1, x10
	mov	x1, x8
	bl	_glUniform4fv
	bl	_GL_EXTCALL
LBB0_19:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_checkGLcall
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"walk_constant_heap()"

	.no_dead_strip	_walk_constant_heap
.subsections_via_symbols
