	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hdspm_create_controls
_snd_hdspm_create_controls:             ## @snd_hdspm_create_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	je	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_HDSPM_AES_SYNC_CHECK
	movq	%rdx, -48(%rbp)
	movq	_snd_hdspm_controls_aes32@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jb	LBB0_5
LBB0_7:
	movl	$1, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.8:
	movl	$2, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.9:
	movl	$3, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.10:
	movl	$4, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.11:
	movl	$5, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.12:
	movl	$6, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.13:
	movl	$7, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.14:
	movl	$8, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	jns	LBB0_15
	jmp	LBB0_22
LBB0_1:
	movq	_snd_hdspm_controls_madi@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jb	LBB0_21
LBB0_15:
	leaq	L_.str.1(%rip), %rax
	movq	_snd_hdspm_playback_mixer@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
	movq	_HDSPM_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testq	%r13, %r13
	je	LBB0_19
## %bb.16:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%r15), %r14
	movq	_snd_hdspm_playback_mixer@GOTPCREL(%rip), %rdi
	movl	%r14d, (%rdi)
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r12), %rax
	movq	%rbx, (%rax,%r15,8)
	movq	%r14, %r15
	cmpq	%r14, %r13
	jne	LBB0_17
LBB0_19:
	xorl	%eax, %eax
LBB0_22:
	addq	$24, %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	"AES Lock Status"

	.comm	_snd_hdspm_controls_aes32,8,3   ## @snd_hdspm_controls_aes32
	.comm	_snd_hdspm_controls_madi,8,3    ## @snd_hdspm_controls_madi
L_.str.1:                               ## @.str.1
	.asciz	"Chn"

	.comm	_snd_hdspm_playback_mixer,16,3  ## @snd_hdspm_playback_mixer
	.comm	_HDSPM_MAX_CHANNELS,4,2         ## @HDSPM_MAX_CHANNELS
	.no_dead_strip	_snd_hdspm_create_controls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_hdspm_create_controls
_snd_hdspm_create_controls:             ; @snd_hdspm_create_controls
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_13
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_HDSPM_AES_SYNC_CHECK
	stp	x0, x1, [sp]
Lloh2:
	adrp	x21, _snd_hdspm_controls_aes32@GOTPAGE
Lloh3:
	ldr	x21, [x21, _snd_hdspm_controls_aes32@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_5
; %bb.2:
	mov	x22, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #16
	cmp	x23, w0, uxtw
	b.lo	LBB0_3
LBB0_5:
	mov	w8, #1
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.6:
	mov	w8, #2
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.7:
	mov	w8, #3
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.8:
	mov	w8, #4
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.9:
	mov	w8, #5
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.10:
	mov	w8, #6
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.11:
	mov	w8, #7
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.12:
	mov	w8, #8
	str	w8, [sp]
	mov	x0, sp
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbz	w0, #31, LBB0_17
	b	LBB0_22
LBB0_13:
Lloh4:
	adrp	x21, _snd_hdspm_controls_madi@GOTPAGE
Lloh5:
	ldr	x21, [x21, _snd_hdspm_controls_madi@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_17
; %bb.14:
	mov	x22, #0
	mov	x23, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #16
	cmp	x23, w0, uxtw
	b.lo	LBB0_15
LBB0_17:
Lloh6:
	adrp	x21, _snd_hdspm_playback_mixer@GOTPAGE
Lloh7:
	ldr	x21, [x21, _snd_hdspm_playback_mixer@GOTPAGEOFF]
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x21, #8]
Lloh10:
	adrp	x8, _HDSPM_MAX_CHANNELS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDSPM_MAX_CHANNELS@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
	cbz	w23, LBB0_21
; %bb.18:
	mov	x24, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x25, x24, #1
	str	w25, [x21]
	mov	x0, x21
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19]
	str	x22, [x8, x24, lsl #3]
	mov	x24, x25
	cmp	x23, x25
	b.ne	LBB0_19
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AES Lock Status"

	.comm	_snd_hdspm_controls_aes32,8,3   ; @snd_hdspm_controls_aes32
	.comm	_snd_hdspm_controls_madi,8,3    ; @snd_hdspm_controls_madi
l_.str.1:                               ; @.str.1
	.asciz	"Chn"

	.comm	_snd_hdspm_playback_mixer,16,3  ; @snd_hdspm_playback_mixer
	.comm	_HDSPM_MAX_CHANNELS,4,2         ; @HDSPM_MAX_CHANNELS
	.no_dead_strip	_snd_hdspm_create_controls
.subsections_via_symbols
