	.file	"extr_ide-probe.c_ide_init_disk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hd%c"
	.text
	.p2align 4
	.globl	ide_init_disk
	.type	ide_init_disk, @function
ide_init_disk:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rsi]
	mov	edx, DWORD PTR [rsi]
	mov	ecx, DWORD PTR 4[rax]
	and	edx, 1
	mov	esi, edx
	mov	DWORD PTR 12[rdi], ecx
	mov	ecx, DWORD PTR PARTN_BITS[rip]
	sal	esi, cl
	mov	DWORD PTR [rdi], esi
	movzx	eax, BYTE PTR [rax]
	lea	rsi, .LC0[rip]
	mul	BYTE PTR MAX_DRIVES[rip]
	mov	edi, DWORD PTR 8[rdi]
	lea	edx, 97[rax+rdx]
	movsx	edx, dl
	call	sprintf@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 4[rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ide_init_disk, .-ide_init_disk
	.comm	PARTN_BITS,4,4
	.comm	MAX_DRIVES,1,1
	.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_ide-probe.c_ide_init_disk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hd%c\000"
	.text
	.align	2
	.global	ide_init_disk
	.syntax unified
	.arm
	.fpu softvfp
	.type	ide_init_disk, %function
ide_init_disk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r1, #8]
	ldr	r3, .L4
	ldr	r2, [r1]
	ldr	ip, [r0, #4]
	ldr	r1, [r3]
	and	r3, r2, #1
	lsl	r2, r3, r1
	str	ip, [r4, #12]
	ldr	ip, .L4+4
	str	r2, [r4]
	ldrb	r1, [r0]	@ zero_extendqisi2
	ldrb	r2, [ip]	@ zero_extendqisi2
	ldr	r0, [r4, #8]
	mla	r2, r1, r2, r3
	add	r2, r2, #97
	ldr	r1, .L4+8
	and	r2, r2, #255
	bl	sprintf
	ldr	r3, [r5, #4]
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	PARTN_BITS
	.word	MAX_DRIVES
	.word	.LC0
	.size	ide_init_disk, .-ide_init_disk
	.comm	PARTN_BITS,4,4
	.comm	MAX_DRIVES,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
