	.file	"extr_scsi_debug.c_resp_write_same_16.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	resp_write_same_16, @function
resp_write_same_16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR [rdi]
	mov	r12d, DWORD PTR 4[rbx]
	mov	r14d, r12d
	and	r14d, 8
	je	.L2
	cmp	QWORD PTR sdebug_lbpws[rip], 0
	mov	r14d, 1
	je	.L11
.L2:
	lea	rdi, 8[rbx]
	call	get_unaligned_be64@PLT
	lea	rdi, 40[rbx]
	mov	r13d, eax
	call	get_unaligned_be32@PLT
	cmp	QWORD PTR sdebug_write_same_length[rip], rax
	mov	rdx, rax
	jl	.L12
	mov	r9d, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	r8d, r14d
	mov	esi, r13d
	mov	rdi, rbp
	and	r9d, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	xor	ecx, ecx
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	resp_write_same@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR SDEB_IN_CDB[rip]
	mov	rdi, rbp
	mov	ecx, -1
	mov	edx, 10
	call	mk_sense_invalid_fld@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR check_condition_result[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR SDEB_IN_CDB[rip]
	mov	ecx, 3
	mov	edx, 1
	call	mk_sense_invalid_fld@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR check_condition_result[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	resp_write_same_16, .-resp_write_same_16
	.comm	sdebug_write_same_length,8,8
	.comm	sdebug_lbpws,8,8
	.comm	check_condition_result,4,4
	.comm	SDEB_IN_CDB,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_debug.c_resp_write_same_16.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	resp_write_same_16, %function
resp_write_same_16:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r6, [r0]
	mov	r4, r0
	ldr	r5, [r6, #4]
	sub	sp, sp, #12
	ands	r7, r5, #8
	beq	.L2
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r3, #0
	movne	r7, #1
	beq	.L11
.L2:
	add	r0, r6, #8
	bl	get_unaligned_be64
	mov	r1, r0
	add	r0, r6, #40
	mov	r6, r1
	bl	get_unaligned_be32
	ldr	r3, .L13+4
	mov	r2, r0
	ldr	r3, [r3]
	cmp	r3, r0
	blt	.L12
	and	r5, r5, #1
	mov	r1, r6
	mov	r0, r4
	mov	r3, #0
	str	r5, [sp, #4]
	str	r7, [sp]
	bl	resp_write_same
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	ldr	r3, .L13+8
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #10
	mvn	r3, #0
	bl	mk_sense_invalid_fld
	ldr	r3, .L13+12
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r2, .L13+8
	mov	r3, #3
	ldr	r1, [r2]
	mov	r2, #1
	bl	mk_sense_invalid_fld
	ldr	r3, .L13+12
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	.align	2
.L13:
	.word	sdebug_lbpws
	.word	sdebug_write_same_length
	.word	SDEB_IN_CDB
	.word	check_condition_result
	.size	resp_write_same_16, .-resp_write_same_16
	.comm	sdebug_write_same_length,4,4
	.comm	sdebug_lbpws,4,4
	.comm	check_condition_result,4,4
	.comm	SDEB_IN_CDB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
