	.file	"extr_dmm32at.c_dmm32at_8255_io.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dmm32at_8255_io, @function
dmm32at_8255_io:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	mov	rsi, QWORD PTR DMM32AT_CTRL_REG[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	add	rsi, QWORD PTR [rdi]
	movsx	rbx, edx
	mov	edi, DWORD PTR DMM32AT_CTRL_PAGE_8255[rip]
	call	outb@PLT
	lea	r8, [rbx+r14]
	test	r13d, r13d
	jne	.L5
	mov	rdi, QWORD PTR 0[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	add	rdi, r8
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	inb@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rsi, QWORD PTR 0[rbp]
	mov	edi, r12d
	add	rsi, r8
	call	outb@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dmm32at_8255_io, .-dmm32at_8255_io
	.comm	DMM32AT_CTRL_REG,8,8
	.comm	DMM32AT_CTRL_PAGE_8255,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_dmm32at.c_dmm32at_8255_io.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dmm32at_8255_io, %function
dmm32at_8255_io:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r4, r2
	ldr	r2, .L8
	mov	r5, r0
	ldr	r1, [r2]
	ldr	r0, [r0]
	ldr	r2, .L8+4
	ldr	r8, [sp, #24]
	add	r1, r0, r1
	ldr	r0, [r2]
	mov	r7, r3
	bl	outb
	cmp	r6, #0
	add	r4, r4, r8
	bne	.L5
	ldr	r0, [r5]
	add	r0, r4, r0
	pop	{r4, r5, r6, r7, r8, lr}
	b	inb
.L5:
	ldr	r1, [r5]
	mov	r0, r7
	add	r1, r4, r1
	bl	outb
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	DMM32AT_CTRL_REG
	.word	DMM32AT_CTRL_PAGE_8255
	.size	dmm32at_8255_io, .-dmm32at_8255_io
	.comm	DMM32AT_CTRL_REG,4,4
	.comm	DMM32AT_CTRL_PAGE_8255,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
