	.file	"extr_ipr.c_ipr_show_device_id.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0x%llx\n"
	.text
	.p2align 4
	.type	ipr_show_device_id, @function
ipr_show_device_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	to_scsi_device@PLT
	xor	esi, esi
	mov	r12d, DWORD PTR ENXIO[rip]
	mov	rbx, rax
	mov	rax, QWORD PTR 8[rax]
	neg	r12d
	mov	rbp, QWORD PTR [rax]
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L3
	cmp	QWORD PTR 8[rbp], 0
	jne	.L8
	mov	ecx, DWORD PTR [rax]
.L6:
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r13
	call	snprintf@PLT
	mov	r12d, eax
.L3:
	mov	rax, QWORD PTR 0[rbp]
	xor	esi, esi
	mov	edi, DWORD PTR [rax]
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rax]
	call	be64_to_cpu@PLT
	mov	ecx, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ipr_show_device_id, .-ipr_show_device_id
	.comm	PAGE_SIZE,4,4
	.comm	ENXIO,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_ipr.c_ipr_show_device_id.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x%llx\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipr_show_device_id, %function
ipr_show_device_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	bl	to_scsi_device
	mov	r4, r0
	ldr	r3, [r0, #4]
	ldr	r2, .L9
	ldr	r6, [r3]
	mov	r1, #0
	ldr	r3, [r6]
	ldr	r5, [r2]
	ldr	r0, [r3]
	bl	spin_lock_irqsave
	ldr	r3, [r4]
	cmp	r3, #0
	rsbeq	r5, r5, #0
	beq	.L3
	ldr	r1, [r6, #4]
	ldr	r2, .L9+4
	cmp	r1, #0
	ldr	r4, [r2]
	ldreq	r3, [r3]
	bne	.L8
.L6:
	mov	r1, r4
	mov	r0, r7
	ldr	r2, .L9+8
	bl	snprintf
	mov	r5, r0
.L3:
	ldr	r3, [r6]
	mov	r1, #0
	ldr	r0, [r3]
	bl	spin_unlock_irqrestore
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r0, [r3, #4]
	bl	be64_to_cpu
	mov	r3, r0
	b	.L6
.L10:
	.align	2
.L9:
	.word	ENXIO
	.word	PAGE_SIZE
	.word	.LC0
	.size	ipr_show_device_id, .-ipr_show_device_id
	.comm	PAGE_SIZE,4,4
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
