	.file	"extr_vgacon.c_write_vga.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	write_vga, @function
write_vga:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	lea	rdi, vga_lock[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	mov	rsi, r12
	movzx	ebp, bpl
	call	raw_spin_lock_irqsave@PLT
	mov	edi, ebx
	mov	esi, DWORD PTR vga_video_port_reg[rip]
	sal	ebx, 8
	and	edi, 65280
	movzx	ebx, bx
	add	edi, ebp
	call	outw@PLT
	mov	esi, DWORD PTR vga_video_port_reg[rip]
	lea	edi, 1[rbp+rbx]
	call	outw@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rdi, vga_lock[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	raw_spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	write_vga, .-write_vga
	.comm	vga_video_port_reg,4,4
	.comm	vga_lock,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_vgacon.c_write_vga.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_vga, %function
write_vga:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, #0
	mov	r5, r1
	mov	r4, r0
	ldr	r6, .L4
	mov	r1, r7
	ldr	r8, .L4+4
	mov	r0, r6
	bl	raw_spin_lock_irqsave
	and	r0, r5, #65280
	ldr	r1, [r8]
	add	r0, r0, r4
	bl	outw
	ldr	r3, .L4+8
	ldr	r1, [r8]
	and	r3, r3, r5, lsl #8
	add	r0, r3, r4
	add	r0, r0, #1
	bl	outw
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	raw_spin_unlock_irqrestore
.L5:
	.align	2
.L4:
	.word	vga_lock
	.word	vga_video_port_reg
	.word	65535
	.size	write_vga, .-write_vga
	.comm	vga_video_port_reg,4,4
	.comm	vga_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
