	.file	"extr_scsi_logging.c_scsi_log_dump_sense.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.type	scsi_log_dump_sense, @function
scsi_log_dump_sense:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdi, 16[rsp]
	call	scsi_log_reserve_buffer@PLT
	test	rax, rax
	je	.L1
	mov	rbp, rax
	test	r14d, r14d
	jle	.L6
	lea	eax, -1[r14]
	shr	eax, 4
	sal	rax, 4
	lea	rax, 16[r15+rax]
	mov	QWORD PTR [rsp], rax
	lea	eax, [r14+r15]
	mov	DWORD PTR 12[rsp], eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 12[rsp]
	mov	esi, 16
	sub	edi, r15d
	call	min@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	ecx, r13d
	mov	rdx, r12
	mov	rdi, rbp
	mov	r14d, eax
	call	sdev_format_header@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	rdi, r15
	mov	esi, r14d
	push	0
	.cfi_def_cfa_offset 112
	mov	r9, QWORD PTR 32[rsp]
	lea	r8, 0[rbp+rax]
	add	r15, 16
	mov	ecx, 1
	mov	edx, 16
	sub	r9, rax
	call	hex_dump_to_buffer@PLT
	mov	edi, DWORD PTR KERN_INFO[rip]
	mov	rcx, rbp
	mov	rsi, rbx
	lea	rdx, .LC0[rip]
	call	dev_printk@PLT
	pop	rax
	.cfi_def_cfa_offset 104
	pop	rdx
	.cfi_def_cfa_offset 96
	cmp	r15, QWORD PTR [rsp]
	jne	.L5
.L6:
	mov	rdi, rbp
	call	scsi_log_release_buffer@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.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
.L14:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	scsi_log_dump_sense, .-scsi_log_dump_sense
	.comm	KERN_INFO,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_logging.c_scsi_log_dump_sense.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scsi_log_dump_sense, %function
scsi_log_dump_sense:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	sub	sp, sp, #36
	ldr	r3, .L15
	mov	r7, r0
	add	r0, sp, #24
	mov	r8, r1
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r10, [sp, #72]
	bl	scsi_log_reserve_buffer
	subs	r6, r0, #0
	beq	.L1
	cmp	r10, #0
	ble	.L6
	mov	r4, r10
	mov	fp, #0
	sub	r2, r10, #1
	sub	r3, r10, #16
	bic	r2, r2, #15
	sub	r3, r3, r2
	str	r3, [sp, #16]
	ldr	r10, .L15+4
	add	r3, r5, r4
	str	r3, [sp, #20]
.L5:
	mov	r1, #16
	mov	r0, r4
	bl	min
	mov	r3, r9
	mov	r5, r0
	mov	r2, r8
	ldr	r1, [sp, #24]
	mov	r0, r6
	bl	sdev_format_header
	ldr	r3, [sp, #24]
	add	r2, r6, r0
	sub	r0, r3, r0
	stmib	sp, {r0, fp}
	ldr	r0, [sp, #20]
	mov	r1, r5
	mov	r3, #1
	str	r2, [sp]
	sub	r0, r0, r4
	mov	r2, #16
	bl	hex_dump_to_buffer
	ldr	r0, .L15+8
	mov	r3, r6
	mov	r2, r10
	mov	r1, r7
	ldr	r0, [r0]
	bl	dev_printk
	ldr	r3, [sp, #16]
	sub	r4, r4, #16
	cmp	r4, r3
	bne	.L5
.L6:
	mov	r0, r6
	bl	scsi_log_release_buffer
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	.LC0
	.word	KERN_INFO
	.size	scsi_log_dump_sense, .-scsi_log_dump_sense
	.comm	KERN_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
