	.file	"extr_samsung.c_s3c64xx_start_rx_dma.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unable to get desc for Rx\n"
	.text
	.p2align 4
	.type	s3c64xx_start_rx_dma, @function
s3c64xx_start_rx_dma:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR 8[rdi]
	mov	ecx, DWORD PTR DMA_FROM_DEVICE[rip]
	mov	edi, DWORD PTR [rdi]
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR 28[rbx]
	call	dma_sync_single_for_device@PLT
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR 28[rbx]
	mov	r8d, DWORD PTR DMA_PREP_INTERRUPT[rip]
	mov	ecx, DWORD PTR DMA_DEV_TO_MEM[rip]
	mov	edi, DWORD PTR [rbx]
	call	dmaengine_prep_slave_single@PLT
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L5
	mov	rdi, rax
	mov	eax, DWORD PTR s3c24xx_serial_rx_dma_complete[rip]
	mov	QWORD PTR [rdi], rbp
	mov	DWORD PTR 8[rdi], eax
	mov	eax, DWORD PTR 20[rbx]
	mov	DWORD PTR 24[rbx], eax
	call	dmaengine_submit@PLT
	mov	edi, DWORD PTR [rbx]
	mov	DWORD PTR 16[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	dma_async_issue_pending@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	dev_err@PLT
	.cfi_endproc
.LFE0:
	.size	s3c64xx_start_rx_dma, .-s3c64xx_start_rx_dma
	.comm	s3c24xx_serial_rx_dma_complete,4,4
	.comm	DMA_PREP_INTERRUPT,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.comm	DMA_DEV_TO_MEM,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_samsung.c_s3c64xx_start_rx_dma.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to get desc for Rx\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c64xx_start_rx_dma, %function
s3c64xx_start_rx_dma:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L6
	sub	sp, sp, #12
	ldr	r3, [r3]
	mov	r5, r0
	ldm	r0, {r0, r4}
	ldr	r2, [r4, #12]
	ldr	r1, [r4, #20]
	bl	dma_sync_single_for_device
	ldr	r3, .L6+4
	ldr	r2, [r4, #12]
	ldr	ip, [r3]
	ldr	r3, .L6+8
	ldr	r1, [r4, #20]
	ldr	r0, [r4]
	str	ip, [sp]
	ldr	r3, [r3]
	bl	dmaengine_prep_slave_single
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L5
	ldr	r1, .L6+12
	ldr	r2, [r4, #12]
	ldr	r1, [r1]
	str	r5, [r0]
	str	r1, [r0, #4]
	str	r2, [r4, #16]
	bl	dmaengine_submit
	mov	r3, r0
	ldr	r0, [r4]
	str	r3, [r4, #8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	dma_async_issue_pending
.L5:
	ldr	r0, [r5]
	ldr	r1, .L6+16
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	dev_err
.L7:
	.align	2
.L6:
	.word	DMA_FROM_DEVICE
	.word	DMA_PREP_INTERRUPT
	.word	DMA_DEV_TO_MEM
	.word	s3c24xx_serial_rx_dma_complete
	.word	.LC0
	.size	s3c64xx_start_rx_dma, .-s3c64xx_start_rx_dma
	.comm	s3c24xx_serial_rx_dma_complete,4,4
	.comm	DMA_PREP_INTERRUPT,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.comm	DMA_DEV_TO_MEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
