	.file	"extr_target_core_pr.c___core_scsi3_do_alloc_registration.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to allocate struct t10_pr_registration\n"
	.align 8
.LC1:
	.string	"Unable to allocate pr_reg->pr_aptpl_buf\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%s"
	.text
	.p2align 4
	.type	__core_scsi3_do_alloc_registration, @function
__core_scsi3_do_alloc_registration:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, DWORD PTR t10_pr_reg_cache[rip]
	mov	DWORD PTR 12[rsp], r9d
	call	kmem_cache_zalloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L10
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, DWORD PTR 0[rbp]
	call	kzalloc@PLT
	mov	DWORD PTR 88[r13], eax
	test	eax, eax
	je	.L11
	lea	rdi, 84[r13]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 80[r13]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 76[r13]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 72[r13]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 68[r13]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 64[r13]
	xor	esi, esi
	call	atomic_set@PLT
	mov	eax, DWORD PTR 8[rbx]
	mov	QWORD PTR 48[r13], rbx
	mov	QWORD PTR 56[r13], r15
	mov	DWORD PTR 40[r13], eax
	mov	rax, QWORD PTR [rbx]
	mov	ebx, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR 32[r13], r14d
	mov	DWORD PTR 0[r13], ebx
	mov	DWORD PTR 36[r13], edx
	mov	edx, DWORD PTR 80[rsp]
	mov	QWORD PTR 24[r13], rax
	mov	DWORD PTR 4[r13], edx
	test	r12, r12
	je	.L1
	mov	rdi, r12
	call	get_unaligned_be64@PLT
	mov	edi, DWORD PTR 12[r13]
	mov	rcx, r12
	mov	esi, DWORD PTR PR_REG_ISID_LEN[rip]
	mov	DWORD PTR 16[r13], eax
	lea	rdx, .LC2[rip]
	call	snprintf@PLT
	mov	DWORD PTR 8[r13], 1
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	mov	edi, DWORD PTR t10_pr_reg_cache[rip]
	mov	rsi, r13
	xor	r13d, r13d
	call	kmem_cache_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	__core_scsi3_do_alloc_registration, .-__core_scsi3_do_alloc_registration
	.comm	t10_pr_reg_cache,4,4
	.comm	PR_REG_ISID_LEN,4,4
	.comm	GFP_ATOMIC,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_do_alloc_registration.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to allocate struct t10_pr_registration\012\000"
	.align	2
.LC1:
	.ascii	"Unable to allocate pr_reg->pr_aptpl_buf\012\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__core_scsi3_do_alloc_registration, %function
__core_scsi3_do_alloc_registration:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r10, .L12
	ldr	r9, .L12+4
	mov	r6, r0
	mov	r8, r1
	ldr	r0, [r9]
	ldr	r1, [r10]
	mov	r5, r2
	mov	r7, r3
	bl	kmem_cache_zalloc
	subs	r4, r0, #0
	beq	.L10
	ldr	r0, [r6]
	ldr	r1, [r10]
	bl	kzalloc
	cmp	r0, #0
	mov	r6, r0
	str	r0, [r4, #68]
	beq	.L11
	add	r0, r4, #64
	bl	INIT_LIST_HEAD
	add	r0, r4, #60
	bl	INIT_LIST_HEAD
	add	r0, r4, #56
	bl	INIT_LIST_HEAD
	add	r0, r4, #52
	bl	INIT_LIST_HEAD
	add	r0, r4, #48
	bl	INIT_LIST_HEAD
	mov	r1, #0
	add	r0, r4, #44
	bl	atomic_set
	ldr	r3, [r5]
	ldr	r1, [r5, #4]
	ldr	r2, [r3]
	str	r3, [r4, #20]
	ldr	r3, [sp, #32]
	cmp	r7, #0
	str	r3, [r4, #24]
	ldr	r3, [sp, #36]
	str	r8, [r4, #40]
	str	r3, [r4]
	ldr	r3, [sp, #40]
	str	r5, [r4, #36]
	str	r1, [r4, #32]
	str	r2, [r4, #28]
	str	r3, [r4, #4]
	beq	.L1
	mov	r0, r7
	bl	get_unaligned_be64
	ldr	r2, .L12+8
	mov	r3, r7
	ldr	r1, [r2]
	str	r0, [r4, #16]
	ldr	r2, .L12+12
	ldr	r0, [r4, #12]
	bl	snprintf
	mov	r3, #1
	str	r3, [r4, #8]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r0, .L12+16
	bl	pr_err
	mov	r1, r4
	mov	r4, r6
	ldr	r0, [r9]
	bl	kmem_cache_free
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	ldr	r0, .L12+20
	bl	pr_err
	b	.L1
.L13:
	.align	2
.L12:
	.word	GFP_ATOMIC
	.word	t10_pr_reg_cache
	.word	PR_REG_ISID_LEN
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	__core_scsi3_do_alloc_registration, .-__core_scsi3_do_alloc_registration
	.comm	t10_pr_reg_cache,4,4
	.comm	PR_REG_ISID_LEN,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
