	.file	"extr_monitors.c_list_modes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"primary"
.LC1:
	.string	"secondary"
.LC2:
	.string	"Name: %s (%s)\n"
.LC3:
	.string	"Current mode: %s\n"
.LC4:
	.string	"Virtual position: %i, %i\n"
.LC5:
	.string	"Content scale: %f x %f\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC7:
	.string	"Physical size: %i x %i mm (%0.2f dpi at %i x %i)\n"
	.align 8
.LC8:
	.string	"Monitor work area: %i x %i starting at %i, %i\n"
	.section	.rodata.str1.1
.LC9:
	.string	"Modes:"
.LC10:
	.string	"%3u: %s"
.LC11:
	.string	" (current mode)"
	.text
	.p2align 4
	.type	list_modes, @function
list_modes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	glfwGetVideoMode@PLT
	lea	rsi, 12[rsp]
	mov	rdi, rbp
	mov	r12, rax
	call	glfwGetVideoModes@PLT
	lea	rdx, 20[rsp]
	lea	rsi, 16[rsp]
	mov	rdi, rbp
	mov	rbx, rax
	call	glfwGetMonitorPos@PLT
	lea	rdx, 28[rsp]
	lea	rsi, 24[rsp]
	mov	rdi, rbp
	call	glfwGetMonitorPhysicalSize@PLT
	lea	rdx, 52[rsp]
	lea	rsi, 48[rsp]
	mov	rdi, rbp
	call	glfwGetMonitorContentScale@PLT
	lea	r8, 44[rsp]
	lea	rcx, 40[rsp]
	mov	rdi, rbp
	lea	rsi, 32[rsp]
	lea	rdx, 36[rsp]
	call	glfwGetMonitorWorkarea@PLT
	xor	eax, eax
	call	glfwGetPrimaryMonitor@PLT
	lea	rdx, .LC1[rip]
	mov	rdi, rbp
	cmp	rbp, rax
	cmovne	r13, rdx
	call	glfwGetMonitorName@PLT
	lea	rdi, .LC2[rip]
	mov	rsi, rax
	mov	rdx, r13
	xor	eax, eax
	call	printf@PLT
	mov	rdi, r12
	call	format_mode@PLT
	lea	rdi, .LC3[rip]
	mov	rsi, rax
	xor	eax, eax
	call	printf@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, DWORD PTR 16[rsp]
	xor	eax, eax
	lea	rdi, .LC4[rip]
	call	printf@PLT
	lea	rdi, .LC5[rip]
	pxor	xmm0, xmm0
	pxor	xmm1, xmm1
	mov	eax, 2
	cvtss2sd	xmm0, DWORD PTR 48[rsp]
	cvtss2sd	xmm1, DWORD PTR 52[rsp]
	call	printf@PLT
	movss	xmm1, DWORD PTR [r12]
	mov	esi, DWORD PTR 24[rsp]
	pxor	xmm2, xmm2
	mov	ecx, DWORD PTR 4[r12]
	mov	edx, DWORD PTR 28[rsp]
	lea	rdi, .LC7[rip]
	mov	eax, 2
	movss	xmm0, DWORD PTR .LC6[rip]
	cvtsi2ss	xmm2, esi
	mulss	xmm0, xmm1
	cvtss2sd	xmm1, xmm1
	divss	xmm0, xmm2
	cvtss2sd	xmm0, xmm0
	call	printf@PLT
	mov	r8d, DWORD PTR 36[rsp]
	xor	eax, eax
	mov	ecx, DWORD PTR 32[rsp]
	mov	edx, DWORD PTR 44[rsp]
	lea	rdi, .LC8[rip]
	mov	esi, DWORD PTR 40[rsp]
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jle	.L1
	xor	ebp, ebp
	lea	r13, .LC10[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, 10
	add	ebp, 1
	add	rbx, 8
	call	putchar@PLT
	cmp	DWORD PTR 12[rsp], ebp
	jle	.L1
.L5:
	mov	rdi, rbx
	call	format_mode@PLT
	mov	esi, ebp
	mov	rdi, r13
	mov	rdx, rax
	xor	eax, eax
	call	printf@PLT
	mov	edx, 8
	mov	rsi, rbx
	mov	rdi, r12
	call	memcmp@PLT
	test	rax, rax
	jne	.L4
	lea	rdi, .LC11[rip]
	call	printf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	list_modes, .-list_modes
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC6:
	.long	1103835955
	.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_monitors.c_list_modes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"primary\000"
	.align	2
.LC1:
	.ascii	"secondary\000"
	.align	2
.LC2:
	.ascii	"Name: %s (%s)\012\000"
	.align	2
.LC3:
	.ascii	"Current mode: %s\012\000"
	.align	2
.LC4:
	.ascii	"Virtual position: %i, %i\012\000"
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"Content scale: %f x %f\012\000"
	.align	2
.LC6:
	.ascii	"Physical size: %i x %i mm (%0.2f dpi at %i x %i)\012"
	.ascii	"\000"
	.global	__aeabi_fmul
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
.LC7:
	.ascii	"Monitor work area: %i x %i starting at %i, %i\012\000"
	.align	2
.LC8:
	.ascii	"Modes:\000"
	.align	2
.LC9:
	.ascii	"%3u: %s\000"
	.align	2
.LC10:
	.ascii	" (current mode)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_modes, %function
list_modes:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L12
	sub	sp, sp, #76
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	bl	glfwGetVideoMode
	add	r1, sp, #24
	mov	r6, r0
	mov	r0, r5
	bl	glfwGetVideoModes
	add	r2, sp, #32
	add	r1, sp, #28
	mov	r4, r0
	mov	r0, r5
	bl	glfwGetMonitorPos
	mov	r0, r5
	add	r2, sp, #40
	add	r1, sp, #36
	bl	glfwGetMonitorPhysicalSize
	mov	r0, r5
	add	r2, sp, #64
	add	r1, sp, #60
	bl	glfwGetMonitorContentScale
	add	r3, sp, #56
	add	r2, sp, #48
	add	r1, sp, #44
	mov	r0, r5
	str	r3, [sp]
	add	r3, sp, #52
	bl	glfwGetMonitorWorkarea
	mov	r0, r5
	bl	glfwGetMonitorName
	mov	r7, r0
	bl	glfwGetPrimaryMonitor
	ldr	r3, .L12+4
	cmp	r5, r0
	ldr	r2, .L12+8
	mov	r1, r7
	movne	r2, r3
	ldr	r0, .L12+12
	bl	printf
	mov	r0, r6
	bl	format_mode
	mov	r1, r0
	ldr	r0, .L12+16
	bl	printf
	ldr	r2, [sp, #32]
	ldr	r1, [sp, #28]
	ldr	r0, .L12+20
	bl	printf
	ldr	r0, [sp, #60]	@ float
	bl	__aeabi_f2d
	mov	r8, r0
	ldr	r0, [sp, #64]	@ float
	mov	r9, r1
	bl	__aeabi_f2d
	mov	r2, r8
	stm	sp, {r0-r1}
	mov	r3, r9
	ldr	r0, .L12+24
	bl	printf
	ldr	r5, [r6]	@ float
	ldr	r3, [r6, #4]
	mov	r0, r5
	str	r3, [sp, #16]
	bl	__aeabi_f2d
	mov	r3, r1
	mov	r2, r0
	ldr	r1, .L12+28
	mov	r0, r5
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	bl	__aeabi_fmul
	ldr	r7, [sp, #36]
	mov	r5, r0
	mov	r0, r7
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r0, r5
	bl	__aeabi_fdiv
	bl	__aeabi_f2d
	ldr	r2, [sp, #40]
	stm	sp, {r0-r1}
	mov	r1, r7
	ldr	r0, .L12+32
	bl	printf
	ldr	r2, [sp, #48]
	ldr	r3, [sp, #44]
	ldr	r1, [sp, #52]
	str	r2, [sp]
	ldr	r0, .L12+36
	ldr	r2, [sp, #56]
	bl	printf
	ldr	r0, .L12+40
	bl	puts
	ldr	r3, [sp, #24]
	cmp	r3, #0
	ble	.L1
	mov	r5, #0
	ldr	r7, .L12+44
	ldr	r8, .L12+48
	b	.L5
.L4:
	mov	r0, #10
	bl	putchar
	ldr	r3, [sp, #24]
	add	r5, r5, #1
	cmp	r3, r5
	add	r4, r4, #8
	ble	.L1
.L5:
	mov	r0, r4
	bl	format_mode
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	printf
	mov	r2, #8
	mov	r1, r4
	mov	r0, r6
	bl	memcmp
	cmp	r0, #0
	bne	.L4
	mov	r0, r8
	bl	printf
	b	.L4
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC11
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1103835955
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	list_modes, .-list_modes
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
