	.file	"extr_ctl_util.c_ctl_scsi_report_luns.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ctl_scsi_report_luns
	.type	ctl_scsi_report_luns, @function
ctl_scsi_report_luns:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	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	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rcx
	call	ctl_scsi_zero_io@PLT
	mov	r12, QWORD PTR 48[rbx]
	mov	rcx, QWORD PTR 8[rsp]
	mov	edi, ebp
	mov	rax, QWORD PTR CTL_IO_SCSI[rip]
	mov	esi, DWORD PTR 8[r12]
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR REPORT_LUNS[rip]
	mov	QWORD PTR 16[r12], rcx
	mov	DWORD PTR 24[r12], eax
	call	scsi_ulto4b@PLT
	mov	eax, DWORD PTR SSD_FULL_SIZE[rip]
	mov	QWORD PTR [r12], r15
	mov	DWORD PTR 44[rbx], r14d
	mov	QWORD PTR 8[rbx], r13
	mov	DWORD PTR 40[rbx], ebp
	mov	DWORD PTR [rbx], 32
	mov	QWORD PTR 32[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	mov	DWORD PTR 16[rbx], eax
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	ctl_scsi_report_luns, .-ctl_scsi_report_luns
	.comm	SSD_FULL_SIZE,4,4
	.comm	REPORT_LUNS,4,4
	.comm	CTL_IO_SCSI,8,8
	.comm	CTL_FLAG_DATA_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_ctl_util.c_ctl_scsi_report_luns.c"
	.text
	.align	2
	.global	ctl_scsi_report_luns
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctl_scsi_report_luns, %function
ctl_scsi_report_luns:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r2
	mov	r8, r3
	mov	r7, r1
	ldr	r9, [sp, #32]
	ldr	r10, [sp, #36]
	bl	ctl_scsi_zero_io
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r6, [r4, #28]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r4, #4]
	ldr	r1, [r6, #4]
	str	r3, [r6, #12]
	mov	r0, r5
	str	r8, [r6, #8]
	bl	scsi_ulto4b
	mov	r3, #0
	mov	r1, #16
	ldr	r2, .L4+8
	str	r10, [r6]
	ldr	r2, [r2]
	str	r9, [r4, #24]
	str	r7, [r4, #4]
	str	r5, [r4, #20]
	str	r1, [r4]
	str	r2, [r4, #8]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	.align	2
.L4:
	.word	CTL_IO_SCSI
	.word	REPORT_LUNS
	.word	SSD_FULL_SIZE
	.size	ctl_scsi_report_luns, .-ctl_scsi_report_luns
	.comm	SSD_FULL_SIZE,4,4
	.comm	REPORT_LUNS,4,4
	.comm	CTL_IO_SCSI,4,4
	.comm	CTL_FLAG_DATA_IN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
