	.file	"extr_vmaster.c_snd_ctl_make_virtual_master.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_ctl_make_virtual_master
	.type	snd_ctl_make_virtual_master, @function
snd_ctl_make_virtual_master:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, 24
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	call	memset@PLT
	mov	eax, DWORD PTR SNDRV_CTL_ELEM_IFACE_MIXER[rip]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 8
	mov	QWORD PTR [rsp], r12
	mov	DWORD PTR 16[rsp], eax
	mov	rax, QWORD PTR master_info[rip]
	mov	QWORD PTR 8[rsp], rax
	call	kzalloc@PLT
	test	rax, rax
	je	.L6
	mov	r14, rax
	lea	rdi, 4[rax]
	call	INIT_LIST_HEAD@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	snd_ctl_new1@PLT
	mov	r12, rax
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR master_info[rip]
	mov	QWORD PTR 32[r12], rax
	mov	eax, DWORD PTR master_get[rip]
	mov	DWORD PTR 24[r12], eax
	mov	eax, DWORD PTR master_put[rip]
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR master_free[rip]
	mov	DWORD PTR 16[r12], eax
	test	r13, r13
	je	.L1
	mov	rax, QWORD PTR SNDRV_CTL_TLVO_TYPE[rip]
	mov	eax, DWORD PTR 0[r13+rax*4]
	cmp	DWORD PTR SNDRV_CTL_TLVT_DB_SCALE[rip], eax
	je	.L4
	cmp	DWORD PTR SNDRV_CTL_TLVT_DB_MINMAX[rip], eax
	je	.L4
	cmp	DWORD PTR SNDRV_CTL_TLVT_DB_MINMAX_MUTE[rip], eax
	je	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	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
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[r12]
	mov	edx, DWORD PTR SNDRV_CTL_ELEM_ACCESS_TLV_READ[rip]
	mov	rsi, r13
	mov	edi, DWORD PTR [r14]
	or	DWORD PTR [rax], edx
	mov	edx, 4
	call	memcpy@PLT
	mov	eax, DWORD PTR [r14]
	mov	DWORD PTR [r12], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r14
	call	kfree@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	snd_ctl_make_virtual_master, .-snd_ctl_make_virtual_master
	.comm	master_put,4,4
	.comm	master_info,8,8
	.comm	master_get,4,4
	.comm	master_free,4,4
	.comm	SNDRV_CTL_TLVT_DB_SCALE,4,4
	.comm	SNDRV_CTL_TLVT_DB_MINMAX_MUTE,4,4
	.comm	SNDRV_CTL_TLVT_DB_MINMAX,4,4
	.comm	SNDRV_CTL_TLVO_TYPE,8,8
	.comm	SNDRV_CTL_ELEM_IFACE_MIXER,4,4
	.comm	SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,4
	.comm	GFP_KERNEL,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_vmaster.c_snd_ctl_make_virtual_master.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	snd_ctl_make_virtual_master
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_ctl_make_virtual_master, %function
snd_ctl_make_virtual_master:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L14
	ldr	r7, .L14+4
	mov	r6, r1
	ldr	r1, .L14+8
	sub	sp, sp, #20
	ldr	r2, [r3]
	ldr	ip, .L14+12
	ldr	r3, [r7]
	str	r0, [sp]
	ldr	r1, [r1]
	mov	r0, #8
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	bl	kzalloc
	subs	r5, r0, #0
	moveq	r4, r5
	beq	.L1
	add	r0, r5, #4
	bl	INIT_LIST_HEAD
	mov	r1, r5
	mov	r0, sp
	bl	snd_ctl_new1
	subs	r4, r0, #0
	beq	.L12
	ldr	r1, .L14+16
	ldr	r2, .L14+20
	ldr	r3, .L14+24
	ldr	r0, [r7]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r6, #0
	str	r0, [r4, #20]
	str	r1, [r4, #16]
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	beq	.L1
	ldr	r3, .L14+28
	ldr	r2, .L14+32
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r3, [r6, r3, lsl #2]
	cmp	r2, r3
	beq	.L4
	ldr	r2, .L14+36
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L4
	ldr	r2, .L14+40
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L4
.L1:
	ldr	r3, .L14+12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	ldr	r2, [r4, #4]
	ldr	r1, .L14+44
	ldr	r3, [r2]
	ldr	r0, [r1]
	mov	r1, r6
	orr	r3, r3, r0
	str	r3, [r2]
	ldr	r0, [r5]
	mov	r2, #4
	bl	memcpy
	ldr	r3, [r5]
	str	r3, [r4]
	b	.L1
.L12:
	mov	r0, r5
	bl	kfree
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	SNDRV_CTL_ELEM_IFACE_MIXER
	.word	master_info
	.word	GFP_KERNEL
	.word	.LC0
	.word	master_get
	.word	master_put
	.word	master_free
	.word	SNDRV_CTL_TLVO_TYPE
	.word	SNDRV_CTL_TLVT_DB_SCALE
	.word	SNDRV_CTL_TLVT_DB_MINMAX
	.word	SNDRV_CTL_TLVT_DB_MINMAX_MUTE
	.word	SNDRV_CTL_ELEM_ACCESS_TLV_READ
	.size	snd_ctl_make_virtual_master, .-snd_ctl_make_virtual_master
	.comm	master_put,4,4
	.comm	master_info,4,4
	.comm	master_get,4,4
	.comm	master_free,4,4
	.comm	SNDRV_CTL_TLVT_DB_SCALE,4,4
	.comm	SNDRV_CTL_TLVT_DB_MINMAX_MUTE,4,4
	.comm	SNDRV_CTL_TLVT_DB_MINMAX,4,4
	.comm	SNDRV_CTL_TLVO_TYPE,4,4
	.comm	SNDRV_CTL_ELEM_IFACE_MIXER,4,4
	.comm	SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
