	.file	"extr_dispnv04disp.h_nv_two_heads.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nv_two_heads, @function
nv_two_heads:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	nouveau_drm@PLT
	mov	rcx, QWORD PTR NV_DEVICE_INFO_V0_CELSIUS[rip]
	xor	r8d, r8d
	mov	r9, rax
	mov	rax, QWORD PTR [rbx]
	mov	eax, DWORD PTR [rax]
	cmp	QWORD PTR [r9], rcx
	jl	.L1
	and	eax, 4080
	lea	edx, -256[rax]
	and	edx, -272
	je	.L4
	cmp	eax, 336
	je	.L4
	xor	r8d, r8d
	cmp	eax, 416
	setne	r8b
.L1:
	mov	eax, r8d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	r8d, r8d
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	nv_two_heads, .-nv_two_heads
	.comm	NV_DEVICE_INFO_V0_CELSIUS,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_dispnv04disp.h_nv_two_heads.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv_two_heads, %function
nv_two_heads:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	nouveau_drm
	ldr	r3, .L7
	ldr	r1, [r0]
	ldr	r2, [r3]
	ldr	r3, [r4]
	cmp	r1, r2
	ldr	r0, [r3]
	blt	.L3
	and	r3, r0, #4080
	sub	r2, r3, #256
	subs	r0, r3, #336
	bic	r2, r2, #256
	movne	r0, #1
	cmp	r2, #0
	moveq	r0, #0
	cmp	r0, #0
	popeq	{r4, pc}
	subs	r0, r3, #416
	movne	r0, #1
	pop	{r4, pc}
.L3:
	mov	r0, #0
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	NV_DEVICE_INFO_V0_CELSIUS
	.size	nv_two_heads, .-nv_two_heads
	.comm	NV_DEVICE_INFO_V0_CELSIUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
