	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pt2258_build_controls      ## -- Begin function snd_pt2258_build_controls
	.p2align	4, 0x90
_snd_pt2258_build_controls:             ## @snd_pt2258_build_controls
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	leaq	L_.str(%rip), %rax
	movq	%rax, -88(%rbp)
	movq	_SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_SNDRV_CTL_ELEM_ACCESS_READWRITE@GOTPCREL(%rip), %rcx
	movq	_SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movl	$1, -80(%rbp)
	movl	%eax, -76(%rbp)
	movl	$0, -72(%rbp)
	movq	_pt2258_stereo_volume_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_pt2258_stereo_volume_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_pt2258_stereo_volume_put@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, -68(%rbp)
	movq	_pt2258_db_scale@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)
	movl	(%r15), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -88(%rbp)
	movq	_SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SNDRV_CTL_ELEM_ACCESS_READWRITE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	$1, -80(%rbp)
	movl	%eax, -76(%rbp)
	movl	$2, -72(%rbp)
	movq	_pt2258_stereo_volume_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_pt2258_stereo_volume_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	(%r13), %eax
	movl	%eax, -68(%rbp)
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)
	movl	(%r15), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -88(%rbp)
	movq	_SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SNDRV_CTL_ELEM_ACCESS_READWRITE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	$1, -80(%rbp)
	movl	%eax, -76(%rbp)
	movl	$4, -72(%rbp)
	movq	_pt2258_stereo_volume_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_pt2258_stereo_volume_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	(%r13), %eax
	movl	%eax, -68(%rbp)
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)
	movl	(%r15), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -88(%rbp)
	movq	_SNDRV_CTL_ELEM_IFACE_MIXER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_pt2258_switch_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_pt2258_switch_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_pt2258_switch_put@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	$0, -76(%rbp)
	movl	(%r15), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_snd_ctl_add
	movl	%eax, %ecx
	sarl	$31, %eax
	andl	%ecx, %eax
LBB0_4:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mic Loopback Playback Volume"

L_.str.1:                               ## @.str.1
	.asciz	"Line Loopback Playback Volume"

L_.str.2:                               ## @.str.2
	.asciz	"CD Loopback Playback Volume"

	.comm	_SNDRV_CTL_ELEM_IFACE_MIXER,8,3 ## @SNDRV_CTL_ELEM_IFACE_MIXER
	.comm	_SNDRV_CTL_ELEM_ACCESS_READWRITE,4,2 ## @SNDRV_CTL_ELEM_ACCESS_READWRITE
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,2 ## @SNDRV_CTL_ELEM_ACCESS_TLV_READ
	.comm	_pt2258_stereo_volume_info,4,2  ## @pt2258_stereo_volume_info
	.comm	_pt2258_stereo_volume_get,4,2   ## @pt2258_stereo_volume_get
	.comm	_pt2258_stereo_volume_put,4,2   ## @pt2258_stereo_volume_put
	.comm	_pt2258_db_scale,4,2            ## @pt2258_db_scale
L_.str.3:                               ## @.str.3
	.asciz	"Loopback Switch"

	.comm	_pt2258_switch_info,4,2         ## @pt2258_switch_info
	.comm	_pt2258_switch_get,4,2          ## @pt2258_switch_get
	.comm	_pt2258_switch_put,4,2          ## @pt2258_switch_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pt2258_build_controls      ; -- Begin function snd_pt2258_build_controls
	.p2align	2
_snd_pt2258_build_controls:             ; @snd_pt2258_build_controls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp]
Lloh2:
	adrp	x21, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SNDRV_CTL_ELEM_IFACE_MIXER@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [sp, #32]
	mov	w28, #1
Lloh4:
	adrp	x22, _SNDRV_CTL_ELEM_ACCESS_READWRITE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _SNDRV_CTL_ELEM_ACCESS_READWRITE@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh6:
	adrp	x23, _SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
	stp	w28, w8, [sp, #8]
Lloh8:
	adrp	x24, _pt2258_stereo_volume_info@GOTPAGE
Lloh9:
	ldr	x24, [x24, _pt2258_stereo_volume_info@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh10:
	adrp	x25, _pt2258_stereo_volume_get@GOTPAGE
Lloh11:
	ldr	x25, [x25, _pt2258_stereo_volume_get@GOTPAGEOFF]
	ldr	w9, [x25]
	stp	w9, w8, [sp, #24]
Lloh12:
	adrp	x26, _pt2258_stereo_volume_put@GOTPAGE
Lloh13:
	ldr	x26, [x26, _pt2258_stereo_volume_put@GOTPAGEOFF]
	ldr	w8, [x26]
	stp	wzr, w8, [sp, #16]
Lloh14:
	adrp	x27, _pt2258_db_scale@GOTPAGE
Lloh15:
	ldr	x27, [x27, _pt2258_db_scale@GOTPAGEOFF]
	ldr	w8, [x27]
	str	w8, [sp, #40]
	ldr	w20, [x19]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh16:
	adrp	x8, l_.str.1@PAGE
Lloh17:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp]
	ldr	x8, [x21]
	str	x8, [sp, #32]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	stp	w28, w8, [sp, #8]
	mov	w8, #2
	ldr	w9, [x24]
	ldr	w10, [x25]
	stp	w10, w9, [sp, #24]
	ldr	w9, [x26]
	stp	w8, w9, [sp, #16]
	ldr	w8, [x27]
	str	w8, [sp, #40]
	ldr	w20, [x19]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh18:
	adrp	x8, l_.str.2@PAGE
Lloh19:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp]
	ldr	x8, [x21]
	str	x8, [sp, #32]
	mov	w8, #1
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w9, w10, w9
	stp	w8, w9, [sp, #8]
	mov	w8, #4
	ldr	w9, [x24]
	ldr	w10, [x25]
	stp	w10, w9, [sp, #24]
	ldr	w9, [x26]
	stp	w8, w9, [sp, #16]
	ldr	w8, [x27]
	str	w8, [sp, #40]
	ldr	w20, [x19]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh20:
	adrp	x8, l_.str.3@PAGE
Lloh21:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp]
	ldr	x8, [x21]
	str	x8, [sp, #32]
Lloh22:
	adrp	x8, _pt2258_switch_info@GOTPAGE
Lloh23:
	ldr	x8, [x8, _pt2258_switch_info@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _pt2258_switch_get@GOTPAGE
Lloh26:
	ldr	x9, [x9, _pt2258_switch_get@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
Lloh28:
	adrp	x8, _pt2258_switch_put@GOTPAGE
Lloh29:
	ldr	x8, [x8, _pt2258_switch_put@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	str	wzr, [sp, #12]
	ldr	w20, [x19]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mic Loopback Playback Volume"

l_.str.1:                               ; @.str.1
	.asciz	"Line Loopback Playback Volume"

l_.str.2:                               ; @.str.2
	.asciz	"CD Loopback Playback Volume"

	.comm	_SNDRV_CTL_ELEM_IFACE_MIXER,8,3 ; @SNDRV_CTL_ELEM_IFACE_MIXER
	.comm	_SNDRV_CTL_ELEM_ACCESS_READWRITE,4,2 ; @SNDRV_CTL_ELEM_ACCESS_READWRITE
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,2 ; @SNDRV_CTL_ELEM_ACCESS_TLV_READ
	.comm	_pt2258_stereo_volume_info,4,2  ; @pt2258_stereo_volume_info
	.comm	_pt2258_stereo_volume_get,4,2   ; @pt2258_stereo_volume_get
	.comm	_pt2258_stereo_volume_put,4,2   ; @pt2258_stereo_volume_put
	.comm	_pt2258_db_scale,4,2            ; @pt2258_db_scale
l_.str.3:                               ; @.str.3
	.asciz	"Loopback Switch"

	.comm	_pt2258_switch_info,4,2         ; @pt2258_switch_info
	.comm	_pt2258_switch_get,4,2          ; @pt2258_switch_get
	.comm	_pt2258_switch_put,4,2          ; @pt2258_switch_put
.subsections_via_symbols
