	.file	"extr_driver.c_scmi_xfer_info_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Maximum message of %d exceeds supported %ld\n"
	.text
	.p2align 4
	.type	scmi_xfer_info_init, @function
scmi_xfer_info_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	eax, DWORD PTR MSG_TOKEN_MAX[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 24[rdi]
	mov	r13, QWORD PTR 32[rdi]
	xor	edi, edi
	cmp	DWORD PTR [rbx], eax
	setge	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L13
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, DWORD PTR [rbx]
	mov	edx, 24
	mov	rdi, r13
	call	devm_kcalloc@PLT
	mov	QWORD PTR 8[r12], rax
	test	rax, rax
	je	.L11
	mov	edi, DWORD PTR [rbx]
	mov	r14d, DWORD PTR GFP_KERNEL[rip]
	call	BITS_TO_LONGS@PLT
	mov	ecx, r14d
	mov	edx, 8
	mov	rdi, r13
	mov	esi, eax
	call	devm_kcalloc@PLT
	mov	QWORD PTR 16[r12], rax
	test	rax, rax
	je	.L11
	mov	eax, DWORD PTR [rbx]
	mov	r14, QWORD PTR 8[r12]
	test	eax, eax
	jle	.L6
	xor	ebp, ebp
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	mov	QWORD PTR 16[r14], rax
	mov	rdi, r14
	add	ebp, 1
	add	r14, 24
	call	init_completion@PLT
	cmp	DWORD PTR [rbx], ebp
	jle	.L6
.L8:
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 4
	mov	rdi, r13
	call	devm_kcalloc@PLT
	mov	QWORD PTR 8[r14], rax
	test	rax, rax
	jne	.L7
.L11:
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edx, DWORD PTR [rbx]
	mov	ecx, DWORD PTR MSG_TOKEN_MAX[rip]
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, r12
	call	spin_lock_init@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	scmi_xfer_info_init, .-scmi_xfer_info_init
	.comm	MSG_TOKEN_MAX,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_driver.c_scmi_xfer_info_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Maximum message of %d exceeds supported %ld\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scmi_xfer_info_init, %function
scmi_xfer_info_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	ldr	r5, [r0, #12]
	ldr	r4, .L14
	ldr	r0, [r5]
	ldr	r3, [r4]
	ldr	r9, [r8, #16]
	cmp	r0, r3
	movlt	r0, #0
	movge	r0, #1
	bl	WARN_ON
	subs	r7, r0, #0
	bne	.L13
	ldr	r10, .L14+4
	mov	r2, #12
	mov	r0, r9
	ldr	r3, [r10]
	ldr	r1, [r5]
	bl	devm_kcalloc
	cmp	r0, #0
	str	r0, [r8, #4]
	beq	.L11
	ldr	r0, [r5]
	bl	BITS_TO_LONGS
	mov	r2, #4
	mov	r1, r0
	ldr	r3, [r10]
	mov	r0, r9
	bl	devm_kcalloc
	cmp	r0, #0
	str	r0, [r8, #8]
	beq	.L11
	ldr	r3, [r5]
	ldr	r4, [r8, #4]
	cmp	r3, #0
	ble	.L6
	mov	r6, r7
	b	.L8
.L7:
	str	r0, [r4, #8]
	mov	r0, r4
	bl	init_completion
	ldr	r3, [r5]
	add	r4, r4, #12
	cmp	r3, r6
	ble	.L6
.L8:
	mov	r1, #4
	mov	r0, r9
	ldr	r3, [r10]
	ldr	r2, [r5, #4]
	bl	devm_kcalloc
	cmp	r0, #0
	add	r6, r6, #1
	str	r0, [r4, #4]
	bne	.L7
.L11:
	ldr	r3, .L14+8
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	ldr	r3, [r4]
	mov	r0, r9
	ldr	r2, [r5]
	ldr	r1, .L14+12
	bl	dev_err
	ldr	r3, .L14+16
	ldr	r7, [r3]
	rsb	r7, r7, #0
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r0, r8
	bl	spin_lock_init
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	.align	2
.L14:
	.word	MSG_TOKEN_MAX
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	.LC0
	.word	EINVAL
	.size	scmi_xfer_info_init, .-scmi_xfer_info_init
	.comm	MSG_TOKEN_MAX,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
