	.file	"extr_scsi_pt.c_scsi_send_receive.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	scsi_send_receive
	.type	scsi_send_receive, @function
scsi_send_receive:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	eax, r9d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR 8[rdi]
	mov	edx, DWORD PTR 96[rsp]
	mov	r9d, DWORD PTR 104[rsp]
	mov	r14d, DWORD PTR 80[rsp]
	mov	r15, QWORD PTR 88[rsp]
	mov	DWORD PTR 12[rsp], r9d
	mov	DWORD PTR 8[rsp], edx
	test	r8d, r8d
	je	.L2
	mov	ecx, DWORD PTR RECEIVE[rip]
	mov	DWORD PTR 12[rdi], eax
	mov	DWORD PTR 16[rdi], ecx
	mov	edi, r14d
	call	scsi_ulto3b@PLT
	mov	ecx, DWORD PTR CAM_DIR_IN[rip]
	mov	edx, DWORD PTR 8[rsp]
	mov	QWORD PTR 0[rbp], 0
	mov	r9d, DWORD PTR 12[rsp]
.L3:
	mov	DWORD PTR 104[rsp], r9d
	mov	r8d, ebx
	mov	r9, r15
	mov	esi, r12d
	mov	DWORD PTR 88[rsp], edx
	mov	rdi, rbp
	mov	rdx, r13
	mov	DWORD PTR 80[rsp], r14d
	mov	DWORD PTR 96[rsp], 24
	add	rsp, 24
	.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
	jmp	cam_fill_csio@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR SEND[rip]
	mov	DWORD PTR 12[rdi], eax
	mov	DWORD PTR 16[rdi], ecx
	mov	edi, r14d
	call	scsi_ulto3b@PLT
	mov	ecx, DWORD PTR CAM_DIR_OUT[rip]
	mov	r9d, DWORD PTR 12[rsp]
	mov	QWORD PTR 0[rbp], 0
	mov	edx, DWORD PTR 8[rsp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	scsi_send_receive, .-scsi_send_receive
	.comm	SEND,4,4
	.comm	RECEIVE,4,4
	.comm	CAM_DIR_OUT,4,4
	.comm	CAM_DIR_IN,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_scsi_pt.c_scsi_send_receive.c"
	.text
	.align	2
	.global	scsi_send_receive
	.syntax unified
	.arm
	.fpu softvfp
	.type	scsi_send_receive, %function
scsi_send_receive:
	@ args = 24, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	ldr	r9, [sp, #48]
	mov	r6, r2
	ldr	r2, [sp, #68]
	mov	r7, r3
	cmp	r9, #0
	add	r3, sp, #52
	mov	r5, r1
	ldm	r3, {r3, r8, r10, fp}
	mov	r4, r0
	ldr	r1, [r0, #4]
	str	r2, [sp, #4]
	beq	.L2
	ldr	r0, .L6
	str	r3, [r4, #8]
	ldr	r3, [r0]
	mov	r0, r8
	str	r3, [r4, #12]
	bl	scsi_ulto3b
	mov	r1, #0
	ldr	r3, .L6+4
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	str	r1, [r4]
.L3:
	mov	ip, #16
	str	r2, [sp, #68]
	mov	r1, r5
	mov	r2, r6
	mov	r0, r4
	str	fp, [sp, #60]
	str	r8, [sp, #56]
	str	r10, [sp, #52]
	str	r7, [sp, #48]
	str	ip, [sp, #64]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	cam_fill_csio
.L2:
	ldr	r0, .L6+8
	str	r3, [r4, #8]
	ldr	r3, [r0]
	mov	r0, r8
	str	r3, [r4, #12]
	bl	scsi_ulto3b
	ldr	r3, .L6+12
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	str	r9, [r4]
	b	.L3
.L7:
	.align	2
.L6:
	.word	RECEIVE
	.word	CAM_DIR_IN
	.word	SEND
	.word	CAM_DIR_OUT
	.size	scsi_send_receive, .-scsi_send_receive
	.comm	SEND,4,4
	.comm	RECEIVE,4,4
	.comm	CAM_DIR_OUT,4,4
	.comm	CAM_DIR_IN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
