	.file	"extr_isd200.c_isd200_dump_driveid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"   Identify Data Structure:\n"
.LC1:
	.string	"      config = 0x%x\n"
.LC2:
	.string	"      cyls = 0x%x\n"
.LC3:
	.string	"      heads = 0x%x\n"
.LC4:
	.string	"      track_bytes = 0x%x\n"
.LC5:
	.string	"      sector_bytes = 0x%x\n"
.LC6:
	.string	"      sectors = 0x%x\n"
.LC7:
	.string	"      serial_no[0] = 0x%x\n"
.LC8:
	.string	"      buf_type = 0x%x\n"
.LC9:
	.string	"      buf_size = 0x%x\n"
.LC10:
	.string	"      ecc_bytes = 0x%x\n"
.LC11:
	.string	"      fw_rev[0] = 0x%x\n"
.LC12:
	.string	"      model[0] = 0x%x\n"
.LC13:
	.string	"      max_multsect = 0x%x\n"
.LC14:
	.string	"      dword_io = 0x%x\n"
.LC15:
	.string	"      capability = 0x%x\n"
.LC16:
	.string	"      tPIO = 0x%x\n"
.LC17:
	.string	"      tDMA = 0x%x\n"
.LC18:
	.string	"      field_valid = 0x%x\n"
.LC19:
	.string	"      cur_cyls = 0x%x\n"
.LC20:
	.string	"      cur_heads = 0x%x\n"
.LC21:
	.string	"      cur_sectors = 0x%x\n"
.LC22:
	.string	"      cur_capacity = 0x%x\n"
.LC23:
	.string	"      multsect = 0x%x\n"
.LC24:
	.string	"      lba_capacity = 0x%x\n"
.LC25:
	.string	"      command_set_1 = 0x%x\n"
.LC26:
	.string	"      command_set_2 = 0x%x\n"
	.text
	.p2align 4
	.type	isd200_dump_driveid, @function
isd200_dump_driveid:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_CONFIG[rip]
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_CYLS[rip]
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_HEADS[rip]
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	rdi, rbp
	xor	eax, eax
	lea	rsi, .LC4[rip]
	call	usb_stor_dbg@PLT
	mov	edx, DWORD PTR 20[rbx]
	mov	rdi, rbp
	xor	eax, eax
	lea	rsi, .LC5[rip]
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_SECTORS[rip]
	mov	rdi, rbp
	lea	rsi, .LC6[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_SERNO[rip]
	mov	rdi, rbp
	lea	rsi, .LC7[rip]
	movsx	edx, BYTE PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	edx, DWORD PTR 80[rbx]
	mov	rdi, rbp
	xor	eax, eax
	lea	rsi, .LC8[rip]
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_BUF_SIZE[rip]
	mov	rdi, rbp
	lea	rsi, .LC9[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	edx, DWORD PTR 88[rbx]
	mov	rdi, rbp
	xor	eax, eax
	lea	rsi, .LC10[rip]
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_FW_REV[rip]
	mov	rdi, rbp
	lea	rsi, .LC11[rip]
	movsx	edx, BYTE PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_PROD[rip]
	mov	rdi, rbp
	lea	rsi, .LC12[rip]
	movsx	edx, BYTE PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_MAX_MULTSECT[rip]
	mov	rdi, rbp
	lea	rsi, .LC13[rip]
	movzx	edx, BYTE PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_DWORD_IO[rip]
	mov	rdi, rbp
	lea	rsi, .LC14[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_CAPABILITY[rip]
	mov	rdi, rbp
	lea	rsi, .LC15[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	sar	edx, 8
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_OLD_PIO_MODES[rip]
	mov	rdi, rbp
	lea	rsi, .LC16[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	sar	edx, 8
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_OLD_DMA_MODES[rip]
	mov	rdi, rbp
	lea	rsi, .LC17[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	sar	edx, 8
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_FIELD_VALID[rip]
	mov	rdi, rbp
	lea	rsi, .LC18[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_CUR_CYLS[rip]
	mov	rdi, rbp
	lea	rsi, .LC19[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_CUR_HEADS[rip]
	mov	rdi, rbp
	lea	rsi, .LC20[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_CUR_SECTORS[rip]
	mov	rdi, rbp
	lea	rsi, .LC21[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rdi, rbx
	mov	esi, 57
	call	ata_id_u32@PLT
	mov	rdi, rbp
	lea	rsi, .LC22[rip]
	mov	edx, eax
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_MULTSECT[rip]
	mov	rdi, rbp
	lea	rsi, .LC23[rip]
	movzx	edx, BYTE PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	esi, DWORD PTR ATA_ID_LBA_CAPACITY[rip]
	mov	rdi, rbx
	call	ata_id_u32@PLT
	mov	rdi, rbp
	lea	rsi, .LC24[rip]
	mov	edx, eax
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_COMMAND_SET_1[rip]
	mov	rdi, rbp
	lea	rsi, .LC25[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	xor	eax, eax
	call	usb_stor_dbg@PLT
	mov	rax, QWORD PTR ATA_ID_COMMAND_SET_2[rip]
	mov	rdi, rbp
	lea	rsi, .LC26[rip]
	mov	edx, DWORD PTR [rbx+rax*4]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	usb_stor_dbg@PLT
	.cfi_endproc
.LFE0:
	.size	isd200_dump_driveid, .-isd200_dump_driveid
	.comm	ATA_ID_SERNO,8,8
	.comm	ATA_ID_SECTORS,8,8
	.comm	ATA_ID_PROD,8,8
	.comm	ATA_ID_OLD_PIO_MODES,8,8
	.comm	ATA_ID_OLD_DMA_MODES,8,8
	.comm	ATA_ID_MULTSECT,8,8
	.comm	ATA_ID_MAX_MULTSECT,8,8
	.comm	ATA_ID_LBA_CAPACITY,4,4
	.comm	ATA_ID_HEADS,8,8
	.comm	ATA_ID_FW_REV,8,8
	.comm	ATA_ID_FIELD_VALID,8,8
	.comm	ATA_ID_DWORD_IO,8,8
	.comm	ATA_ID_CYLS,8,8
	.comm	ATA_ID_CUR_SECTORS,8,8
	.comm	ATA_ID_CUR_HEADS,8,8
	.comm	ATA_ID_CUR_CYLS,8,8
	.comm	ATA_ID_CONFIG,8,8
	.comm	ATA_ID_COMMAND_SET_2,8,8
	.comm	ATA_ID_COMMAND_SET_1,8,8
	.comm	ATA_ID_CAPABILITY,8,8
	.comm	ATA_ID_BUF_SIZE,8,8
	.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_isd200.c_isd200_dump_driveid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"   Identify Data Structure:\012\000"
	.align	2
.LC1:
	.ascii	"      config = 0x%x\012\000"
	.align	2
.LC2:
	.ascii	"      cyls = 0x%x\012\000"
	.align	2
.LC3:
	.ascii	"      heads = 0x%x\012\000"
	.align	2
.LC4:
	.ascii	"      track_bytes = 0x%x\012\000"
	.align	2
.LC5:
	.ascii	"      sector_bytes = 0x%x\012\000"
	.align	2
.LC6:
	.ascii	"      sectors = 0x%x\012\000"
	.align	2
.LC7:
	.ascii	"      serial_no[0] = 0x%x\012\000"
	.align	2
.LC8:
	.ascii	"      buf_type = 0x%x\012\000"
	.align	2
.LC9:
	.ascii	"      buf_size = 0x%x\012\000"
	.align	2
.LC10:
	.ascii	"      ecc_bytes = 0x%x\012\000"
	.align	2
.LC11:
	.ascii	"      fw_rev[0] = 0x%x\012\000"
	.align	2
.LC12:
	.ascii	"      model[0] = 0x%x\012\000"
	.align	2
.LC13:
	.ascii	"      max_multsect = 0x%x\012\000"
	.align	2
.LC14:
	.ascii	"      dword_io = 0x%x\012\000"
	.align	2
.LC15:
	.ascii	"      capability = 0x%x\012\000"
	.align	2
.LC16:
	.ascii	"      tPIO = 0x%x\012\000"
	.align	2
.LC17:
	.ascii	"      tDMA = 0x%x\012\000"
	.align	2
.LC18:
	.ascii	"      field_valid = 0x%x\012\000"
	.align	2
.LC19:
	.ascii	"      cur_cyls = 0x%x\012\000"
	.align	2
.LC20:
	.ascii	"      cur_heads = 0x%x\012\000"
	.align	2
.LC21:
	.ascii	"      cur_sectors = 0x%x\012\000"
	.align	2
.LC22:
	.ascii	"      cur_capacity = 0x%x\012\000"
	.align	2
.LC23:
	.ascii	"      multsect = 0x%x\012\000"
	.align	2
.LC24:
	.ascii	"      lba_capacity = 0x%x\012\000"
	.align	2
.LC25:
	.ascii	"      command_set_1 = 0x%x\012\000"
	.align	2
.LC26:
	.ascii	"      command_set_2 = 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	isd200_dump_driveid, %function
isd200_dump_driveid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r1, .L4
	bl	usb_stor_dbg
	ldr	r3, .L4+4
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+8
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+12
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+16
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+20
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+24
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r2, [r4, #16]
	mov	r0, r5
	ldr	r1, .L4+28
	bl	usb_stor_dbg
	ldr	r2, [r4, #20]
	mov	r0, r5
	ldr	r1, .L4+32
	bl	usb_stor_dbg
	ldr	r3, .L4+36
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+40
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+44
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+48
	ldrb	r2, [r4, r3, lsl #2]	@ zero_extendqisi2
	bl	usb_stor_dbg
	ldr	r2, [r4, #80]
	mov	r0, r5
	ldr	r1, .L4+52
	bl	usb_stor_dbg
	ldr	r3, .L4+56
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+60
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r2, [r4, #88]
	mov	r0, r5
	ldr	r1, .L4+64
	bl	usb_stor_dbg
	ldr	r3, .L4+68
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+72
	ldrb	r2, [r4, r3, lsl #2]	@ zero_extendqisi2
	bl	usb_stor_dbg
	ldr	r3, .L4+76
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+80
	ldrb	r2, [r4, r3, lsl #2]	@ zero_extendqisi2
	bl	usb_stor_dbg
	ldr	r3, .L4+84
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+88
	ldrb	r2, [r4, r3, lsl #2]	@ zero_extendqisi2
	bl	usb_stor_dbg
	ldr	r3, .L4+92
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+96
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+100
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+104
	ldr	r2, [r4, r3, lsl #2]
	asr	r2, r2, #8
	bl	usb_stor_dbg
	ldr	r3, .L4+108
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+112
	ldr	r2, [r4, r3, lsl #2]
	asr	r2, r2, #8
	bl	usb_stor_dbg
	ldr	r3, .L4+116
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+120
	ldr	r2, [r4, r3, lsl #2]
	asr	r2, r2, #8
	bl	usb_stor_dbg
	ldr	r3, .L4+124
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+128
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+132
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+136
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+140
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+144
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+148
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+152
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	mov	r0, r4
	mov	r1, #57
	bl	ata_id_u32
	ldr	r1, .L4+156
	mov	r2, r0
	mov	r0, r5
	bl	usb_stor_dbg
	ldr	r3, .L4+160
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+164
	ldrb	r2, [r4, r3, lsl #2]	@ zero_extendqisi2
	bl	usb_stor_dbg
	ldr	r3, .L4+168
	mov	r0, r4
	ldr	r1, [r3]
	bl	ata_id_u32
	ldr	r1, .L4+172
	mov	r2, r0
	mov	r0, r5
	bl	usb_stor_dbg
	ldr	r3, .L4+176
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+180
	ldr	r2, [r4, r3, lsl #2]
	bl	usb_stor_dbg
	ldr	r3, .L4+184
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L4+188
	ldr	r2, [r4, r3, lsl #2]
	pop	{r4, r5, r6, lr}
	b	usb_stor_dbg
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	ATA_ID_CONFIG
	.word	.LC1
	.word	ATA_ID_CYLS
	.word	.LC2
	.word	ATA_ID_HEADS
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	ATA_ID_SECTORS
	.word	.LC6
	.word	ATA_ID_SERNO
	.word	.LC7
	.word	.LC8
	.word	ATA_ID_BUF_SIZE
	.word	.LC9
	.word	.LC10
	.word	ATA_ID_FW_REV
	.word	.LC11
	.word	ATA_ID_PROD
	.word	.LC12
	.word	ATA_ID_MAX_MULTSECT
	.word	.LC13
	.word	ATA_ID_DWORD_IO
	.word	.LC14
	.word	ATA_ID_CAPABILITY
	.word	.LC15
	.word	ATA_ID_OLD_PIO_MODES
	.word	.LC16
	.word	ATA_ID_OLD_DMA_MODES
	.word	.LC17
	.word	ATA_ID_FIELD_VALID
	.word	.LC18
	.word	ATA_ID_CUR_CYLS
	.word	.LC19
	.word	ATA_ID_CUR_HEADS
	.word	.LC20
	.word	ATA_ID_CUR_SECTORS
	.word	.LC21
	.word	.LC22
	.word	ATA_ID_MULTSECT
	.word	.LC23
	.word	ATA_ID_LBA_CAPACITY
	.word	.LC24
	.word	ATA_ID_COMMAND_SET_1
	.word	.LC25
	.word	ATA_ID_COMMAND_SET_2
	.word	.LC26
	.size	isd200_dump_driveid, .-isd200_dump_driveid
	.comm	ATA_ID_SERNO,4,4
	.comm	ATA_ID_SECTORS,4,4
	.comm	ATA_ID_PROD,4,4
	.comm	ATA_ID_OLD_PIO_MODES,4,4
	.comm	ATA_ID_OLD_DMA_MODES,4,4
	.comm	ATA_ID_MULTSECT,4,4
	.comm	ATA_ID_MAX_MULTSECT,4,4
	.comm	ATA_ID_LBA_CAPACITY,4,4
	.comm	ATA_ID_HEADS,4,4
	.comm	ATA_ID_FW_REV,4,4
	.comm	ATA_ID_FIELD_VALID,4,4
	.comm	ATA_ID_DWORD_IO,4,4
	.comm	ATA_ID_CYLS,4,4
	.comm	ATA_ID_CUR_SECTORS,4,4
	.comm	ATA_ID_CUR_HEADS,4,4
	.comm	ATA_ID_CUR_CYLS,4,4
	.comm	ATA_ID_CONFIG,4,4
	.comm	ATA_ID_COMMAND_SET_2,4,4
	.comm	ATA_ID_COMMAND_SET_1,4,4
	.comm	ATA_ID_CAPABILITY,4,4
	.comm	ATA_ID_BUF_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
