	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmlab_update_rgba_texture      ## -- Begin function dmlab_update_rgba_texture
	.p2align	4, 0x90
_dmlab_update_rgba_texture:             ## @dmlab_update_rgba_texture
	.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	%rcx, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_generateHashValue
	movq	_hashTable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %r14
	xorl	%r13d, %r13d
	testq	%r14, %r14
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_2
	jmp	LBB0_4
LBB0_3:
	movq	_GL_TEXTURE_2D@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_qglBindTexture
	movq	_GL_RGBA8@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	%r14
	pushq	$1
	callq	_Upload32
	addq	$32, %rsp
	movl	$1, %r13d
LBB0_4:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hashTable,8,3                  ## @hashTable
	.comm	_GL_TEXTURE_2D,4,2              ## @GL_TEXTURE_2D
	.comm	_GL_RGBA8,4,2                   ## @GL_RGBA8
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmlab_update_rgba_texture      ; -- Begin function dmlab_update_rgba_texture
	.p2align	2
_dmlab_update_rgba_texture:             ; @dmlab_update_rgba_texture
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	bl	_generateHashValue
Lloh0:
	adrp	x8, _hashTable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hashTable@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x22, [x8, x0, lsl #3]
	cbz	x22, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22, #4]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x22, [x22, #8]
	cbnz	x22, LBB0_1
LBB0_3:
	mov	w23, #0
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _GL_TEXTURE_2D@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_TEXTURE_2D@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_qglBindTexture
Lloh6:
	adrp	x8, _GL_RGBA8@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GL_RGBA8@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x8, _qfalse@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w8, [sp]
	mov	w23, #1
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	mov	x3, x20
	mov	x4, x19
	mov	w6, #1
	mov	x7, x22
	bl	_Upload32
LBB0_5:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_hashTable,8,3                  ; @hashTable
	.comm	_GL_TEXTURE_2D,4,2              ; @GL_TEXTURE_2D
	.comm	_GL_RGBA8,4,2                   ; @GL_RGBA8
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
