	.file	"extr_ctatc.c_atc_pcm_capture_get_resources.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	atc_pcm_capture_get_resources, @function
atc_pcm_capture_get_resources:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pxor	xmm0, xmm0
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 216
	.cfi_def_cfa_offset 272
	mov	rdx, QWORD PTR SRC[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 200[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	rbp, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR SRCIMP[rip]
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR AMIXER[rip]
	mov	QWORD PTR 72[rsp], rcx
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR SUM[rip]
	mov	QWORD PTR 48[rsp], rcx
	mov	rax, QWORD PTR [rax+rdx*8]
	movaps	XMMWORD PTR 128[rsp], xmm0
	movaps	XMMWORD PTR 144[rsp], xmm0
	movaps	XMMWORD PTR 160[rsp], xmm0
	movaps	XMMWORD PTR 176[rsp], xmm0
	mov	QWORD PTR 64[rsp], rax
	mov	QWORD PTR 104[rsp], 0
	mov	QWORD PTR 112[rsp], 0
	mov	QWORD PTR 120[rsp], 0
	call	atc_pcm_release_resources@PLT
	mov	rax, QWORD PTR 8[r15]
	mov	edi, DWORD PTR [r12]
	imul	edi, DWORD PTR 4[r12]
	mov	rax, QWORD PTR [rax]
	mov	ebx, DWORD PTR [rax]
	mov	esi, DWORD PTR 4[rax]
	mov	DWORD PTR 20[rsp], ebx
	call	atc_get_pitch@PLT
	lea	rcx, 92[rsp]
	mov	rdi, r12
	mov	rsi, r15
	lea	rdx, 144[rsp]
	mov	r14d, eax
	call	setup_src_node_conf@PLT
	xor	eax, eax
	cmp	ebx, 1
	mov	edi, DWORD PTR 92[rsp]
	sete	al
	add	eax, eax
	lea	ecx, [rax+rdi]
	mov	DWORD PTR 44[rsp], eax
	mov	DWORD PTR 32[rsp], ecx
	cmp	ebx, 1
	jle	.L2
	cmp	r14d, 134217728
	ja	.L2
	imul	ebx, DWORD PTR 4[r12]
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	eax, ebx
	add	ecx, ebx
	add	eax, edi
	mov	DWORD PTR 32[rsp], ecx
	mov	DWORD PTR 40[rsp], eax
	test	edi, edi
	jne	.L56
.L4:
	mov	eax, DWORD PTR 32[rsp]
	test	eax, eax
	jne	.L57
.L7:
	mov	edi, DWORD PTR 40[rsp]
	mov	esi, 8
	call	kcalloc@PLT
	mov	QWORD PTR 24[r15], rax
	test	rax, rax
	je	.L54
	mov	eax, DWORD PTR ARCRW[rip]
	mov	ecx, DWORD PTR 92[rsp]
	xor	r13d, r13d
	mov	DWORD PTR 128[rsp], 1
	mov	QWORD PTR 56[r15], 0
	mov	DWORD PTR 136[rsp], eax
	lea	rax, 128[rsp]
	mov	QWORD PTR 24[rsp], rax
	test	ecx, ecx
	jle	.L14
	mov	QWORD PTR 56[rsp], r12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L59:
	mov	rax, QWORD PTR 64[r15]
	mov	r9d, DWORD PTR 148[rsp+rbx]
	mov	r14, QWORD PTR [rax+r13*8]
	mov	esi, r9d
	mov	DWORD PTR 8[rsp], r9d
	add	r13, 1
	mov	rax, QWORD PTR [r14]
	mov	rdi, r14
	call	[QWORD PTR [rax]]
	mov	r9d, DWORD PTR 8[rsp]
	mov	rax, QWORD PTR [r14]
	mov	edi, r9d
	mov	r12, QWORD PTR 16[rax]
	call	select_rom@PLT
	mov	rdi, r14
	mov	esi, eax
	call	r12
	mov	rax, QWORD PTR [r14]
	mov	esi, DWORD PTR 160[rsp+rbx]
	mov	rdi, r14
	call	[QWORD PTR 8[rax]]
	add	QWORD PTR 56[r15], 1
	cmp	DWORD PTR 92[rsp], r13d
	jle	.L58
.L11:
	mov	eax, r13d
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, rbp
	cdq
	idiv	DWORD PTR 20[rsp]
	cdqe
	lea	rcx, [rax+rax*2]
	lea	rbx, 0[0+rcx*8]
	mov	eax, DWORD PTR 144[rsp+rbx]
	mov	DWORD PTR 132[rsp], eax
	mov	rax, QWORD PTR 64[r15]
	lea	rdx, [rax+r13*8]
	call	[QWORD PTR 0[rbp]]
	test	eax, eax
	je	.L59
	mov	r12, QWORD PTR 56[rsp]
	mov	r9d, eax
.L9:
	mov	rsi, r15
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], r9d
	call	atc_pcm_release_resources@PLT
	mov	r9d, DWORD PTR 8[rsp]
.L1:
	mov	rax, QWORD PTR 200[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L60
	add	rsp, 216
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r9d
	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
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR 20[rsp]
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	add	eax, edi
	mov	DWORD PTR 40[rsp], eax
	test	edi, edi
	je	.L4
.L56:
	mov	esi, 8
	call	kcalloc@PLT
	mov	QWORD PTR 64[r15], rax
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR 32[rsp]
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	test	eax, eax
	je	.L7
.L57:
	mov	esi, 8
	mov	edi, eax
	call	kcalloc@PLT
	mov	QWORD PTR 48[r15], rax
	test	rax, rax
	je	.L54
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L58:
	mov	r12, QWORD PTR 56[rsp]
.L14:
	mov	edx, DWORD PTR 32[rsp]
	mov	QWORD PTR 40[r15], 0
	test	edx, edx
	jle	.L13
	mov	eax, DWORD PTR 32[rsp]
	xor	r14d, r14d
	mov	QWORD PTR 24[rsp], rbp
	lea	r13, 112[rsp]
	mov	rbp, QWORD PTR 48[rsp]
	lea	ebx, -1[rax]
	mov	rax, r15
	mov	r15, r14
	mov	QWORD PTR 8[rsp], rbx
	mov	r14, rax
	mov	ebx, DWORD PTR 44[rsp]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L62:
	mov	eax, DWORD PTR 4[r12]
	mov	DWORD PTR 112[rsp], eax
.L17:
	mov	rax, QWORD PTR 48[r14]
	mov	rsi, r13
	mov	rdi, rbp
	lea	rdx, [rax+r15*4]
	call	[QWORD PTR 8[rbp]]
	test	eax, eax
	jne	.L51
	add	QWORD PTR 40[r14], 1
	lea	rax, 1[r15]
	cmp	r15, QWORD PTR 8[rsp]
	je	.L61
	mov	r15, rax
.L19:
	cmp	ebx, r15d
	jg	.L62
	mov	eax, DWORD PTR 92[rsp]
	add	eax, ebx
	cmp	eax, r15d
	jle	.L18
	mov	eax, r15d
	sub	eax, ebx
	cdq
	idiv	DWORD PTR 20[rsp]
	cdqe
	lea	rax, [rax+rax*2]
	mov	eax, DWORD PTR 152[rsp+rax*8]
	mov	DWORD PTR 112[rsp], eax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	mov	DWORD PTR 112[rsp], 1
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L54:
	mov	r9d, DWORD PTR ENOMEM[rip]
	neg	r9d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L61:
	mov	rbp, QWORD PTR 24[rsp]
	mov	r15, r14
.L13:
	mov	eax, DWORD PTR 4[r12]
	lea	rdx, 32[r15]
	lea	rsi, 120[rsp]
	mov	DWORD PTR 120[rsp], eax
	mov	rax, QWORD PTR 64[rsp]
	mov	rdi, rax
	call	[QWORD PTR 16[rax]]
	mov	r9d, eax
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR 8[r15]
	mov	edi, DWORD PTR [r12]
	imul	edi, DWORD PTR 4[r12]
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR 4[rax]
	call	atc_get_pitch@PLT
	mov	QWORD PTR 16[r15], 0
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR 40[rsp]
	test	eax, eax
	jle	.L27
	mov	eax, DWORD PTR 40[rsp]
	xor	r13d, r13d
	mov	QWORD PTR 32[rsp], rbp
	lea	r14, 96[rsp]
	mov	QWORD PTR 24[rsp], r12
	mov	r12, r13
	lea	ebx, -1[rax]
	lea	rax, 104[rsp]
	mov	rbp, rbx
	mov	r13, rax
	mov	rbx, r15
	mov	r15, QWORD PTR 72[rsp]
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L64:
	cdq
	idiv	DWORD PTR 20[rsp]
	cdqe
	lea	rax, [rax+rax*2]
	mov	eax, DWORD PTR 156[rsp+rax*8]
	mov	DWORD PTR 104[rsp], eax
.L23:
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r15
	call	[QWORD PTR 24[r15]]
	test	eax, eax
	jne	.L52
	mov	rax, QWORD PTR 24[rbx]
	mov	rdx, QWORD PTR 96[rsp]
	mov	QWORD PTR [rax+r12*8], rdx
	lea	rax, 1[r12]
	add	QWORD PTR 16[rbx], 1
	cmp	rbp, r12
	je	.L63
	mov	r12, rax
.L26:
	mov	eax, r12d
	cmp	DWORD PTR 92[rsp], r12d
	jg	.L64
	cmp	DWORD PTR 20[rsp], 1
	je	.L65
	mov	DWORD PTR 104[rsp], 1
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L51:
	mov	r9d, eax
	mov	r15, r14
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L65:
	cmp	DWORD PTR 8[rsp], 134217728
	mov	eax, 1
	ja	.L25
	mov	rax, QWORD PTR 24[rsp]
	mov	eax, DWORD PTR 4[rax]
.L25:
	mov	DWORD PTR 104[rsp], eax
	jmp	.L23
.L5:
	mov	r9d, DWORD PTR ENOMEM[rip]
	neg	r9d
	jmp	.L1
.L63:
	mov	rbp, QWORD PTR 32[rsp]
	mov	r12, QWORD PTR 24[rsp]
	mov	r15, rbx
.L27:
	mov	rax, QWORD PTR 8[r15]
	lea	rsi, 128[rsp]
	mov	rdx, r15
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 132[rsp], 1
	mov	DWORD PTR 128[rsp], eax
	mov	eax, DWORD PTR MEMWR[rip]
	mov	DWORD PTR 136[rsp], eax
	call	[QWORD PTR 0[rbp]]
	mov	r9d, eax
	test	eax, eax
	jne	.L9
	mov	rdi, QWORD PTR [r15]
	mov	esi, DWORD PTR 8[rsp]
	mov	DWORD PTR 20[rsp], eax
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR [rax]]
	mov	rsi, r15
	mov	rdi, r12
	call	ct_map_audio_buffer@PLT
	mov	r9d, DWORD PTR 20[rsp]
	test	eax, eax
	jns	.L1
	mov	r9d, eax
	jmp	.L9
.L52:
	mov	r12, QWORD PTR 24[rsp]
	mov	r9d, eax
	mov	r15, rbx
	jmp	.L9
.L60:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atc_pcm_capture_get_resources, .-atc_pcm_capture_get_resources
	.comm	SUM,8,8
	.comm	SRCIMP,8,8
	.comm	SRC,8,8
	.comm	MEMWR,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ARCRW,4,4
	.comm	AMIXER,8,8
	.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_ctatc.c_atc_pcm_capture_get_resources.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atc_pcm_capture_get_resources, %function
atc_pcm_capture_get_resources:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r0
	mov	r3, #0
	mov	r5, r1
	ldr	lr, .L56
	ldr	r0, .L56+4
	ldr	r1, .L56+8
	ldr	r2, .L56+12
	ldr	ip, [r8, #8]
	ldr	r4, [r1]
	ldr	r7, [lr]
	ldr	r6, [r0]
	ldr	lr, [r2]
	sub	sp, sp, #132
	ldr	r6, [ip, r6, lsl #2]
	ldr	fp, [ip, r4, lsl #2]
	ldr	r7, [ip, r7, lsl #2]
	ldr	r9, .L56+16
	ldr	ip, [ip, lr, lsl #2]
	mov	r1, r3
	mov	r2, #48
	add	r0, sp, #76
	ldr	r9, [r9]
	str	r9, [sp, #124]
	mov	r9,#0
	str	ip, [sp, #12]
	str	r3, [sp, #60]
	str	r3, [sp, #36]
	str	r3, [sp, #44]
	str	r3, [sp, #52]
	str	r3, [sp, #64]
	str	r3, [sp, #68]
	str	r3, [sp, #72]
	str	r3, [sp, #40]
	str	r3, [sp, #48]
	str	r3, [sp, #56]
	str	r6, [sp, #16]
	bl	memset
	mov	r1, r5
	mov	r0, r8
	bl	atc_pcm_release_resources
	ldr	r3, [r5, #4]
	ldr	r2, [r8]
	ldr	r3, [r3]
	ldr	r0, [r8, #4]
	ldr	r1, [r3, #4]
	mul	r0, r2, r0
	ldr	r9, [r3]
	bl	atc_get_pitch
	add	r3, sp, #32
	add	r2, sp, #76
	mov	r4, r0
	mov	r1, r5
	mov	r0, r8
	bl	setup_src_node_conf
	cmp	r9, #1
	movgt	r3, #1
	movle	r3, #0
	moveq	r2, #2
	movne	r2, #0
	cmp	r4, #134217728
	movhi	r4, #0
	andls	r4, r3, #1
	cmp	r4, #0
	ldrne	r3, [r8, #4]
	ldr	r0, [sp, #32]
	mulne	r3, r9, r3
	str	r2, [sp, #8]
	add	r2, r2, r0
	str	r2, [sp]
	ldr	r4, .L56+20
	addne	r2, r2, r3
	strne	r2, [sp]
	addne	r3, r0, r3
	addeq	r3, r0, r9
	cmp	r0, #0
	ldr	r2, [r4]
	str	r3, [sp, #4]
	bne	.L48
.L4:
	ldr	r3, [sp]
	cmp	r3, #0
	bne	.L49
.L7:
	mov	r1, #4
	ldr	r0, [sp, #4]
	bl	kcalloc
	cmp	r0, #0
	str	r0, [r5, #12]
	beq	.L46
	mov	r3, #0
	mov	r2, #1
	ldr	r1, .L56+24
	ldr	r0, [sp, #32]
	ldr	r1, [r1]
	cmp	r0, r3
	movgt	r10, r3
	str	r1, [sp, #68]
	str	r2, [sp, #60]
	str	r3, [r5, #28]
	strgt	fp, [sp, #20]
	bgt	.L11
	b	.L14
.L51:
	ldr	r3, [r5, #32]
	ldr	fp, [r4, #-48]
	ldr	r6, [r3, r10, lsl #2]
	mov	r1, fp
	ldr	r3, [r6]
	mov	r0, r6
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [r6]
	mov	r0, fp
	ldr	fp, [r3, #8]
	bl	select_rom
	mov	r1, r0
	mov	r0, r6
	blx	fp
	ldr	r3, [r6]
	mov	r0, r6
	ldr	r3, [r3, #4]
	ldr	r1, [r4, #-36]
	blx	r3
	ldr	r3, [r5, #28]
	ldr	r2, [sp, #32]
	add	r10, r10, #1
	add	r3, r3, #1
	cmp	r2, r10
	str	r3, [r5, #28]
	ble	.L50
.L11:
	mov	r1, r9
	mov	r0, r10
	bl	__aeabi_idiv
	add	r3, sp, #128
	add	r0, r0, r0, lsl #1
	add	r4, r3, r0, lsl #3
	ldr	r3, [r4, #-52]
	ldr	r2, [r5, #32]
	str	r3, [sp, #64]
	mov	r0, r7
	ldr	r3, [r7]
	add	r2, r2, r10, lsl #2
	add	r1, sp, #60
	blx	r3
	cmp	r0, #0
	beq	.L51
.L44:
	mov	r6, r0
.L9:
	mov	r1, r5
	mov	r0, r8
	bl	atc_pcm_release_resources
.L1:
	ldr	r3, .L56+16
	ldr	r2, [r3]
	ldr	r3, [sp, #124]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L52
	mov	r0, r6
	add	sp, sp, #132
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L49:
	mov	r1, #4
	mov	r0, r3
	bl	kcalloc
	cmp	r0, #0
	str	r0, [r5, #24]
	beq	.L46
	ldr	r2, [r4]
	b	.L7
.L50:
	ldr	fp, [sp, #20]
.L14:
	mov	r4, #0
	ldr	r3, [sp]
	str	r4, [r5, #20]
	cmp	r3, r4
	ble	.L13
	ldr	r10, [sp, #8]
	ldr	r6, [sp]
	b	.L12
.L53:
	ldr	r3, [r8, #4]
	str	r3, [sp, #44]
.L17:
	ldr	r2, [r5, #24]
	mov	r0, fp
	ldr	r3, [fp, #4]
	add	r2, r2, r4, lsl #2
	add	r1, sp, #44
	blx	r3
	cmp	r0, #0
	bne	.L44
	ldr	r3, [r5, #20]
	add	r4, r4, #1
	add	r3, r3, #1
	cmp	r6, r4
	str	r3, [r5, #20]
	beq	.L13
.L12:
	cmp	r10, r4
	bgt	.L53
	ldr	r3, [sp, #32]
	add	r3, r10, r3
	cmp	r3, r4
	movle	r3, #1
	strle	r3, [sp, #44]
	ble	.L17
	mov	r1, r9
	sub	r0, r4, r10
	bl	__aeabi_idiv
	add	r3, sp, #128
	add	r0, r0, r0, lsl #1
	add	r0, r3, r0, lsl #3
	ldr	r3, [r0, #-44]
	str	r3, [sp, #44]
	b	.L17
.L48:
	mov	r1, #4
	bl	kcalloc
	cmp	r0, #0
	str	r0, [r5, #32]
	beq	.L5
	ldr	r2, [r4]
	b	.L4
.L46:
	ldr	r3, .L56+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L9
.L13:
	ldr	r3, [r8, #4]
	ldr	r0, [sp, #12]
	str	r3, [sp, #52]
	add	r1, sp, #52
	ldr	r3, [r0, #8]
	add	r2, r5, #16
	blx	r3
	subs	r6, r0, #0
	bne	.L9
	ldr	r2, [r5, #4]
	ldr	r3, [r8]
	ldr	r2, [r2]
	ldr	r0, [r8, #4]
	ldr	r1, [r2, #4]
	mul	r0, r3, r0
	bl	atc_get_pitch
	ldr	fp, [sp, #4]
	mov	r4, r0
	cmp	fp, #0
	str	r6, [r5, #8]
	ble	.L25
	str	r7, [sp]
	mov	r10, #1
	ldr	r7, [sp, #16]
	b	.L19
.L55:
	mov	r1, r9
	mov	r0, r6
	bl	__aeabi_idiv
	add	r3, sp, #128
	add	r0, r0, r0, lsl #1
	add	r0, r3, r0, lsl #3
	ldr	r3, [r0, #-40]
	str	r3, [sp, #36]
.L22:
	mov	r0, r7
	ldr	r3, [r7, #12]
	add	r2, sp, #28
	add	r1, sp, #36
	blx	r3
	cmp	r0, #0
	bne	.L44
	ldr	r1, [sp, #28]
	ldr	r2, [r5, #12]
	ldr	r3, [r5, #8]
	str	r1, [r2, r6, lsl #2]
	add	r6, r6, #1
	add	r3, r3, #1
	cmp	fp, r6
	str	r3, [r5, #8]
	beq	.L54
.L19:
	ldr	r3, [sp, #32]
	cmp	r3, r6
	bgt	.L55
	cmp	r9, #1
	strne	r10, [sp, #36]
	bne	.L22
	cmp	r4, #134217728
	movhi	r3, r9
	ldrls	r3, [r8, #4]
	str	r3, [sp, #36]
	b	.L22
.L5:
	ldr	r3, .L56+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L54:
	ldr	r7, [sp]
.L25:
	mov	r3, #1
	ldr	r1, [r5, #4]
	ldr	r2, .L56+32
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r0, [r1]
	str	r2, [sp, #68]
	str	r0, [sp, #60]
	str	r3, [sp, #64]
	mov	r0, r7
	mov	r2, r5
	ldr	r3, [r7]
	add	r1, sp, #60
	blx	r3
	subs	r6, r0, #0
	bne	.L9
	ldr	r0, [r5]
	mov	r1, r4
	ldr	r3, [r0]
	ldr	r3, [r3]
	blx	r3
	mov	r1, r5
	mov	r0, r8
	bl	ct_map_audio_buffer
	cmp	r0, #0
	bge	.L1
	b	.L44
.L52:
	bl	__stack_chk_fail
.L57:
	.align	2
.L56:
	.word	SRC
	.word	SRCIMP
	.word	AMIXER
	.word	SUM
	.word	.LC0
	.word	GFP_KERNEL
	.word	ARCRW
	.word	ENOMEM
	.word	MEMWR
	.size	atc_pcm_capture_get_resources, .-atc_pcm_capture_get_resources
	.comm	SUM,4,4
	.comm	SRCIMP,4,4
	.comm	SRC,4,4
	.comm	MEMWR,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ARCRW,4,4
	.comm	AMIXER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
