	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_destroy_fbo
_context_destroy_fbo:                   ## @context_destroy_fbo
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %edx
	movq	%rdi, %rbx
	movl	%esi, -28(%rbp)
	movq	(%rdi), %r14
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_context_bind_fbo
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_context_clean_fbo_attachments
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_context_bind_fbo
	leaq	-28(%rbp), %rsi
	movl	$1, %edi
	callq	*(%r14)
	leaq	L_.str(%rip), %rdi
	callq	_checkGLcall
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_FRAMEBUFFER,4,2             ## @GL_FRAMEBUFFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glDeleteFramebuffers()"

	.no_dead_strip	_context_destroy_fbo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_destroy_fbo
_context_destroy_fbo:                   ; @context_destroy_fbo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x2, x1
	mov	x19, x0
	str	w1, [sp, #12]
	ldr	x20, [x0]
Lloh0:
	adrp	x21, _GL_FRAMEBUFFER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GL_FRAMEBUFFER@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_context_bind_fbo
	ldr	w1, [x21]
	mov	x0, x20
	bl	_context_clean_fbo_attachments
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_context_bind_fbo
	ldr	x8, [x20]
	add	x1, sp, #12
	mov	w0, #1
	blr	x8
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_checkGLcall
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_FRAMEBUFFER,4,2             ; @GL_FRAMEBUFFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glDeleteFramebuffers()"

	.no_dead_strip	_context_destroy_fbo
.subsections_via_symbols
