	.file	"extr_omap-hdmi.c_hdmi_dai_startup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not apply period constraint: %d\n"
	.align 8
.LC1:
	.string	"Could not apply buffer constraint: %d\n"
	.text
	.p2align 4
	.type	hdmi_dai_startup, @function
hdmi_dai_startup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	card_drvdata_substream@PLT
	mov	edx, DWORD PTR SNDRV_PCM_HW_PARAM_PERIOD_BYTES[rip]
	mov	edi, DWORD PTR [rbx]
	xor	esi, esi
	mov	ecx, 128
	mov	rbp, rax
	call	snd_pcm_hw_constraint_step@PLT
	test	eax, eax
	js	.L10
	mov	edx, DWORD PTR SNDRV_PCM_HW_PARAM_BUFFER_BYTES[rip]
	mov	edi, DWORD PTR [rbx]
	mov	ecx, 128
	xor	esi, esi
	call	snd_pcm_hw_constraint_step@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L11
	lea	rdx, 32[rbp]
	mov	rsi, rbx
	mov	rdi, r13
	call	snd_soc_dai_set_dma_data@PLT
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	QWORD PTR 8[rbp], rbx
	mov	rdi, rbp
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	edi, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR hdmi_dai_abort[rip]
	call	[QWORD PTR [rax]]
	mov	r12d, eax
	test	eax, eax
	jne	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	r12d, eax
	call	dev_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	QWORD PTR 8[rbp], 0
	mov	rdi, rbp
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hdmi_dai_startup, .-hdmi_dai_startup
	.comm	hdmi_dai_abort,4,4
	.comm	SNDRV_PCM_HW_PARAM_PERIOD_BYTES,4,4
	.comm	SNDRV_PCM_HW_PARAM_BUFFER_BYTES,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_omap-hdmi.c_hdmi_dai_startup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not apply period constraint: %d\012\000"
	.align	2
.LC1:
	.ascii	"Could not apply buffer constraint: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hdmi_dai_startup, %function
hdmi_dai_startup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r7, r1
	bl	card_drvdata_substream
	ldr	r3, .L13
	mov	r5, r0
	ldr	r2, [r3]
	mov	r1, #0
	mov	r3, #128
	ldr	r0, [r6]
	bl	snd_pcm_hw_constraint_step
	subs	r4, r0, #0
	blt	.L10
	ldr	r2, .L13+4
	mov	r3, #128
	mov	r1, #0
	ldr	r2, [r2]
	ldr	r0, [r6]
	bl	snd_pcm_hw_constraint_step
	subs	r4, r0, #0
	blt	.L11
	mov	r1, r6
	add	r2, r5, #16
	mov	r0, r7
	bl	snd_soc_dai_set_dma_data
	mov	r0, r5
	bl	mutex_lock
	mov	r0, r5
	str	r6, [r5, #4]
	bl	mutex_unlock
	ldr	r2, .L13+8
	ldr	r3, [r5, #12]
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r0, [r5, #8]
	blx	r3
	subs	r4, r0, #0
	bne	.L12
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r2, r4
	ldr	r0, [r7]
	ldr	r1, .L13+12
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r0, r5
	bl	mutex_lock
	mov	r3, #0
	mov	r0, r5
	str	r3, [r5, #4]
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r2, r4
	ldr	r0, [r7]
	ldr	r1, .L13+16
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	SNDRV_PCM_HW_PARAM_PERIOD_BYTES
	.word	SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.word	hdmi_dai_abort
	.word	.LC0
	.word	.LC1
	.size	hdmi_dai_startup, .-hdmi_dai_startup
	.comm	hdmi_dai_abort,4,4
	.comm	SNDRV_PCM_HW_PARAM_PERIOD_BYTES,4,4
	.comm	SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
