	.file	"extr_ide-io-std.c_ide_tf_load.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ide_tf_load
	.type	ide_tf_load, @function
ide_tf_load:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR IDE_HFLAG_MMIO[rip], eax
	jne	.L9
	mov	r13, QWORD PTR ide_outb@GOTPCREL[rip]
.L2:
	test	DWORD PTR IDE_VALID_FEATURE[rip], ebx
	je	.L3
	mov	rsi, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [r12]
	call	r13
.L3:
	test	DWORD PTR IDE_VALID_NSECT[rip], ebx
	je	.L4
	mov	rsi, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR 4[r12]
	call	r13
.L4:
	test	DWORD PTR IDE_VALID_LBAL[rip], ebx
	je	.L5
	mov	rsi, QWORD PTR 24[rbp]
	mov	edi, DWORD PTR 8[r12]
	call	r13
.L5:
	test	DWORD PTR IDE_VALID_LBAM[rip], ebx
	je	.L6
	mov	rsi, QWORD PTR 32[rbp]
	mov	edi, DWORD PTR 12[r12]
	call	r13
.L6:
	test	DWORD PTR IDE_VALID_LBAH[rip], ebx
	je	.L7
	mov	rsi, QWORD PTR 40[rbp]
	mov	edi, DWORD PTR 16[r12]
	call	r13
.L7:
	test	DWORD PTR IDE_VALID_DEVICE[rip], ebx
	je	.L1
	mov	rsi, QWORD PTR 48[rbp]
	mov	edi, DWORD PTR 20[r12]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	r13, QWORD PTR ide_mm_outb@GOTPCREL[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ide_tf_load, .-ide_tf_load
	.comm	IDE_VALID_NSECT,4,4
	.comm	IDE_VALID_LBAM,4,4
	.comm	IDE_VALID_LBAL,4,4
	.comm	IDE_VALID_LBAH,4,4
	.comm	IDE_VALID_FEATURE,4,4
	.comm	IDE_VALID_DEVICE,4,4
	.comm	IDE_HFLAG_MMIO,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_ide-io-std.c_ide_tf_load.c"
	.text
	.align	2
	.global	ide_tf_load
	.syntax unified
	.arm
	.fpu softvfp
	.type	ide_tf_load, %function
ide_tf_load:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r7, [r0]
	ldr	r2, .L27
	ldr	r3, .L27+4
	ldr	r2, [r2]
	ldr	r0, [r7]
	ldr	r3, [r3]
	tst	r0, r2
	ldr	r2, .L27+8
	ldr	r5, .L27+12
	moveq	r5, r2
	tst	r4, r3
	mov	r6, r1
	beq	.L3
	ldr	r1, [r7, #4]
	ldr	r0, [r6]
	blx	r5
.L3:
	ldr	r3, .L27+16
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L4
	ldr	r1, [r7, #8]
	ldr	r0, [r6, #4]
	blx	r5
.L4:
	ldr	r3, .L27+20
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L5
	ldr	r1, [r7, #12]
	ldr	r0, [r6, #8]
	blx	r5
.L5:
	ldr	r3, .L27+24
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L6
	ldr	r1, [r7, #16]
	ldr	r0, [r6, #12]
	blx	r5
.L6:
	ldr	r3, .L27+28
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L7
	ldr	r1, [r7, #20]
	ldr	r0, [r6, #16]
	blx	r5
.L7:
	ldr	r3, .L27+32
	ldr	r3, [r3]
	tst	r4, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r3, r5
	ldr	r1, [r7, #24]
	ldr	r0, [r6, #20]
	pop	{r4, r5, r6, r7, r8, lr}
	bx	r3	@ indirect register sibling call
.L28:
	.align	2
.L27:
	.word	IDE_HFLAG_MMIO
	.word	IDE_VALID_FEATURE
	.word	ide_outb
	.word	ide_mm_outb
	.word	IDE_VALID_NSECT
	.word	IDE_VALID_LBAL
	.word	IDE_VALID_LBAM
	.word	IDE_VALID_LBAH
	.word	IDE_VALID_DEVICE
	.size	ide_tf_load, .-ide_tf_load
	.comm	IDE_VALID_NSECT,4,4
	.comm	IDE_VALID_LBAM,4,4
	.comm	IDE_VALID_LBAL,4,4
	.comm	IDE_VALID_LBAH,4,4
	.comm	IDE_VALID_FEATURE,4,4
	.comm	IDE_VALID_DEVICE,4,4
	.comm	IDE_HFLAG_MMIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
