	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_cvol_new
_em28xx_cvol_new:                       ## @em28xx_cvol_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-144(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	movl	%ebx, -144(%rbp)
	leaq	-96(%rbp), %r14
	movq	%r14, -136(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	movq	%r13, %rdx
	callq	_sprintf
	movq	_em28xx_vol_get_mute@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	movq	_em28xx_vol_put_mute@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	_snd_ctl_boolean_mono_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	leaq	-144(%rbp), %rdi
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r15, -168(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movl	-100(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %edx
	callq	_dprintk
	leaq	-144(%rbp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movl	%r15d, -144(%rbp)
	movq	%r14, -136(%rbp)
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	callq	_sprintf
	movq	_em28xx_vol_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	movq	_em28xx_vol_put@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	_em28xx_vol_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	movq	_em28xx_db_scale@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movq	%r12, %rdi
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	callq	_snd_ctl_new1
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	leaq	-96(%rbp), %rsi
	movl	%r15d, %edx
	callq	_dprintk
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %ebx
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_IFACE_MIXER,8,3 ## @SNDRV_CTL_ELEM_IFACE_MIXER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s Switch"

	.comm	_em28xx_vol_get_mute,4,2        ## @em28xx_vol_get_mute
	.comm	_em28xx_vol_put_mute,4,2        ## @em28xx_vol_put_mute
	.comm	_snd_ctl_boolean_mono_info,4,2  ## @snd_ctl_boolean_mono_info
L_.str.1:                               ## @.str.1
	.asciz	"Added control %s for ac97 volume control 0x%04x\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s Volume"

	.comm	_em28xx_vol_get,4,2             ## @em28xx_vol_get
	.comm	_em28xx_vol_put,4,2             ## @em28xx_vol_put
	.comm	_em28xx_vol_info,4,2            ## @em28xx_vol_info
	.comm	_em28xx_db_scale,4,2            ## @em28xx_db_scale
	.no_dead_strip	_em28xx_cvol_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_cvol_new
_em28xx_cvol_new:                       ; @em28xx_cvol_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh3:
	adrp	x23, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGEOFF]
	ldr	x8, [x23]
	str	w19, [sp]
	add	x24, sp, #44
	str	x8, [sp, #32]
	str	x24, [sp, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #44
	mov	x2, x22
	bl	_sprintf
Lloh7:
	adrp	x8, _em28xx_vol_get_mute@GOTPAGE
Lloh8:
	ldr	x8, [x8, _em28xx_vol_get_mute@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh10:
	adrp	x8, _em28xx_vol_put_mute@GOTPAGE
Lloh11:
	ldr	x8, [x8, _em28xx_vol_put_mute@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _snd_ctl_boolean_mono_info@GOTPAGE
Lloh14:
	ldr	x9, [x9, _snd_ctl_boolean_mono_info@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #20]
	mov	x0, sp
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #44
	mov	x2, x19
	bl	_dprintk
	mov	x0, sp
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	x8, [x23]
	str	w19, [sp]
	str	x8, [sp, #32]
	str	x24, [sp, #8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #44
	mov	x2, x22
	bl	_sprintf
Lloh20:
	adrp	x8, _em28xx_vol_get@GOTPAGE
Lloh21:
	ldr	x8, [x8, _em28xx_vol_get@GOTPAGEOFF]
Lloh22:
	adrp	x9, _em28xx_vol_put@GOTPAGE
Lloh23:
	ldr	x9, [x9, _em28xx_vol_put@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
Lloh26:
	adrp	x8, _em28xx_vol_info@GOTPAGE
Lloh27:
	ldr	x8, [x8, _em28xx_vol_info@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _em28xx_db_scale@GOTPAGE
Lloh30:
	ldr	x9, [x9, _em28xx_db_scale@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
	mov	x0, sp
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.2:
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #44
	mov	x2, x19
	bl	_dprintk
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_IFACE_MIXER,8,3 ; @SNDRV_CTL_ELEM_IFACE_MIXER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s Switch"

	.comm	_em28xx_vol_get_mute,4,2        ; @em28xx_vol_get_mute
	.comm	_em28xx_vol_put_mute,4,2        ; @em28xx_vol_put_mute
	.comm	_snd_ctl_boolean_mono_info,4,2  ; @snd_ctl_boolean_mono_info
l_.str.1:                               ; @.str.1
	.asciz	"Added control %s for ac97 volume control 0x%04x\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s Volume"

	.comm	_em28xx_vol_get,4,2             ; @em28xx_vol_get
	.comm	_em28xx_vol_put,4,2             ; @em28xx_vol_put
	.comm	_em28xx_vol_info,4,2            ; @em28xx_vol_info
	.comm	_em28xx_db_scale,4,2            ; @em28xx_db_scale
	.no_dead_strip	_em28xx_cvol_new
.subsections_via_symbols
