	.file	"extr_fl512.c_fl512_ai_insn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fl512_ai_insn, @function
fl512_ai_insn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 4[rdx]
	mov	QWORD PTR 8[rsp], rdx
	call	CR_CHAN@PLT
	mov	edx, DWORD PTR [r14]
	mov	rbx, QWORD PTR [rbx]
	test	edx, edx
	jle	.L4
	lea	rbp, 2[rbx]
	movsx	r13d, al
	add	rbx, 3
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rbp
	mov	edi, r13d
	add	r12d, 1
	add	r15, 4
	call	outb@PLT
	mov	rsi, rbx
	xor	edi, edi
	call	outb@PLT
	mov	edi, 30
	call	udelay@PLT
	mov	rdi, rbp
	call	inb@PLT
	mov	rdi, rbx
	mov	r14d, eax
	call	inb@PLT
	sal	eax, 8
	and	eax, 3840
	add	eax, r14d
	mov	DWORD PTR -4[r15], eax
	mov	rax, QWORD PTR 8[rsp]
	cmp	DWORD PTR [rax], r12d
	jg	.L3
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fl512_ai_insn, .-fl512_ai_insn
	.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_fl512.c_fl512_ai_insn.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fl512_ai_insn, %function
fl512_ai_insn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r2
	mov	r4, r0
	ldr	r0, [r2, #4]
	mov	r9, r3
	bl	CR_CHAN
	ldr	r3, [r8]
	ldr	r5, [r4]
	cmp	r3, #0
	ble	.L4
	mov	r7, r0
	mov	r4, #0
	add	r6, r5, #2
	sub	r9, r9, #4
	add	r5, r5, #3
.L3:
	mov	r1, r6
	mov	r0, r7
	bl	outb
	mov	r1, r5
	mov	r0, #0
	bl	outb
	mov	r0, #30
	bl	udelay
	mov	r0, r6
	bl	inb
	mov	r10, r0
	mov	r0, r5
	bl	inb
	lsl	r3, r0, #8
	and	r3, r3, #3840
	add	r0, r3, r10
	str	r0, [r9, #4]!
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	fl512_ai_insn, .-fl512_ai_insn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
