	.file	"extr_ctsrc.c_src_mgr_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	src_mgr_create
	.type	src_mgr_create, @function
src_mgr_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	edi, 36
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	QWORD PTR [rsi], 0
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR SRC_RESOURCE_NUM[rip]
	mov	rcx, r13
	mov	rdi, rax
	mov	rbp, rax
	mov	esi, DWORD PTR SRC[rip]
	call	rsc_mgr_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L9
	lea	rdi, 32[rbp]
	xor	ebx, ebx
	call	spin_lock_init@PLT
	xor	eax, eax
	call	[QWORD PTR 24[r13]]
	mov	DWORD PTR conj_mask[rip], eax
	mov	eax, DWORD PTR get_src_rsc[rip]
	mov	DWORD PTR 28[rbp], eax
	mov	eax, DWORD PTR put_src_rsc[rip]
	mov	DWORD PTR 24[rbp], eax
	mov	eax, DWORD PTR src_enable_s[rip]
	mov	DWORD PTR 20[rbp], eax
	mov	eax, DWORD PTR src_enable[rip]
	mov	DWORD PTR 16[rbp], eax
	mov	eax, DWORD PTR src_disable[rip]
	mov	DWORD PTR 12[rbp], eax
	mov	eax, DWORD PTR src_mgr_commit_write[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR 16[r13]
	mov	DWORD PTR 4[rbp], eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, ebx
	add	ebx, 1
	mov	edi, DWORD PTR 0[rbp]
	call	[QWORD PTR 8[r13]]
	cmp	ebx, 256
	jne	.L5
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r13
	call	[QWORD PTR 0[r13]]
	mov	QWORD PTR [r14], rbp
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	kfree@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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	src_mgr_create, .-src_mgr_create
	.comm	src_mgr_commit_write,4,4
	.comm	src_enable_s,4,4
	.comm	src_enable,4,4
	.comm	src_disable,4,4
	.comm	put_src_rsc,4,4
	.comm	get_src_rsc,4,4
	.comm	conj_mask,4,4
	.comm	SRC_RESOURCE_NUM,4,4
	.comm	SRC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_ctsrc.c_src_mgr_create.c"
	.text
	.align	2
	.global	src_mgr_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	src_mgr_create, %function
src_mgr_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	ldr	r3, .L11
	push	{r4, r5, r6, r7, r8, lr}
	str	r2, [r1]
	mov	r8, r1
	mov	r7, r0
	ldr	r1, [r3]
	mov	r0, #36
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L9
	ldr	r3, .L11+4
	ldr	r2, .L11+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, r7
	bl	rsc_mgr_init
	subs	r6, r0, #0
	bne	.L10
	add	r0, r5, #32
	bl	spin_lock_init
	ldr	r3, [r7, #12]
	blx	r3
	mov	r4, r6
	ldr	r3, .L11+12
	ldr	r2, .L11+16
	str	r0, [r3]
	ldr	r3, .L11+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L11+24
	ldr	r3, .L11+28
	ldr	r2, [r2]
	str	r1, [r5, #28]
	ldr	r1, [r3]
	ldr	r3, .L11+32
	str	r2, [r5, #24]
	ldr	r3, [r3]
	ldr	r2, .L11+36
	str	r3, [r5, #12]
	ldr	r2, [r2]
	ldr	r3, [r7, #8]
	str	r0, [r5, #20]
	str	r1, [r5, #16]
	str	r2, [r5, #8]
	str	r3, [r5, #4]
.L5:
	mov	r1, r4
	ldr	r2, [r7, #4]
	ldr	r0, [r5]
	add	r4, r4, #1
	blx	r2
	cmp	r4, #256
	bne	.L5
	mov	r0, r7
	ldr	r3, [r7]
	ldr	r1, [r5]
	blx	r3
	mov	r0, r6
	str	r5, [r8]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r5
	bl	kfree
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, .L11+40
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	SRC
	.word	SRC_RESOURCE_NUM
	.word	conj_mask
	.word	get_src_rsc
	.word	src_enable_s
	.word	put_src_rsc
	.word	src_enable
	.word	src_disable
	.word	src_mgr_commit_write
	.word	ENOMEM
	.size	src_mgr_create, .-src_mgr_create
	.comm	src_mgr_commit_write,4,4
	.comm	src_enable_s,4,4
	.comm	src_enable,4,4
	.comm	src_disable,4,4
	.comm	put_src_rsc,4,4
	.comm	get_src_rsc,4,4
	.comm	conj_mask,4,4
	.comm	SRC_RESOURCE_NUM,4,4
	.comm	SRC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
