	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_generate_fbo_key
_context_generate_fbo_key:              ## @context_generate_fbo_key
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movl	(%rax), %r12d
	movq	$0, 8(%rsi)
	xorl	%edx, %edx
	movl	%r9d, %r8d
	callq	_context_set_fbo_key_for_render_target
	testq	%r12, %r12
	je	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r14
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_context_set_fbo_key_for_render_target
	addq	$4, %rbx
	cmpq	%r14, %r12
	jne	LBB0_2
LBB0_3:
	movq	(%r15), %rdi
	leal	1(%r12), %eax
	leaq	(%rdi,%rax,4), %rbx
	callq	_ARRAY_SIZE
	notl	%r12d
	addl	%eax, %r12d
	shll	$2, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_context_generate_fbo_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_generate_fbo_key
_context_generate_fbo_key:              ; @context_generate_fbo_key
	.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, x4
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x0]
	ldr	w24, [x8]
	str	xzr, [x1, #8]
	mov	w2, #0
	mov	x4, x5
	bl	_context_set_fbo_key_for_render_target
	cbz	w24, LBB0_3
; %bb.1:
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x23, #1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	mov	x4, x19
	bl	_context_set_fbo_key_for_render_target
	add	x21, x21, #4
	cmp	x24, x23
	b.ne	LBB0_2
LBB0_3:
	ldr	x0, [x20]
	add	w8, w24, #1
	add	x19, x0, w8, uxtw #2
	bl	_ARRAY_SIZE
	mvn	w8, w24
	add	w8, w0, w8
	lsl	w2, w8, #2
	mov	x0, x19
	mov	w1, #0
	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
	b	_memset
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_context_generate_fbo_key
.subsections_via_symbols
