	.file	"extr_target_core_pr.c_core_scsi3_aptpl_reserve.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"SPC-3 PR [%s] Service Action: APTPL RESERVE created new reservation holder TYPE: %s ALL_TG_PT: %d\n"
	.align 8
.LC2:
	.string	"SPC-3 PR [%s] RESERVE Node: %s%s\n"
	.text
	.p2align 4
	.type	core_scsi3_aptpl_reserve, @function
core_scsi3_aptpl_reserve:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdx
	push	r13
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PR_REG_ISID_ID_LEN[rip]
	mov	rcx, rsp
	mov	r8, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L13
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L14
.L4:
	mov	edx, r8d
	xor	esi, esi
	mov	rdi, rsp
	call	memset@PLT
	mov	edx, DWORD PTR PR_REG_ISID_ID_LEN[rip]
	mov	rsi, rsp
	mov	rdi, rbx
	call	core_pr_dump_initiator_port@PLT
	mov	rdi, r12
	mov	r15d, eax
	call	spin_lock@PLT
	mov	QWORD PTR 8[r12], rbx
	mov	rdi, r12
	call	spin_unlock@PLT
	mov	edi, DWORD PTR 8[rbx]
	xor	ecx, ecx
	cmp	QWORD PTR [rbx], 0
	setne	cl
	mov	DWORD PTR -68[rbp], ecx
	call	core_scsi3_pr_dump_type@PLT
	mov	rdx, QWORD PTR 0[r13]
	mov	r12d, eax
	xor	eax, eax
	call	[QWORD PTR [rdx]]
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, r12d
	lea	rdi, .LC1[rip]
	mov	esi, eax
	xor	eax, eax
	lea	r12, .LC0[rip]
	call	pr_debug@PLT
	test	r15d, r15d
	mov	rdx, QWORD PTR 0[r13]
	mov	r14d, DWORD PTR [r14]
	cmovne	r12, rsp
	xor	eax, eax
	call	[QWORD PTR [rdx]]
	mov	edx, r14d
	lea	rdi, .LC2[rip]
	mov	esi, eax
	mov	rcx, r12
	xor	eax, eax
	call	pr_debug@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	core_scsi3_aptpl_reserve, .-core_scsi3_aptpl_reserve
	.comm	PR_REG_ISID_ID_LEN,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_target_core_pr.c_core_scsi3_aptpl_reserve.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"SPC-3 PR [%s] Service Action: APTPL RESERVE created"
	.ascii	" new reservation holder TYPE: %s ALL_TG_PT: %d\012\000"
	.align	2
.LC2:
	.ascii	"SPC-3 PR [%s] RESERVE Node: %s%s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	core_scsi3_aptpl_reserve, %function
core_scsi3_aptpl_reserve:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #12
	mov	r4, r3
	mov	r8, r2
	ldr	r2, .L8
	mov	r5, r0
	ldr	r7, [r2]
	mov	r6, r1
	add	r3, r7, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L8+4
	mov	r2, r7
	mov	r1, #0
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	memset
	mov	r2, r7
	mov	r1, sp
	mov	r0, r4
	bl	core_pr_dump_initiator_port
	mov	r7, r0
	mov	r0, r5
	bl	spin_lock
	mov	r0, r5
	str	r4, [r5, #4]
	bl	spin_unlock
	ldr	r3, [r6]
	ldr	r3, [r3]
	blx	r3
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	core_scsi3_pr_dump_type
	ldr	r3, [r4]
	mov	r2, r0
	subs	r3, r3, #0
	movne	r3, #1
	mov	r1, r5
	ldr	r0, .L8+8
	bl	pr_debug
	ldr	r3, [r6]
	ldr	r3, [r3]
	blx	r3
	mov	r1, r0
	mov	r0, sp
	cmp	r7, #0
	ldr	r3, .L8+12
	ldr	r2, [r8]
	movne	r3, r0
	ldr	r0, .L8+16
	bl	pr_debug
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	PR_REG_ISID_ID_LEN
	.word	.LC3
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	core_scsi3_aptpl_reserve, .-core_scsi3_aptpl_reserve
	.comm	PR_REG_ISID_ID_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
