	.file	"extr_cylfrac.c_DrawCylinder.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	DrawCylinder
	.type	DrawCylinder, @function
DrawCylinder:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	movss	DWORD PTR 12[rsp], xmm0
	movss	DWORD PTR 8[rsp], xmm1
	call	glPushMatrix@PLT
	mov	eax, DWORD PTR bval[rip]
	cdq
	idiv	ebp
	mov	r8d, eax
	mov	eax, DWORD PTR gval[rip]
	cdq
	idiv	ebp
	mov	esi, eax
	mov	eax, DWORD PTR rval[rip]
	cdq
	idiv	ebp
	mov	edx, r8d
	mov	edi, eax
	call	glColor3f@PLT
	mov	rax, QWORD PTR .LC0[rip]
	pxor	xmm3, xmm3
	pxor	xmm0, xmm0
	movapd	xmm1, xmm3
	cvtss2sd	xmm0, DWORD PTR 12[rsp]
	movq	xmm2, rax
	call	glRotatef@PLT
	pxor	xmm0, xmm0
	mov	ecx, 1
	movss	xmm4, DWORD PTR 8[rsp]
	cvtsi2sd	xmm0, ebp
	mulsd	xmm0, QWORD PTR .LC2[rip]
	movss	xmm1, DWORD PTR wfactor[rip]
	mov	edx, DWORD PTR cylquality[rip]
	mov	edi, DWORD PTR cylinder[rip]
	mulss	xmm1, xmm4
	cvttsd2si	r12d, xmm0
	movaps	xmm0, xmm4
	mov	esi, r12d
	call	gluCylinder@PLT
	mov	eax, ebp
	pxor	xmm1, xmm1
	xor	edi, edi
	neg	eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm1, eax
	mulsd	xmm1, QWORD PTR .LC2[rip]
	call	glTranslatef@PLT
	movss	xmm4, DWORD PTR 8[rsp]
	mov	ecx, 1
	movss	xmm0, DWORD PTR wfactor[rip]
	mov	edx, DWORD PTR cylquality[rip]
	mov	edi, DWORD PTR cylinder[rip]
	mov	esi, r12d
	mulss	xmm0, xmm4
	movaps	xmm1, xmm4
	call	gluCylinder@PLT
	cmp	ebp, 1
	jle	.L2
	movss	xmm5, DWORD PTR 12[rsp]
	pxor	xmm3, xmm3
	mov	rax, QWORD PTR .LC0[rip]
	lea	r12d, -1[rbp]
	mulss	xmm5, DWORD PTR rotfactor[rip]
	movsd	xmm0, QWORD PTR .LC3[rip]
	movapd	xmm2, xmm3
	movq	xmm1, rax
	movss	DWORD PTR 12[rsp], xmm5
	call	glRotatef@PLT
	movss	xmm1, DWORD PTR 8[rsp]
	mulss	xmm1, DWORD PTR wfactor[rip]
	mov	edi, r12d
	movss	xmm0, DWORD PTR 12[rsp]
	call	DrawCylinder
	pxor	xmm1, xmm1
	mov	edi, ebp
	movapd	xmm0, xmm1
	call	glTranslatef@PLT
	movss	xmm1, DWORD PTR 8[rsp]
	mulss	xmm1, DWORD PTR wfactor[rip]
	mov	edi, r12d
	movss	xmm0, DWORD PTR 12[rsp]
	xorps	xmm0, XMMWORD PTR .LC4[rip]
	call	DrawCylinder
.L2:
	add	rsp, 24
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	glPopMatrix@PLT
	.cfi_endproc
.LFE0:
	.size	DrawCylinder, .-DrawCylinder
	.comm	wfactor,4,4
	.comm	rval,4,4
	.comm	rotfactor,4,4
	.comm	gval,4,4
	.comm	cylquality,4,4
	.comm	cylinder,4,4
	.comm	bval,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.align 8
.LC3:
	.long	0
	.long	1079410688
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	2147483648
	.long	0
	.long	0
	.long	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cylfrac.c_DrawCylinder.c"
	.text
	.global	__aeabi_idiv
	.global	__aeabi_f2d
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.global	__aeabi_fmul
	.align	2
	.global	DrawCylinder
	.syntax unified
	.arm
	.fpu softvfp
	.type	DrawCylinder, %function
DrawCylinder:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #20
	mov	r5, r2
	mov	r7, r1
	bl	glPushMatrix
	ldr	r3, .L5
	mov	r1, r4
	ldr	r0, [r3]
	bl	__aeabi_idiv
	ldr	r3, .L5+4
	mov	r8, r0
	mov	r1, r4
	ldr	r0, [r3]
	bl	__aeabi_idiv
	mov	r6, r0
	mov	r9, #0
	mov	r10, #0
	mov	fp, #0
	ldr	r3, .L5+8
	mov	r1, r4
	ldr	r0, [r3]
	bl	__aeabi_idiv
	mov	r2, r8
	mov	r1, r6
	bl	glColor3f
	mov	r0, r7
	bl	__aeabi_f2d
	ldr	ip, .L5+12
	mov	r2, r9
	stm	sp, {fp-ip}
	mov	r3, r10
	str	r9, [sp, #8]
	str	r10, [sp, #12]
	bl	glRotatef
	mov	r0, r4
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L5+16
	bl	__aeabi_dmul
	bl	__aeabi_d2iz
	ldr	r8, .L5+20
	mov	r6, r0
	ldr	r1, [r8]	@ float
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r2, r0
	mov	r0, #1
	ldr	fp, .L5+24
	mov	r3, r6
	ldr	ip, [fp]
	str	r0, [sp, #4]
	str	ip, [sp]
	ldr	ip, .L5+28
	mov	r1, r5
	ldr	r0, [ip]
	bl	gluCylinder
	rsb	r0, r4, #0
	bl	__aeabi_i2d
	ldr	r3, .L5+16
	mov	r2, #0
	bl	__aeabi_dmul
	mov	r2, #0
	stm	sp, {r0-r1}
	mov	r1, r10
	mov	r0, r9
	bl	glTranslatef
	ldr	r1, [r8]	@ float
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, #1
	ldr	r2, [fp]
	ldr	ip, .L5+28
	str	r2, [sp]
	str	r0, [sp, #4]
	mov	r3, r6
	mov	r2, r5
	ldr	r0, [ip]
	bl	gluCylinder
	cmp	r4, #1
	ble	.L2
	ldr	r3, .L5+32
	mov	r0, r7
	ldr	r1, [r3]	@ float
	bl	__aeabi_fmul
	ldr	r3, .L5+12
	mov	r6, r0
	mov	r2, #0
	ldr	r1, .L5+36
	mov	r0, #0
	str	r9, [sp, #8]
	str	r10, [sp, #12]
	stm	sp, {r9-r10}
	bl	glRotatef
	ldr	r1, [r8]	@ float
	mov	r0, r5
	bl	__aeabi_fmul
	sub	r7, r4, #1
	mov	r2, r0
	mov	r1, r6
	mov	r0, r7
	bl	DrawCylinder
	mov	r2, r4
	mov	r1, r10
	mov	r0, r9
	stm	sp, {r9-r10}
	bl	glTranslatef
	ldr	r1, [r8]	@ float
	mov	r0, r5
	bl	__aeabi_fmul
	add	r1, r6, #-2147483648
	mov	r2, r0
	mov	r0, r7
	bl	DrawCylinder
.L2:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	glPopMatrix
.L6:
	.align	2
.L5:
	.word	bval
	.word	gval
	.word	rval
	.word	1072693248
	.word	1071644672
	.word	wfactor
	.word	cylquality
	.word	cylinder
	.word	rotfactor
	.word	1079410688
	.size	DrawCylinder, .-DrawCylinder
	.comm	wfactor,4,4
	.comm	rval,4,4
	.comm	rotfactor,4,4
	.comm	gval,4,4
	.comm	cylquality,4,4
	.comm	cylinder,4,4
	.comm	bval,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
