	.file	"extr_vmbus_drv.c_vmbus_reserve_fb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vmbus_reserve_fb, @function
vmbus_reserve_fb:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR screen_info[rip], 0
	jne	.L22
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR EFI_BOOT[rip]
	call	efi_enabled@PLT
	test	rax, rax
	jne	.L23
	mov	esi, DWORD PTR screen_info[rip+8]
	mov	edi, DWORD PTR __u32[rip]
	mov	edx, 67108864
	call	max_t@PLT
	mov	ebx, eax
.L4:
	cmp	QWORD PTR fb_mmio[rip], 0
	jne	.L1
	cmp	ebx, 1048575
	jle	.L1
	lea	rbp, screen_info[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	test	rax, rax
	jne	.L1
.L5:
	mov	ecx, DWORD PTR fb_mmio_name[rip]
	mov	rsi, QWORD PTR 0[rbp]
	mov	edx, ebx
	xor	r8d, r8d
	mov	edi, DWORD PTR hyperv_mmio[rip]
	sar	ebx
	call	__request_region@PLT
	mov	QWORD PTR fb_mmio[rip], rax
	cmp	ebx, 1048575
	jg	.L24
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	esi, DWORD PTR screen_info[rip+8]
	mov	edi, DWORD PTR __u32[rip]
	mov	edx, 8388608
	call	max_t@PLT
	mov	ebx, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	vmbus_reserve_fb, .-vmbus_reserve_fb
	.comm	screen_info,16,16
	.comm	hyperv_mmio,4,4
	.comm	fb_mmio_name,4,4
	.comm	fb_mmio,8,8
	.comm	__u32,4,4
	.comm	EFI_BOOT,4,4
	.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_vmbus_drv.c_vmbus_reserve_fb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmbus_reserve_fb, %function
vmbus_reserve_fb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r5, .L16
	sub	sp, sp, #12
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L15
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L15:
	ldr	r3, .L16+4
	ldr	r6, .L16+8
	ldr	r0, [r3]
	bl	efi_enabled
	ldr	r3, .L16+12
	cmp	r0, #0
	movne	r2, #8388608
	moveq	r2, #67108864
	ldr	r0, [r3]
	ldr	r1, [r5, #4]
	bl	max_t
	ldr	r3, [r6]
	mov	r4, r0
	cmp	r0, #1048576
	cmpge	r3, #0
	bne	.L1
	mov	r9, #0
	ldr	r8, .L16+16
	ldr	r7, .L16+20
.L5:
	mov	r2, r4
	ldr	r3, [r8]
	ldr	r1, [r5]
	ldr	r0, [r7]
	str	r9, [sp]
	bl	__request_region
	asr	r4, r4, #1
	cmp	r4, #1048576
	cmpge	r0, #0
	str	r0, [r6]
	beq	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	.align	2
.L16:
	.word	screen_info
	.word	EFI_BOOT
	.word	fb_mmio
	.word	__u32
	.word	fb_mmio_name
	.word	hyperv_mmio
	.size	vmbus_reserve_fb, .-vmbus_reserve_fb
	.comm	screen_info,8,4
	.comm	hyperv_mmio,4,4
	.comm	fb_mmio_name,4,4
	.comm	fb_mmio,4,4
	.comm	__u32,4,4
	.comm	EFI_BOOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
