	.file	"extr_spdif.c_spdif_input_port_format_commit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%4.4s, %iHz, %ichan, %ibps"
	.text
	.p2align 4
	.type	spdif_input_port_format_commit, @function
spdif_input_port_format_commit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rsi, QWORD PTR [rdi]
	mov	rbx, rdi
	mov	rax, QWORD PTR [rsi]
	cmp	rax, QWORD PTR MMAL_ENCODING_AC3[rip]
	je	.L2
	cmp	rax, QWORD PTR MMAL_ENCODING_EAC3[rip]
	je	.L2
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR MMAL_ENXIO[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, QWORD PTR 16[rbx]
	mov	r8d, DWORD PTR 16[rsi]
	lea	rdi, .LC0[rip]
	mov	rax, QWORD PTR [r12]
	mov	rbp, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rsi]
	mov	ecx, DWORD PTR 8[rax]
	mov	rdx, QWORD PTR [rax]
	call	LOG_INFO@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rbx]
	call	mmal_format_compare@PLT
	test	eax, eax
	je	.L13
	mov	rdi, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR MMAL_ENCODING_PCM_SIGNED[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L15
	mov	r8d, DWORD PTR 8[rbp]
	test	r8d, r8d
	je	.L16
.L9:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spdif_send_event_format_changed@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rsi, rdx
	call	mmal_format_copy@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
.L10:
	mov	QWORD PTR [rcx], rax
.L13:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR MMAL_SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rdx]
	mov	rcx, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR [rcx]
	je	.L13
	mov	esi, DWORD PTR 8[rbp]
	test	esi, esi
	je	.L10
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	spdif_input_port_format_commit, .-spdif_input_port_format_commit
	.comm	MMAL_SUCCESS,4,4
	.comm	MMAL_ENXIO,4,4
	.comm	MMAL_ENCODING_PCM_SIGNED,8,8
	.comm	MMAL_ENCODING_EAC3,8,8
	.comm	MMAL_ENCODING_AC3,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_spdif.c_spdif_input_port_format_commit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%4.4s, %iHz, %ichan, %ibps\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spdif_input_port_format_commit, %function
spdif_input_port_format_commit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L19
	ldr	r1, [r0]
	ldr	r2, [r3]
	ldr	r3, [r1]
	mov	r4, r0
	cmp	r3, r2
	sub	sp, sp, #8
	beq	.L2
	ldr	r2, .L19+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r3, .L19+8
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r6, [r4, #8]
	ldr	r2, [r1, #4]
	ldr	ip, [r6]
	ldr	r0, [r1, #8]
	ldr	r5, [ip]
	ldm	r2, {r2, r3}
	str	r0, [sp]
	ldr	r0, .L19+12
	bl	LOG_INFO
	ldr	r1, [r5]
	ldr	r0, [r4]
	bl	mmal_format_compare
	cmp	r0, #0
	beq	.L6
	ldr	r0, [r5]
	ldr	r3, .L19+16
	ldr	r1, [r0]
	ldr	r3, [r3]
	ldr	r2, [r4]
	cmp	r1, r3
	beq	.L17
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L18
.L9:
	mov	r1, r5
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	spdif_send_event_format_changed
.L6:
	ldr	r3, .L19+20
	ldr	r0, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L18:
	mov	r1, r2
	bl	mmal_format_copy
	ldr	r3, [r4]
	ldr	r2, [r5]
	ldr	r3, [r3, #4]
	ldr	r1, [r2, #4]
	ldr	r3, [r3]
.L10:
	ldr	r2, .L19+20
	str	r3, [r1]
	ldr	r0, [r2]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r1, [r0, #4]
	ldr	r3, [r2, #4]
	ldr	r0, [r1]
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L10
	b	.L9
.L20:
	.align	2
.L19:
	.word	MMAL_ENCODING_AC3
	.word	MMAL_ENCODING_EAC3
	.word	MMAL_ENXIO
	.word	.LC0
	.word	MMAL_ENCODING_PCM_SIGNED
	.word	MMAL_SUCCESS
	.size	spdif_input_port_format_commit, .-spdif_input_port_format_commit
	.comm	MMAL_SUCCESS,4,4
	.comm	MMAL_ENXIO,4,4
	.comm	MMAL_ENCODING_PCM_SIGNED,4,4
	.comm	MMAL_ENCODING_EAC3,4,4
	.comm	MMAL_ENCODING_AC3,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
