	.file	"extr_qlogicpti.c_qpti_get_scsi_id.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"initiator-id"
.LC1:
	.string	"scsi-initiator-id"
.LC2:
	.string	"SCSI ID %d "
	.text
	.p2align 4
	.type	qpti_get_scsi_id, @function
qpti_get_scsi_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	mov	edx, -1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 16[rdi]
	mov	rbp, QWORD PTR [rax]
	mov	rdi, rbp
	call	of_getintprop_default@PLT
	mov	DWORD PTR [rbx], eax
	mov	esi, eax
	cmp	eax, -1
	je	.L5
.L2:
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, .LC2[rip]
	mov	DWORD PTR [rax], esi
	mov	DWORD PTR 4[rax], 64
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	printk@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	edx, -1
	mov	rdi, rbp
	call	of_getintprop_default@PLT
	mov	DWORD PTR [rbx], eax
	mov	esi, eax
	cmp	eax, -1
	jne	.L2
	mov	rdi, QWORD PTR 0[rbp]
	lea	rsi, .LC1[rip]
	mov	edx, 7
	call	of_getintprop_default@PLT
	mov	DWORD PTR [rbx], eax
	mov	esi, eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	qpti_get_scsi_id, .-qpti_get_scsi_id
	.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_qlogicpti.c_qpti_get_scsi_id.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"initiator-id\000"
	.align	2
.LC1:
	.ascii	"scsi-initiator-id\000"
	.align	2
.LC2:
	.ascii	"SCSI ID %d \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qpti_get_scsi_id, %function
qpti_get_scsi_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	mov	r4, r0
	mvn	r2, #0
	mov	r0, r5
	ldr	r1, .L8
	bl	of_getintprop_default
	cmn	r0, #1
	str	r0, [r4]
	beq	.L7
.L4:
	mov	r2, #64
	ldr	r3, [r4, #4]
	mov	r1, r0
	pop	{r4, r5, r6, lr}
	stm	r3, {r0, r2}
	ldr	r0, .L8+4
	b	printk
.L7:
	mov	r2, r0
	ldr	r1, .L8+8
	mov	r0, r5
	bl	of_getintprop_default
	cmn	r0, #1
	str	r0, [r4]
	bne	.L4
	mov	r2, #7
	ldr	r0, [r5]
	ldr	r1, .L8+8
	bl	of_getintprop_default
	str	r0, [r4]
	b	.L4
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.size	qpti_get_scsi_id, .-qpti_get_scsi_id
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
