	.file	"extr_ch.c_ch_move.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"move: 0x%x => 0x%x\n"
	.text
	.p2align 4
	.type	ch_move, @function
ch_move:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	lea	rdi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	mov	edx, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	mov	esi, r13d
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	DPRINTK@PLT
	test	ebx, ebx
	jne	.L2
	mov	rax, QWORD PTR [r14]
	mov	rdx, QWORD PTR CHET_MT[rip]
	mov	ebx, DWORD PTR [rax+rdx*4]
.L2:
	mov	r15, rsp
	xor	esi, esi
	mov	edx, 48
	mov	rdi, r15
	call	memset@PLT
	mov	edx, 12
	mov	rsi, r15
	mov	rdi, r14
	mov	eax, DWORD PTR MOVE_MEDIUM[rip]
	mov	r9d, DWORD PTR DMA_NONE[rip]
	mov	DWORD PTR [rsp], eax
	mov	rax, QWORD PTR 8[r14]
	mov	eax, DWORD PTR [rax]
	sal	eax, 5
	and	eax, 255
	mov	DWORD PTR 4[rsp], eax
	movzx	eax, bh
	and	ebx, 255
	mov	DWORD PTR 8[rsp], eax
	mov	eax, r13d
	and	r13d, 255
	movzx	eax, ah
	mov	DWORD PTR 12[rsp], ebx
	mov	DWORD PTR 16[rsp], eax
	mov	eax, r12d
	and	r12d, 255
	movzx	eax, ah
	mov	DWORD PTR 20[rsp], r13d
	mov	DWORD PTR 24[rsp], eax
	xor	eax, eax
	test	ebp, ebp
	setne	al
	xor	r8d, r8d
	xor	ecx, ecx
	mov	DWORD PTR 28[rsp], r12d
	mov	DWORD PTR 40[rsp], eax
	call	ch_do_scsi@PLT
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ch_move, .-ch_move
	.comm	MOVE_MEDIUM,4,4
	.comm	DMA_NONE,4,4
	.comm	CHET_MT,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_ch.c_ch_move.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"move: 0x%x => 0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ch_move, %function
ch_move:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r2
	mov	r4, r1
	mov	r2, r3
	mov	r5, r3
	ldr	r3, .L7
	sub	sp, sp, #64
	mov	r7, r0
	mov	r1, r6
	ldr	r0, .L7+4
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	ldr	r8, [sp, #88]
	bl	DPRINTK
	cmp	r4, #0
	ldreq	r2, .L7+8
	ldreq	r3, [r7]
	ldreq	r2, [r2]
	mov	r1, #0
	ldreq	r4, [r3, r2, lsl #2]
	add	r0, sp, #16
	mov	r2, #44
	bl	memset
	mov	r3, #0
	subs	r1, r8, r3
	movne	r1, #1
	ldr	r0, .L7+12
	ldr	r2, [r7, #4]
	ldr	ip, [r0]
	ldr	r0, .L7+16
	str	ip, [sp, #12]
	ldr	r2, [r2]
	ldr	lr, [r0]
	asr	ip, r4, #8
	lsl	r2, r2, #5
	mov	r0, r7
	and	r2, r2, #255
	str	lr, [sp, #4]
	and	r7, ip, #255
	asr	lr, r6, #8
	asr	ip, r5, #8
	and	lr, lr, #255
	str	r3, [sp]
	str	r1, [sp, #52]
	and	ip, ip, #255
	str	r2, [sp, #16]
	and	r4, r4, #255
	mov	r2, #12
	and	r6, r6, #255
	and	r5, r5, #255
	add	r1, sp, #12
	str	r7, [sp, #20]
	str	r4, [sp, #24]
	str	lr, [sp, #28]
	str	r6, [sp, #32]
	str	ip, [sp, #36]
	str	r5, [sp, #40]
	bl	ch_do_scsi
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #64
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	.LC0
	.word	CHET_MT
	.word	MOVE_MEDIUM
	.word	DMA_NONE
	.size	ch_move, .-ch_move
	.comm	MOVE_MEDIUM,4,4
	.comm	DMA_NONE,4,4
	.comm	CHET_MT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
