	.file	"extr_floppy.c_show_floppy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
.LC1:
	.string	"floppy driver state\n"
.LC2:
	.string	"-------------------\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"now=%lu last interrupt=%lu diff=%lu last called handler=%ps\n"
	.section	.rodata.str1.1
.LC4:
	.string	"timeout_message=%s\n"
.LC5:
	.string	"last output bytes:\n"
.LC6:
	.string	"%2x %2x %lu\n"
.LC7:
	.string	"last result at %lu\n"
.LC8:
	.string	"last redo_fd_request at %lu\n"
.LC9:
	.string	""
.LC10:
	.string	"status=%x\n"
.LC11:
	.string	"fdc_busy=%lu\n"
.LC12:
	.string	"do_floppy=%ps\n"
.LC13:
	.string	"floppy_work.func=%ps\n"
	.section	.rodata.str1.8
	.align 8
.LC14:
	.string	"delayed work.function=%p expires=%ld\n"
	.align 8
.LC15:
	.string	"timer_function=%p expires=%ld\n"
	.section	.rodata.str1.1
.LC16:
	.string	"cont=%p\n"
.LC17:
	.string	"current_req=%p\n"
.LC18:
	.string	"command_status=%d\n"
	.text
	.p2align 4
	.type	show_floppy, @function
show_floppy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, .LC0[rip]
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	pr_info@PLT
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_info@PLT
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	pr_info@PLT
	mov	rsi, QWORD PTR jiffies[rip]
	xor	eax, eax
	mov	rdx, QWORD PTR interruptjiffies[rip]
	mov	r8d, DWORD PTR lasthandler[rip]
	lea	rdi, .LC3[rip]
	mov	rcx, rsi
	sub	rcx, rdx
	call	pr_info@PLT
	mov	esi, DWORD PTR timeout_message[rip]
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	pr_info@PLT
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	pr_info@PLT
	mov	ecx, DWORD PTR OLOGSIZE[rip]
	test	ecx, ecx
	jle	.L2
	xor	ebx, ebx
	lea	rbp, .LC6[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR output_log_pos[rip]
	mov	rdi, rbp
	add	eax, ebx
	add	ebx, 1
	cdq
	idiv	ecx
	mov	rax, QWORD PTR output_log[rip]
	movsx	rdx, edx
	lea	rdx, [rdx+rdx*2]
	lea	rax, [rax+rdx*4]
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	mov	esi, DWORD PTR 8[rax]
	xor	eax, eax
	call	pr_info@PLT
	mov	ecx, DWORD PTR OLOGSIZE[rip]
	cmp	ecx, ebx
	jg	.L3
.L2:
	mov	esi, DWORD PTR resultjiffies[rip]
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	pr_info@PLT
	mov	esi, DWORD PTR lastredo[rip]
	lea	rdi, .LC8[rip]
	xor	eax, eax
	call	pr_info@PLT
	mov	eax, DWORD PTR resultsize[rip]
	push	1
	.cfi_def_cfa_offset 40
	mov	r8d, 1
	mov	edx, DWORD PTR DUMP_PREFIX_NONE[rip]
	mov	edi, DWORD PTR KERN_INFO[rip]
	mov	ecx, 16
	lea	rsi, .LC9[rip]
	push	rax
	.cfi_def_cfa_offset 48
	mov	r9d, DWORD PTR reply_buffer[rip]
	call	print_hex_dump@PLT
	mov	edi, DWORD PTR FD_STATUS[rip]
	call	fd_inb@PLT
	lea	rdi, .LC10[rip]
	mov	esi, eax
	xor	eax, eax
	call	pr_info@PLT
	mov	esi, DWORD PTR fdc_busy[rip]
	lea	rdi, .LC11[rip]
	xor	eax, eax
	call	pr_info@PLT
	mov	rsi, QWORD PTR do_floppy[rip]
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	test	rsi, rsi
	jne	.L23
.L4:
	lea	rdi, floppy_work[rip]
	call	work_pending@PLT
	test	rax, rax
	jne	.L24
.L5:
	lea	rdi, fd_timer[rip]
	call	delayed_work_pending@PLT
	test	rax, rax
	jne	.L25
.L6:
	lea	rdi, fd_timeout[rip]
	call	delayed_work_pending@PLT
	test	rax, rax
	jne	.L26
.L7:
	mov	esi, DWORD PTR cont[rip]
	lea	rdi, .LC16[rip]
	xor	eax, eax
	call	pr_info@PLT
	mov	esi, DWORD PTR current_req[rip]
	lea	rdi, .LC17[rip]
	xor	eax, eax
	call	pr_info@PLT
	mov	esi, DWORD PTR command_status[rip]
	lea	rdi, .LC18[rip]
	xor	eax, eax
	call	pr_info@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pr_info@PLT
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	lea	rdi, .LC12[rip]
	xor	eax, eax
	call	pr_info@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, DWORD PTR fd_timeout[rip+8]
	mov	rdx, QWORD PTR fd_timeout[rip]
	lea	rdi, .LC15[rip]
	xor	eax, eax
	sub	rdx, QWORD PTR jiffies[rip]
	call	pr_info@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	mov	esi, DWORD PTR fd_timer[rip+8]
	mov	rdx, QWORD PTR fd_timer[rip]
	lea	rdi, .LC14[rip]
	xor	eax, eax
	sub	rdx, QWORD PTR jiffies[rip]
	call	pr_info@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	mov	esi, DWORD PTR floppy_work[rip]
	lea	rdi, .LC13[rip]
	xor	eax, eax
	call	pr_info@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	show_floppy, .-show_floppy
	.comm	timeout_message,4,4
	.comm	resultsize,4,4
	.comm	resultjiffies,4,4
	.comm	reply_buffer,4,4
	.comm	output_log_pos,4,4
	.comm	output_log,8,8
	.comm	lastredo,4,4
	.comm	lasthandler,4,4
	.comm	jiffies,8,8
	.comm	interruptjiffies,8,8
	.comm	floppy_work,4,4
	.comm	fdc_busy,4,4
	.comm	fd_timer,16,16
	.comm	fd_timeout,16,16
	.comm	do_floppy,8,8
	.comm	current_req,4,4
	.comm	cont,4,4
	.comm	command_status,4,4
	.comm	OLOGSIZE,4,4
	.comm	KERN_INFO,4,4
	.comm	FD_STATUS,4,4
	.comm	DUMP_PREFIX_NONE,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_floppy.c_show_floppy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"floppy driver state\012\000"
	.align	2
.LC2:
	.ascii	"-------------------\012\000"
	.align	2
.LC3:
	.ascii	"now=%lu last interrupt=%lu diff=%lu last called han"
	.ascii	"dler=%ps\012\000"
	.align	2
.LC4:
	.ascii	"timeout_message=%s\012\000"
	.align	2
.LC5:
	.ascii	"last output bytes:\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC6:
	.ascii	"%2x %2x %lu\012\000"
	.align	2
.LC7:
	.ascii	"last result at %lu\012\000"
	.align	2
.LC8:
	.ascii	"last redo_fd_request at %lu\012\000"
	.align	2
.LC9:
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"status=%x\012\000"
	.align	2
.LC11:
	.ascii	"fdc_busy=%lu\012\000"
	.align	2
.LC12:
	.ascii	"do_floppy=%ps\012\000"
	.align	2
.LC13:
	.ascii	"floppy_work.func=%ps\012\000"
	.align	2
.LC14:
	.ascii	"delayed work.function=%p expires=%ld\012\000"
	.align	2
.LC15:
	.ascii	"timer_function=%p expires=%ld\012\000"
	.align	2
.LC16:
	.ascii	"cont=%p\012\000"
	.align	2
.LC17:
	.ascii	"current_req=%p\012\000"
	.align	2
.LC18:
	.ascii	"command_status=%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_floppy, %function
show_floppy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r0, .L27
	sub	sp, sp, #20
	bl	pr_info
	ldr	r0, .L27+4
	bl	pr_info
	ldr	r0, .L27+8
	bl	pr_info
	ldr	r9, .L27+12
	ldr	r3, .L27+16
	ldr	r2, .L27+20
	ldr	r0, [r3]
	ldr	r2, [r2]
	ldr	r1, [r9]
	str	r0, [sp]
	sub	r3, r1, r2
	ldr	r0, .L27+24
	bl	pr_info
	ldr	r3, .L27+28
	ldr	r0, .L27+32
	ldr	r1, [r3]
	ldr	r5, .L27+36
	bl	pr_info
	ldr	r0, .L27+40
	bl	pr_info
	ldr	r1, [r5]
	cmp	r1, #0
	ble	.L2
	mov	r4, #0
	ldr	r8, .L27+44
	ldr	r7, .L27+48
	ldr	r6, .L27+52
.L3:
	ldr	r0, [r7]
	add	r0, r4, r0
	bl	__aeabi_idivmod
	ldr	r3, [r8]
	add	r1, r1, r1, lsl #1
	add	r0, r3, r1, lsl #2
	ldr	r2, [r0, #4]
	ldr	r3, [r3, r1, lsl #2]
	ldr	r1, [r0, #8]
	mov	r0, r6
	bl	pr_info
	ldr	r1, [r5]
	add	r4, r4, #1
	cmp	r1, r4
	bgt	.L3
.L2:
	ldr	r3, .L27+56
	ldr	r0, .L27+60
	ldr	r1, [r3]
	bl	pr_info
	ldr	r3, .L27+64
	ldr	r0, .L27+68
	ldr	r1, [r3]
	bl	pr_info
	mov	r3, #1
	ldr	r1, .L27+72
	ldr	r2, .L27+76
	ldr	ip, [r1]
	ldr	r0, [r2]
	ldr	r1, .L27+80
	stmib	sp, {r0, ip}
	ldr	r2, .L27+84
	str	r3, [sp, #12]
	str	r3, [sp]
	ldr	r2, [r2]
	mov	r3, #16
	ldr	r0, [r1]
	ldr	r1, .L27+88
	bl	print_hex_dump
	ldr	r3, .L27+92
	ldr	r0, [r3]
	bl	fd_inb
	mov	r1, r0
	ldr	r0, .L27+96
	bl	pr_info
	ldr	r3, .L27+100
	ldr	r0, .L27+104
	ldr	r1, [r3]
	bl	pr_info
	ldr	r3, .L27+108
	ldr	r1, [r3]
	cmp	r1, #0
	bne	.L23
.L4:
	ldr	r4, .L27+112
	mov	r0, r4
	bl	work_pending
	cmp	r0, #0
	bne	.L24
.L5:
	ldr	r4, .L27+116
	mov	r0, r4
	bl	delayed_work_pending
	cmp	r0, #0
	bne	.L25
.L6:
	ldr	r4, .L27+120
	mov	r0, r4
	bl	delayed_work_pending
	cmp	r0, #0
	bne	.L26
.L7:
	ldr	r3, .L27+124
	ldr	r0, .L27+128
	ldr	r1, [r3]
	bl	pr_info
	ldr	r3, .L27+132
	ldr	r0, .L27+136
	ldr	r1, [r3]
	bl	pr_info
	ldr	r3, .L27+140
	ldr	r0, .L27+144
	ldr	r1, [r3]
	bl	pr_info
	ldr	r0, .L27
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	pr_info
.L23:
	ldr	r0, .L27+148
	bl	pr_info
	b	.L4
.L26:
	ldr	r3, [r9]
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	sub	r2, r2, r3
	ldr	r0, .L27+152
	bl	pr_info
	b	.L7
.L25:
	ldr	r2, [r4]
	ldr	r3, [r9]
	ldr	r1, [r4, #4]
	sub	r2, r2, r3
	ldr	r0, .L27+156
	bl	pr_info
	b	.L6
.L24:
	ldr	r1, [r4]
	ldr	r0, .L27+160
	bl	pr_info
	b	.L5
.L28:
	.align	2
.L27:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	jiffies
	.word	lasthandler
	.word	interruptjiffies
	.word	.LC3
	.word	timeout_message
	.word	.LC4
	.word	OLOGSIZE
	.word	.LC5
	.word	output_log
	.word	output_log_pos
	.word	.LC6
	.word	resultjiffies
	.word	.LC7
	.word	lastredo
	.word	.LC8
	.word	resultsize
	.word	reply_buffer
	.word	KERN_INFO
	.word	DUMP_PREFIX_NONE
	.word	.LC9
	.word	FD_STATUS
	.word	.LC10
	.word	fdc_busy
	.word	.LC11
	.word	do_floppy
	.word	floppy_work
	.word	fd_timer
	.word	fd_timeout
	.word	cont
	.word	.LC16
	.word	current_req
	.word	.LC17
	.word	command_status
	.word	.LC18
	.word	.LC12
	.word	.LC15
	.word	.LC14
	.word	.LC13
	.size	show_floppy, .-show_floppy
	.comm	timeout_message,4,4
	.comm	resultsize,4,4
	.comm	resultjiffies,4,4
	.comm	reply_buffer,4,4
	.comm	output_log_pos,4,4
	.comm	output_log,4,4
	.comm	lastredo,4,4
	.comm	lasthandler,4,4
	.comm	jiffies,4,4
	.comm	interruptjiffies,4,4
	.comm	floppy_work,4,4
	.comm	fdc_busy,4,4
	.comm	fd_timer,8,4
	.comm	fd_timeout,8,4
	.comm	do_floppy,4,4
	.comm	current_req,4,4
	.comm	cont,4,4
	.comm	command_status,4,4
	.comm	OLOGSIZE,4,4
	.comm	KERN_INFO,4,4
	.comm	FD_STATUS,4,4
	.comm	DUMP_PREFIX_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
