	.file	"extr_polygon.c_gl_PolygonMode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"glPolygonMode"
.LC1:
	.string	"glPolygonMode(face)"
.LC2:
	.string	"glPolygonMode(mode)"
	.text
	.p2align 4
	.globl	gl_PolygonMode
	.type	gl_PolygonMode, @function
gl_PolygonMode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	INSIDE_BEGIN_END@PLT
	mov	esi, DWORD PTR GL_INVALID_OPERATION[rip]
	lea	rdx, .LC0[rip]
	test	rax, rax
	jne	.L30
	cmp	QWORD PTR GL_FRONT[rip], rbx
	je	.L3
	mov	rcx, QWORD PTR GL_BACK[rip]
	cmp	rcx, rbx
	je	.L4
	cmp	QWORD PTR GL_FRONT_AND_BACK[rip], rbx
	lea	rdx, .LC1[rip]
	jne	.L31
.L4:
	cmp	r12, QWORD PTR GL_POINT[rip]
	mov	rax, QWORD PTR GL_FILL[rip]
	je	.L15
	cmp	r12, QWORD PTR GL_LINE[rip]
	je	.L15
	cmp	r12, rax
	jne	.L20
.L15:
	cmp	QWORD PTR GL_FRONT_AND_BACK[rip], rbx
	je	.L33
	mov	rdx, QWORD PTR 8[rbp]
	cmp	rbx, rcx
	je	.L7
.L8:
	cmp	rdx, rax
	je	.L34
.L9:
	mov	eax, DWORD PTR GL_TRUE[rip]
.L11:
	mov	DWORD PTR 24[rbp], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR NEW_POLYGON[rip]
	or	DWORD PTR 0[rbp], eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	mov	QWORD PTR 8[rbp], r12
	mov	rdx, r12
.L7:
	mov	QWORD PTR 16[rbp], r12
	cmp	rdx, rax
	jne	.L9
.L34:
	mov	eax, DWORD PTR GL_FALSE[rip]
	cmp	QWORD PTR 16[rbp], rdx
	jne	.L9
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	r12, QWORD PTR GL_POINT[rip]
	mov	rax, QWORD PTR GL_FILL[rip]
	je	.L28
	cmp	QWORD PTR GL_LINE[rip], r12
	je	.L28
	cmp	r12, rax
	je	.L28
.L20:
	lea	rdx, .LC2[rip]
.L31:
	mov	esi, DWORD PTR GL_INVALID_ENUM[rip]
.L30:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	gl_error@PLT
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	rdx, QWORD PTR GL_BACK[rip]
	mov	QWORD PTR 8[rbp], r12
	cmp	rbx, rdx
	mov	rdx, r12
	je	.L7
	cmp	QWORD PTR GL_FRONT_AND_BACK[rip], rbx
	jne	.L8
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	gl_PolygonMode, .-gl_PolygonMode
	.comm	NEW_POLYGON,4,4
	.comm	GL_TRUE,4,4
	.comm	GL_POINT,8,8
	.comm	GL_LINE,8,8
	.comm	GL_INVALID_OPERATION,4,4
	.comm	GL_INVALID_ENUM,4,4
	.comm	GL_FRONT_AND_BACK,8,8
	.comm	GL_FRONT,8,8
	.comm	GL_FILL,8,8
	.comm	GL_FALSE,4,4
	.comm	GL_BACK,8,8
	.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_polygon.c_gl_PolygonMode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"glPolygonMode\000"
	.align	2
.LC1:
	.ascii	"glPolygonMode(face)\000"
	.align	2
.LC2:
	.ascii	"glPolygonMode(mode)\000"
	.text
	.align	2
	.global	gl_PolygonMode
	.syntax unified
	.arm
	.fpu softvfp
	.type	gl_PolygonMode, %function
gl_PolygonMode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r2
	mov	r4, r0
	bl	INSIDE_BEGIN_END
	cmp	r0, #0
	bne	.L33
	ldr	r3, .L38
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L3
	ldr	r1, .L38+4
	ldr	r2, [r1]
	cmp	r2, r5
	beq	.L4
	ldr	r3, .L38+8
	ldr	r3, [r3]
	cmp	r3, r5
	bne	.L34
.L4:
	ldr	r0, .L38+12
	ldr	r3, .L38+16
	ldr	r0, [r0]
	ldr	r3, [r3]
	cmp	r6, r0
	beq	.L15
	ldr	r2, .L38+20
	ldr	r2, [r2]
	cmp	r6, r2
	beq	.L30
	cmp	r6, r3
	bne	.L20
.L30:
	ldr	r2, [r1]
.L15:
	ldr	r1, .L38+8
	ldr	r1, [r1]
	cmp	r1, r5
	beq	.L35
	cmp	r5, r2
	ldr	r2, [r4, #4]
	beq	.L7
.L8:
	cmp	r2, r3
	beq	.L36
.L9:
	ldr	r3, .L38+24
	ldr	r1, [r3]
.L11:
	ldr	r2, .L38+28
	ldr	r3, [r4]
	ldr	r2, [r2]
	str	r1, [r4, #12]
	orr	r3, r3, r2
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L23:
	mov	r2, r6
.L7:
	str	r6, [r4, #8]
.L37:
	cmp	r2, r3
	bne	.L9
.L36:
	ldr	r3, [r4, #8]
	cmp	r3, r2
	bne	.L9
	ldr	r3, .L38+32
	ldr	r1, [r3]
	b	.L11
.L3:
	ldr	r2, .L38+12
	ldr	r3, .L38+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r6, r2
	beq	.L29
	ldr	r2, .L38+20
	ldr	r2, [r2]
	cmp	r2, r6
	beq	.L29
	cmp	r6, r3
	beq	.L29
.L20:
	ldr	r3, .L38+36
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	ldr	r2, .L38+40
	b	gl_error
.L33:
	ldr	r3, .L38+44
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	ldr	r2, .L38+48
	b	gl_error
.L29:
	ldr	r2, .L38+4
	str	r6, [r4, #4]
	ldr	r2, [r2]
	cmp	r5, r2
	beq	.L23
	ldr	r2, .L38+8
	ldr	r2, [r2]
	cmp	r2, r5
	mov	r2, r6
	bne	.L8
	b	.L7
.L35:
	mov	r2, r6
	str	r6, [r4, #4]
	str	r6, [r4, #8]
	b	.L37
.L34:
	ldr	r3, .L38+36
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	ldr	r2, .L38+52
	b	gl_error
.L39:
	.align	2
.L38:
	.word	GL_FRONT
	.word	GL_BACK
	.word	GL_FRONT_AND_BACK
	.word	GL_POINT
	.word	GL_FILL
	.word	GL_LINE
	.word	GL_TRUE
	.word	NEW_POLYGON
	.word	GL_FALSE
	.word	GL_INVALID_ENUM
	.word	.LC2
	.word	GL_INVALID_OPERATION
	.word	.LC0
	.word	.LC1
	.size	gl_PolygonMode, .-gl_PolygonMode
	.comm	NEW_POLYGON,4,4
	.comm	GL_TRUE,4,4
	.comm	GL_POINT,4,4
	.comm	GL_LINE,4,4
	.comm	GL_INVALID_OPERATION,4,4
	.comm	GL_INVALID_ENUM,4,4
	.comm	GL_FRONT_AND_BACK,4,4
	.comm	GL_FRONT,4,4
	.comm	GL_FILL,4,4
	.comm	GL_FALSE,4,4
	.comm	GL_BACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
