	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function reshape
LCPI0_0:
	.long	0x43480000                      ## float 200
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.long	0x00000000                      ## float 0
	.long	0xbf800000                      ## float -1
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_reshape
	.p2align	4, 0x90
_reshape:                               ## @reshape
	.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
	movl	%edx, %r14d
	movl	%esi, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_glViewport
	movq	_GL_PROJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glMatrixMode
	movq	_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_atan2
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	cvtsi2ss	%ebx, %xmm1
	cvtsi2ss	%r14d, %xmm2
	addss	%xmm0, %xmm0
	divss	%xmm2, %xmm1
	movq	_VIEW_SCENE_DIST@GOTPCREL(%rip), %rbx
	movss	(%rbx), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	callq	_mat4x4_perspective
	callq	_glLoadMatrixf
	movq	_GL_MODELVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glMatrixMode
	movss	(%rbx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movaps	LCPI0_2(%rip), %xmm4            ## xmm4 = <0.0E+0,-1.0E+0,u,u>
	xorps	%xmm0, %xmm0
	xorps	%xmm2, %xmm2
	xorps	%xmm3, %xmm3
	xorps	%xmm5, %xmm5
	callq	_mat4x4_look_at
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_glLoadMatrixf                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_PROJECTION,4,2              ## @GL_PROJECTION
	.comm	_RADIUS,4,2                     ## @RADIUS
	.comm	_VIEW_SCENE_DIST,4,2            ## @VIEW_SCENE_DIST
	.comm	_GL_MODELVIEW,4,2               ## @GL_MODELVIEW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reshape                        ; -- Begin function reshape
	.p2align	2
_reshape:                               ; @reshape
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	w0, #0
	mov	w1, #0
	mov	x2, x20
	mov	x3, x19
	bl	_glViewport
Lloh0:
	adrp	x8, _GL_PROJECTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_PROJECTION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_glMatrixMode
Lloh3:
	adrp	x8, _RADIUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RADIUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w8, #1128792064
	fmov	s0, w8
	bl	_atan2
	scvtf	s0, x0
	fadd	s0, s0, s0
	scvtf	s1, w20
	scvtf	s2, w19
	fdiv	s1, s1, s2
Lloh6:
	adrp	x19, _VIEW_SCENE_DIST@GOTPAGE
Lloh7:
	ldr	x19, [x19, _VIEW_SCENE_DIST@GOTPAGEOFF]
	ldr	s3, [x19]
	fmov	s2, #1.00000000
	bl	_mat4x4_perspective
	bl	_glLoadMatrixf
Lloh8:
	adrp	x8, _GL_MODELVIEW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_MODELVIEW@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_glMatrixMode
	ldr	s2, [x19]
	str	wzr, [sp, #8]
	mov	x8, #-4647714815446351872
	str	x8, [sp]
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	movi	d3, #0000000000000000
	movi	d4, #0000000000000000
	movi	d5, #0000000000000000
	bl	_mat4x4_look_at
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_glLoadMatrixf
	.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_PROJECTION,4,2              ; @GL_PROJECTION
	.comm	_RADIUS,4,2                     ; @RADIUS
	.comm	_VIEW_SCENE_DIST,4,2            ; @VIEW_SCENE_DIST
	.comm	_GL_MODELVIEW,4,2               ; @GL_MODELVIEW
.subsections_via_symbols
