	.file	"extr_sl82c105.c_sl82c105_set_dma_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sl82c105_set_dma_mode, @function
sl82c105_set_dma_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	ide_get_drivedata@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	ide_xfer_verbose@PLT
	movzx	ebp, bp
	movsx	rdi, eax
	call	DBG@PLT
	sub	rbx, QWORD PTR XFER_MW_DMA_0[rip]
	lea	rax, mwdma_timings.1935[rip]
	mov	rdi, r12
	movsx	rsi, DWORD PTR [rax+rbx*4]
	pop	rbx
	.cfi_def_cfa_offset 24
	sal	rsi, 16
	or	rsi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ide_set_drivedata@PLT
	.cfi_endproc
.LFE0:
	.size	sl82c105_set_dma_mode, .-sl82c105_set_dma_mode
	.section	.rodata
	.align 8
	.type	mwdma_timings.1935, @object
	.size	mwdma_timings.1935, 12
mwdma_timings.1935:
	.long	1799
	.long	513
	.long	512
	.comm	XFER_MW_DMA_0,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_sl82c105.c_sl82c105_set_dma_mode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sl82c105_set_dma_mode, %function
sl82c105_set_dma_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	ide_get_drivedata
	mov	r4, r0
	mov	r0, r5
	bl	ide_xfer_verbose
	bl	DBG
	ldr	r3, .L4
	ldr	r2, .L4+4
	ldr	r1, [r3]
	lsl	r4, r4, #16
	sub	r5, r5, r1
	ldr	r1, [r2, r5, lsl #2]
	lsr	r4, r4, #16
	mov	r0, r6
	orr	r1, r4, r1, lsl #16
	pop	{r4, r5, r6, lr}
	b	ide_set_drivedata
.L5:
	.align	2
.L4:
	.word	XFER_MW_DMA_0
	.word	.LANCHOR0
	.size	sl82c105_set_dma_mode, .-sl82c105_set_dma_mode
	.comm	XFER_MW_DMA_0,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	mwdma_timings.4219, %object
	.size	mwdma_timings.4219, 12
mwdma_timings.4219:
	.word	1799
	.word	513
	.word	512
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
