	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_mandelbrot_to_texture
_draw_mandelbrot_to_texture:            ## @draw_mandelbrot_to_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_glBindFramebuffer
	xorl	%eax, %eax
	callq	_check
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_glBindBuffer
	movl	8(%rbx), %edi
	callq	_glUseProgram
	xorl	%eax, %eax
	callq	_check
	movl	4(%rbx), %edi
	movl	%r12d, %esi
	movl	%r12d, %edx
	callq	_glUniform2f
	movl	(%rbx), %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_glUniform2f
	xorl	%eax, %eax
	callq	_check
	movq	_GL_TRIANGLE_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_glDrawArrays
	xorl	%eax, %eax
	callq	_check
	xorl	%eax, %eax
	callq	_glFlush
	xorl	%eax, %eax
	callq	_glFinish
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_FRAMEBUFFER,4,2             ## @GL_FRAMEBUFFER
	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
	.comm	_GL_TRIANGLE_FAN,4,2            ## @GL_TRIANGLE_FAN
	.no_dead_strip	_draw_mandelbrot_to_texture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_mandelbrot_to_texture
_draw_mandelbrot_to_texture:            ; @draw_mandelbrot_to_texture
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GL_FRAMEBUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_FRAMEBUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x22, #16]
	bl	_glBindFramebuffer
	bl	_check
Lloh3:
	adrp	x8, _GL_ARRAY_BUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_ARRAY_BUFFER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x22, #12]
	bl	_glBindBuffer
	ldr	w0, [x22, #8]
	bl	_glUseProgram
	bl	_check
	ldr	w0, [x22, #4]
	mov	x1, x19
	mov	x2, x19
	bl	_glUniform2f
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, x20
	bl	_glUniform2f
	bl	_check
Lloh6:
	adrp	x8, _GL_TRIANGLE_FAN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GL_TRIANGLE_FAN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #4
	bl	_glDrawArrays
	bl	_check
	bl	_glFlush
	bl	_glFinish
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_check
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_FRAMEBUFFER,4,2             ; @GL_FRAMEBUFFER
	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
	.comm	_GL_TRIANGLE_FAN,4,2            ; @GL_TRIANGLE_FAN
	.no_dead_strip	_draw_mandelbrot_to_texture
.subsections_via_symbols
