	.file	"extr_patch_hdmi.c_patch_simple_hdmi.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	patch_simple_hdmi, @function
patch_simple_hdmi:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, 56
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	kzalloc@PLT
	test	rax, rax
	je	.L8
	mov	QWORD PTR 48[rax], rbp
	mov	esi, 1
	mov	rdi, rax
	mov	rbx, rax
	mov	QWORD PTR 8[rbp], rax
	call	hdmi_array_init@PLT
	mov	DWORD PTR 24[rbx], 2
	lea	rdi, 16[rbx]
	movabs	rax, 4294967297
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], r12
	mov	QWORD PTR [rbx], rax
	call	snd_array_new@PLT
	lea	rdi, 12[rbx]
	mov	r14, rax
	call	snd_array_new@PLT
	test	r14, r14
	je	.L6
	test	rax, rax
	je	.L6
	mov	QWORD PTR [rax], r12
	mov	eax, DWORD PTR simple_pcm_playback[rip]
	mov	QWORD PTR [r14], r13
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR simple_hdmi_patch_ops[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	DWORD PTR 0[rbp], eax
	pop	rbp
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	simple_playback_free@PLT
.L8:
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	patch_simple_hdmi, .-patch_simple_hdmi
	.comm	simple_pcm_playback,4,4
	.comm	simple_hdmi_patch_ops,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_patch_hdmi.c_patch_simple_hdmi.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	patch_simple_hdmi, %function
patch_simple_hdmi:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r1
	mov	r0, #36
	ldr	r1, [r3]
	mov	r7, r2
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L6
	mov	r1, #1
	str	r5, [r4, #32]
	str	r4, [r5, #4]
	bl	hdmi_array_init
	mov	r3, #1
	mov	r2, #2
	mov	r1, #0
	str	r2, [r4, #20]
	str	r3, [r4]
	str	r3, [r4, #4]
	str	r1, [r4, #28]
	str	r6, [r4, #24]
	add	r0, r4, #16
	bl	snd_array_new
	mov	r8, r0
	add	r0, r4, #12
	bl	snd_array_new
	clz	r3, r0
	cmp	r8, #0
	lsr	r3, r3, #5
	moveq	r3, #1
	cmp	r3, #0
	mov	r2, r0
	bne	.L8
	mov	r0, r3
	ldr	r1, .L9+4
	ldr	r3, .L9+8
	ldr	r1, [r1]
	ldr	r3, [r3]
	str	r6, [r2]
	str	r7, [r8]
	str	r1, [r4, #8]
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r5
	bl	simple_playback_free
.L6:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	simple_pcm_playback
	.word	simple_hdmi_patch_ops
	.word	ENOMEM
	.size	patch_simple_hdmi, .-patch_simple_hdmi
	.comm	simple_pcm_playback,4,4
	.comm	simple_hdmi_patch_ops,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
