	.file	"extr_capture.c_snd_line6_capture_hw_params.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cannot malloc buffer_in\n"
	.text
	.p2align 4
	.type	snd_line6_capture_hw_params, @function
snd_line6_capture_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	snd_pcm_substream_chip@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L14
.L2:
	mov	rdi, r12
	call	params_buffer_bytes@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	snd_pcm_lib_malloc_pages@PLT
	test	eax, eax
	js	.L1
	mov	rdi, r12
	call	params_period_bytes@PLT
	mov	edi, DWORD PTR LINE6_ISO_BUFFERS[rip]
	imul	edi, DWORD PTR LINE6_ISO_PACKETS[rip]
	imul	edi, DWORD PTR LINE6_ISO_PACKET_SIZE_MAX[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	DWORD PTR 4[rbx], eax
	call	kmalloc@PLT
	mov	edx, eax
	mov	DWORD PTR [rbx], eax
	xor	eax, eax
	test	edx, edx
	je	.L15
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L12
	mov	QWORD PTR 8[rbp], rax
	mov	rdi, rbp
	call	snd_pcm_substream_chip@PLT
	mov	rbx, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbp
	call	s2m@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	dev_err@PLT
.L12:
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	snd_line6_capture_hw_params, .-snd_line6_capture_hw_params
	.comm	LINE6_ISO_PACKET_SIZE_MAX,4,4
	.comm	LINE6_ISO_PACKETS,4,4
	.comm	LINE6_ISO_BUFFERS,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_capture.c_snd_line6_capture_hw_params.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cannot malloc buffer_in\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_line6_capture_hw_params, %function
snd_line6_capture_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r6, r0
	bl	snd_pcm_substream_chip
	subs	r5, r0, #0
	beq	.L13
.L2:
	mov	r0, r4
	bl	params_buffer_bytes
	mov	r1, r0
	mov	r0, r6
	bl	snd_pcm_lib_malloc_pages
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
	mov	r0, r4
	bl	params_period_bytes
	ldr	r2, .L15
	ldr	r3, .L15+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L15+8
	mul	r3, r1, r3
	ldr	r1, [r2]
	ldr	r2, .L15+12
	str	r0, [r5, #4]
	mul	r0, r1, r3
	ldr	r1, [r2]
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r5]
	beq	.L14
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	mov	r0, r6
	str	r3, [r6, #4]
	bl	snd_pcm_substream_chip
	mov	r5, r0
	b	.L2
.L14:
	mov	r0, r6
	bl	s2m
	ldr	r1, .L15+16
	bl	dev_err
.L11:
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	LINE6_ISO_PACKETS
	.word	LINE6_ISO_BUFFERS
	.word	LINE6_ISO_PACKET_SIZE_MAX
	.word	GFP_KERNEL
	.word	.LC0
	.word	ENOMEM
	.size	snd_line6_capture_hw_params, .-snd_line6_capture_hw_params
	.comm	LINE6_ISO_PACKET_SIZE_MAX,4,4
	.comm	LINE6_ISO_PACKETS,4,4
	.comm	LINE6_ISO_BUFFERS,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
