	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ct_mixer_kcontrol_new
_ct_mixer_kcontrol_new:                 ## @ct_mixer_kcontrol_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	%r14, %rdi
	callq	_snd_ctl_new1
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_SNDRV_CTL_ELEM_IFACE_PCM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.3:
	movq	_IEC958@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
LBB0_4:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movl	(%r14), %ecx
	xorl	%eax, %eax
	cmpl	$128, %ecx
	je	LBB0_8
## %bb.6:
	cmpl	$129, %ecx
	jne	LBB0_9
## %bb.7:
	movq	_kctls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, (%rcx)
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_kctls@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, 8(%rcx)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SNDRV_CTL_ELEM_IFACE_PCM,8,3   ## @SNDRV_CTL_ELEM_IFACE_PCM
	.comm	_IEC958,4,2                     ## @IEC958
	.comm	_kctls,8,3                      ## @kctls
	.no_dead_strip	_ct_mixer_kcontrol_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ct_mixer_kcontrol_new
_ct_mixer_kcontrol_new:                 ; @ct_mixer_kcontrol_new
	.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	x20, x1
	mov	x21, x0
	ldr	x1, [x0]
	mov	x0, x20
	bl	_snd_ctl_new1
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _SNDRV_CTL_ELEM_IFACE_PCM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_IFACE_PCM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _IEC958@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEC958@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_3:
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_snd_ctl_add
	cbnz	w0, LBB0_8
; %bb.4:
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.6:
	mov	w0, #0
Lloh6:
	adrp	x8, _kctls@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kctls@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x19, [x8]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
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
LBB0_9:
	mov	w0, #0
Lloh12:
	adrp	x8, _kctls@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kctls@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x19, [x8, #8]
	b	LBB0_8
LBB0_10:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SNDRV_CTL_ELEM_IFACE_PCM,8,3   ; @SNDRV_CTL_ELEM_IFACE_PCM
	.comm	_IEC958,4,2                     ; @IEC958
	.comm	_kctls,8,3                      ; @kctls
	.no_dead_strip	_ct_mixer_kcontrol_new
.subsections_via_symbols
