	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_bind_cap_vol_ctl
_create_bind_cap_vol_ctl:               ## @create_bind_cap_vol_ctl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%esi, %r14d
	movq	(%rdi), %r12
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movl	%edx, %ebx
	movq	_cap_vol_temp@GOTPCREL(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_snd_hda_gen_add_kctl
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	%r14d, (%rax)
	movl	%ebx, 4(%rax)
	movq	_HDA_SUBDEV_AMP_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
LBB0_3:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.4:
	movq	_cap_sw_temp@GOTPCREL(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_snd_hda_gen_add_kctl
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	%r14d, (%rax)
	movl	%r15d, 4(%rax)
	movq	_HDA_SUBDEV_AMP_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	jmp	LBB0_10
LBB0_6:
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_9:
	subl	(%rax), %r13d
LBB0_10:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cap_vol_temp,4,2               ## @cap_vol_temp
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HDA_SUBDEV_AMP_FLAG,8,3        ## @HDA_SUBDEV_AMP_FLAG
	.comm	_cap_sw_temp,4,2                ## @cap_sw_temp
	.no_dead_strip	_create_bind_cap_vol_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_bind_cap_vol_ctl
_create_bind_cap_vol_ctl:               ; @create_bind_cap_vol_ctl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x1
	ldr	x21, [x0]
	cbz	w2, LBB0_3
; %bb.1:
	mov	x22, x2
Lloh0:
	adrp	x2, _cap_vol_temp@GOTPAGE
Lloh1:
	ldr	x2, [x2, _cap_vol_temp@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, #0
	bl	_snd_hda_gen_add_kctl
	cbz	x0, LBB0_6
; %bb.2:
	stp	w20, w22, [x0]
Lloh2:
	adrp	x8, _HDA_SUBDEV_AMP_FLAG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HDA_SUBDEV_AMP_FLAG@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x0, #8]
LBB0_3:
	cbz	w19, LBB0_7
; %bb.4:
Lloh5:
	adrp	x2, _cap_sw_temp@GOTPAGE
Lloh6:
	ldr	x2, [x2, _cap_sw_temp@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, #0
	bl	_snd_hda_gen_add_kctl
	cbz	x0, LBB0_6
; %bb.5:
	mov	x8, x0
	mov	w0, #0
	stp	w20, w19, [x8]
Lloh7:
	adrp	x9, _HDA_SUBDEV_AMP_FLAG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HDA_SUBDEV_AMP_FLAG@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	str	x9, [x8, #8]
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_cap_vol_temp,4,2               ; @cap_vol_temp
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HDA_SUBDEV_AMP_FLAG,8,3        ; @HDA_SUBDEV_AMP_FLAG
	.comm	_cap_sw_temp,4,2                ; @cap_sw_temp
	.no_dead_strip	_create_bind_cap_vol_ctl
.subsections_via_symbols
