	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FBO_Shutdown                   ## -- Begin function FBO_Shutdown
	.p2align	4, 0x90
_FBO_Shutdown:                          ## @FBO_Shutdown
	.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	_ri@GOTPCREL(%rip), %rax
	movq	_PRINT_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
	movq	_glRefConfig@GOTPCREL(%rip), %r14
	cmpl	$0, 4(%r14)
	je	LBB0_15
## %bb.1:
	xorl	%edi, %edi
	callq	_FBO_Bind
	movq	_tr@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_15
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	_tr@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rax
	cmpq	%rax, %r12
	jge	LBB0_15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	8(%rcx), %rax
	movq	(%rax,%r12,8), %r13
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r15
	movslq	%eax, %rcx
	addq	$8, %rbx
	cmpq	%rcx, %r15
	jge	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%r13), %rsi
	cmpq	$0, (%rsi,%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	addq	%rbx, %rsi
	movl	$1, %edi
	callq	_qglDeleteRenderbuffers
	movl	(%r14), %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 16(%r13)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	16(%r13), %rsi
	movl	$1, %edi
	callq	_qglDeleteRenderbuffers
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(%r13), %rsi
	movl	$1, %edi
	callq	_qglDeleteRenderbuffers
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	movq	%r13, %rsi
	callq	_qglDeleteFramebuffers
	jmp	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_ALL,4,2                  ## @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"------- FBO_Shutdown -------\n"

	.comm	_glRefConfig,8,2                ## @glRefConfig
	.comm	_tr,16,3                        ## @tr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FBO_Shutdown                   ; -- Begin function FBO_Shutdown
	.p2align	2
_FBO_Shutdown:                          ; @FBO_Shutdown
	.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
Lloh0:
	adrp	x8, _ri@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PRINT_ALL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRINT_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
Lloh8:
	adrp	x20, _glRefConfig@GOTPAGE
Lloh9:
	ldr	x20, [x20, _glRefConfig@GOTPAGEOFF]
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_15
; %bb.1:
	mov	x0, #0
	bl	_FBO_Bind
Lloh10:
	adrp	x21, _tr@GOTPAGE
Lloh11:
	ldr	x21, [x21, _tr@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.2:
	mov	x22, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x21, #8]
	ldr	x19, [x8, x22, lsl #3]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
	mov	x24, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	add	x23, x23, #8
	cmp	x24, w8, sxtw
	b.ge	LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #24]
	add	x1, x9, x23
	ldr	x9, [x1]
	cbz	x9, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w0, #1
	bl	_qglDeleteRenderbuffers
	ldr	w8, [x20]
	b	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	ldr	x8, [x1, #16]!
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_qglDeleteRenderbuffers
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	ldr	x8, [x1, #8]!
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_qglDeleteRenderbuffers
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_qglDeleteFramebuffers
	b	LBB0_3
LBB0_15:
	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
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_ALL,4,2                  ; @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"------- FBO_Shutdown -------\n"

	.comm	_glRefConfig,8,2                ; @glRefConfig
	.comm	_tr,16,3                        ; @tr
.subsections_via_symbols
