	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_hdsp_create_controls
_snd_hdsp_create_controls:              ## @snd_hdsp_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
	pushq	%rax
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	_snd_hdsp_controls@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %r13
	cmpq	%rax, %r14
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_21
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$1, %r14
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, 8(%r12)
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str(%rip), %rax
	movq	_snd_hdsp_adat_sync_check@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movl	$1, 8(%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	je	LBB0_7
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r12), %rax
	movq	_Digiface@GOTPCREL(%rip), %rcx
	movq	_H9652@GOTPCREL(%rip), %rdx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	cmpq	(%rdx), %rax
	je	LBB0_9
LBB0_12:
	movq	_H9632@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_17
## %bb.13:
	movq	_snd_hdsp_9632_controls@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_17
## %bb.14:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%r13
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jb	LBB0_16
LBB0_17:
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	je	LBB0_19
## %bb.18:
	movq	_H9652@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
LBB0_19:
	movq	_snd_hdsp_96xx_aeb@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_21
LBB0_20:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_9:
	movl	$2, 8(%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	jne	LBB0_21
## %bb.10:
	movl	$3, 8(%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_snd_ctl_add
	testl	%eax, %eax
	jne	LBB0_21
## %bb.11:
	movq	(%r12), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_hdsp_controls,8,3          ## @snd_hdsp_controls
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ADAT Lock Status"

	.comm	_snd_hdsp_adat_sync_check,16,3  ## @snd_hdsp_adat_sync_check
	.comm	_Digiface,8,3                   ## @Digiface
	.comm	_H9652,8,3                      ## @H9652
	.comm	_H9632,8,3                      ## @H9632
	.comm	_snd_hdsp_9632_controls,8,3     ## @snd_hdsp_9632_controls
	.comm	_snd_hdsp_96xx_aeb,16,3         ## @snd_hdsp_96xx_aeb
	.no_dead_strip	_snd_hdsp_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_hdsp_create_controls
_snd_hdsp_create_controls:              ; @snd_hdsp_create_controls
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _snd_hdsp_controls@GOTPAGE
Lloh1:
	ldr	x22, [x22, _snd_hdsp_controls@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_6
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x23, x23, #16
	cmp	x24, w0, uxtw
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x0, x8, x23
	mov	x1, x20
	bl	_snd_ctl_new1
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x24, #1
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [x20, #8]
	b	LBB0_2
LBB0_6:
Lloh2:
	adrp	x21, _snd_hdsp_adat_sync_check@GOTPAGE
Lloh3:
	ldr	x21, [x21, _snd_hdsp_adat_sync_check@GOTPAGEOFF]
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x21]
	mov	w8, #1
	str	w8, [x21, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x19
	bl	_snd_ctl_add
	cbz	w0, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _Digiface@GOTPAGE
Lloh7:
	ldr	x9, [x9, _Digiface@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x22, _H9652@GOTPAGE
Lloh10:
	ldr	x22, [x22, _H9652@GOTPAGEOFF]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.9:
	mov	w8, #2
	str	w8, [x21, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x19
	bl	_snd_ctl_add
	cbnz	w0, LBB0_7
; %bb.10:
	mov	w8, #3
	str	w8, [x21, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x19
	bl	_snd_ctl_add
	cbnz	w0, LBB0_7
; %bb.11:
	ldr	x8, [x20]
LBB0_12:
Lloh11:
	adrp	x21, _H9632@GOTPAGE
Lloh12:
	ldr	x21, [x21, _H9632@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.13:
Lloh13:
	adrp	x23, _snd_hdsp_9632_controls@GOTPAGE
Lloh14:
	ldr	x23, [x23, _snd_hdsp_9632_controls@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_17
; %bb.14:
	mov	x24, #0
	mov	x25, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x8, x24
	mov	x1, x20
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x19
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x25, x25, #1
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x25, w0, uxtw
	b.lo	LBB0_15
LBB0_17:
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_19
; %bb.18:
Lloh15:
	adrp	x0, _snd_hdsp_96xx_aeb@GOTPAGE
Lloh16:
	ldr	x0, [x0, _snd_hdsp_96xx_aeb@GOTPAGEOFF]
	mov	x1, x20
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x19
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_7
LBB0_19:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_hdsp_controls,8,3          ; @snd_hdsp_controls
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ADAT Lock Status"

	.comm	_snd_hdsp_adat_sync_check,16,3  ; @snd_hdsp_adat_sync_check
	.comm	_Digiface,8,3                   ; @Digiface
	.comm	_H9652,8,3                      ; @H9652
	.comm	_H9632,8,3                      ; @H9632
	.comm	_snd_hdsp_9632_controls,8,3     ; @snd_hdsp_9632_controls
	.comm	_snd_hdsp_96xx_aeb,16,3         ; @snd_hdsp_96xx_aeb
	.no_dead_strip	_snd_hdsp_create_controls
.subsections_via_symbols
