	.file	"extr_fbcon.c_fbcon_fb_unbind.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fbcon_fb_unbind, @function
fbcon_fb_unbind:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR fbcon_has_console_bind[rip]
	test	eax, eax
	je	.L20
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ebx, DWORD PTR first_fb_vc[rip]
	mov	esi, DWORD PTR last_fb_vc[rip]
	cmp	ebx, esi
	jg	.L4
	movsx	rbp, ebx
	mov	rcx, QWORD PTR con2fb_map[rip]
	mov	r12d, edi
	mov	rax, rbp
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR [rcx+rax*4]
	mov	r13d, eax
	cmp	edx, -1
	je	.L11
	cmp	edx, r12d
	jne	.L5
.L11:
	add	rax, 1
	cmp	esi, eax
	jge	.L7
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	fbcon_unbind@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	eax, -1
	je	.L4
	sal	rbp, 2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	add	ebx, 1
	add	rbp, 4
	cmp	DWORD PTR last_fb_vc[rip], ebx
	jl	.L3
.L24:
	mov	rcx, QWORD PTR con2fb_map[rip]
.L10:
	cmp	DWORD PTR [rcx+rbp], r12d
	jne	.L8
	xor	edx, edx
	mov	edi, ebx
	mov	esi, r13d
	add	ebx, 1
	call	set_con2fb_map@PLT
	add	rbp, 4
	cmp	DWORD PTR last_fb_vc[rip], ebx
	jge	.L24
.L3:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	fbcon_fb_unbind, .-fbcon_fb_unbind
	.comm	last_fb_vc,4,4
	.comm	first_fb_vc,4,4
	.comm	fbcon_has_console_bind,4,4
	.comm	con2fb_map,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_fbcon.c_fbcon_fb_unbind.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fbcon_fb_unbind, %function
fbcon_fb_unbind:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L20+4
	ldr	r7, .L20+8
	mov	r6, r0
	ldr	r5, [r3]
	ldr	r0, [r7]
	cmp	r5, r0
	bgt	.L4
	mov	r4, r5
	ldr	r8, .L20+12
	sub	r2, r5, #-1073741823
	ldr	r1, [r8]
	add	r2, r1, r2, lsl #2
.L6:
	ldr	r3, [r2, #4]!
	cmp	r3, r6
	cmnne	r3, #1
	bne	.L5
	add	r4, r4, #1
	cmp	r4, r0
	ble	.L6
.L4:
	pop	{r4, r5, r6, r7, r8, lr}
	b	fbcon_unbind
.L5:
	cmn	r4, #1
	bne	.L9
	b	.L4
.L7:
	ldr	r3, [r7]
	add	r5, r5, #1
	cmp	r3, r5
	blt	.L3
.L19:
	ldr	r1, [r8]
.L9:
	ldr	r3, [r1, r5, lsl #2]
	cmp	r3, r6
	bne	.L7
	mov	r0, r5
	mov	r2, #0
	mov	r1, r4
	bl	set_con2fb_map
	ldr	r3, [r7]
	add	r5, r5, #1
	cmp	r3, r5
	bge	.L19
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r0, #0
	bx	lr
.L21:
	.align	2
.L20:
	.word	fbcon_has_console_bind
	.word	first_fb_vc
	.word	last_fb_vc
	.word	con2fb_map
	.size	fbcon_fb_unbind, .-fbcon_fb_unbind
	.comm	last_fb_vc,4,4
	.comm	first_fb_vc,4,4
	.comm	fbcon_has_console_bind,4,4
	.comm	con2fb_map,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
