	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sobel_redraw
_sobel_redraw:                          ## @sobel_redraw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_GL_COLOR_BUFFER_BIT@GOTPCREL(%rip), %rax
	movq	_GL_DEPTH_BUFFER_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_glClear
	movq	_sobel_shader@GOTPCREL(%rip), %r14
	movl	8(%r14), %edi
	callq	_glUseProgram
	movl	%eax, %edi
	callq	_GLCHK
	movq	_GL_TEXTURE0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glActiveTexture
	movl	%eax, %edi
	callq	_GLCHK
	movq	_GL_TEXTURE_EXTERNAL_OES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_glBindTexture
	movl	%eax, %edi
	callq	_GLCHK
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_quad_vbo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glBindBuffer
	movl	%eax, %edi
	callq	_GLCHK
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_glEnableVertexAttribArray
	movl	%eax, %edi
	callq	_GLCHK
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_GL_FLOAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$2, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_glVertexAttribPointer
	movl	%eax, %edi
	callq	_GLCHK
	movq	_GL_TRIANGLES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$6, %edx
	callq	_glDrawArrays
	movl	%eax, %edi
	callq	_GLCHK
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ## @GL_COLOR_BUFFER_BIT
	.comm	_GL_DEPTH_BUFFER_BIT,4,2        ## @GL_DEPTH_BUFFER_BIT
	.comm	_sobel_shader,16,3              ## @sobel_shader
	.comm	_GL_TEXTURE0,4,2                ## @GL_TEXTURE0
	.comm	_GL_TEXTURE_EXTERNAL_OES,4,2    ## @GL_TEXTURE_EXTERNAL_OES
	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
	.comm	_quad_vbo,4,2                   ## @quad_vbo
	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_GL_TRIANGLES,4,2               ## @GL_TRIANGLES
	.no_dead_strip	_sobel_redraw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sobel_redraw
_sobel_redraw:                          ; @sobel_redraw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _GL_COLOR_BUFFER_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_COLOR_BUFFER_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GL_DEPTH_BUFFER_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_DEPTH_BUFFER_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_glClear
Lloh6:
	adrp	x20, _sobel_shader@GOTPAGE
Lloh7:
	ldr	x20, [x20, _sobel_shader@GOTPAGEOFF]
	ldr	w0, [x20, #8]
	bl	_glUseProgram
	bl	_GLCHK
Lloh8:
	adrp	x8, _GL_TEXTURE0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_TEXTURE0@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_glActiveTexture
	bl	_GLCHK
Lloh11:
	adrp	x8, _GL_TEXTURE_EXTERNAL_OES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GL_TEXTURE_EXTERNAL_OES@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_glBindTexture
	bl	_GLCHK
Lloh14:
	adrp	x8, _GL_ARRAY_BUFFER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_ARRAY_BUFFER@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _quad_vbo@GOTPAGE
Lloh18:
	ldr	x8, [x8, _quad_vbo@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_glBindBuffer
	bl	_GLCHK
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_glEnableVertexAttribArray
	bl	_GLCHK
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _GL_FLOAT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GL_FLOAT@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	w1, #2
	mov	w4, #0
	mov	w5, #0
	bl	_glVertexAttribPointer
	bl	_GLCHK
Lloh26:
	adrp	x8, _GL_TRIANGLES@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GL_TRIANGLES@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #6
	bl	_glDrawArrays
	bl	_GLCHK
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ; @GL_COLOR_BUFFER_BIT
	.comm	_GL_DEPTH_BUFFER_BIT,4,2        ; @GL_DEPTH_BUFFER_BIT
	.comm	_sobel_shader,16,3              ; @sobel_shader
	.comm	_GL_TEXTURE0,4,2                ; @GL_TEXTURE0
	.comm	_GL_TEXTURE_EXTERNAL_OES,4,2    ; @GL_TEXTURE_EXTERNAL_OES
	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
	.comm	_quad_vbo,4,2                   ; @quad_vbo
	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_GL_TRIANGLES,4,2               ; @GL_TRIANGLES
	.no_dead_strip	_sobel_redraw
.subsections_via_symbols
