	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_audigy2nx_controls_create
_snd_audigy2nx_controls_create:         ## @snd_audigy2nx_controls_create
	.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	%rdi, %r12
	movq	_snd_audigy2nx_controls@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movq	%r14, %rbx
	movl	8(%rax), %r14d
	movq	(%rbx), %rdi
	addq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snd_ctl_new1
	movl	%r14d, %edi
	movq	%rbx, %r14
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %r15
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rbx
	movl	$1054, %edi                     ## imm = 0x41E
	movl	$12354, %esi                    ## imm = 0x3042
	callq	_USB_ID
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_12
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rbx
	movl	$1054, %edi                     ## imm = 0x41E
	movl	$12511, %esi                    ## imm = 0x30DF
	callq	_USB_ID
	cmpq	%rax, %rbx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$2, %r15
	jb	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rbx
	movl	$1054, %edi                     ## imm = 0x41E
	movl	$12352, %esi                    ## imm = 0x3040
	callq	_USB_ID
	cmpq	%rax, %rbx
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rbx
	movl	$1054, %edi                     ## imm = 0x41E
	movl	$12354, %esi                    ## imm = 0x3042
	callq	_USB_ID
	cmpq	%rax, %rbx
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rbx
	movl	$1054, %edi                     ## imm = 0x41E
	movl	$12511, %esi                    ## imm = 0x30DF
	callq	_USB_ID
	cmpq	%rax, %rbx
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rbx
	movl	$1054, %edi                     ## imm = 0x41E
	movl	$12360, %esi                    ## imm = 0x3048
	callq	_USB_ID
	cmpq	%rax, %rbx
	jne	LBB0_11
LBB0_13:
	movq	(%r12), %rax
	movl	$1, 4(%rax)
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_audigy2nx_controls,8,3     ## @snd_audigy2nx_controls
	.no_dead_strip	_snd_audigy2nx_controls_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_audigy2nx_controls_create
_snd_audigy2nx_controls_create:         ; @snd_audigy2nx_controls_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _snd_audigy2nx_controls@GOTPAGE
Lloh1:
	ldr	x21, [x21, _snd_audigy2nx_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w20, [x8, #8]
	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_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	mov	w0, #1054
	mov	w1, #12354
	bl	_USB_ID
	cmp	x20, x0
	ccmp	x23, #0, #0, eq
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	mov	w0, #1054
	mov	w1, #12511
	bl	_USB_ID
	cmp	x20, x0
	ccmp	x23, #0, #0, eq
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, #2
	b.lo	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	mov	w0, #1054
	mov	w1, #12352
	bl	_USB_ID
	cmp	x20, x0
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	mov	w0, #1054
	mov	w1, #12354
	bl	_USB_ID
	cmp	x20, x0
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	mov	w0, #1054
	mov	w1, #12511
	bl	_USB_ID
	cmp	x20, x0
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	mov	w0, #1054
	mov	w1, #12360
	bl	_USB_ID
	cmp	x20, x0
	b.ne	LBB0_2
LBB0_11:
	mov	w0, #0
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8, #4]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_audigy2nx_controls,8,3     ; @snd_audigy2nx_controls
	.no_dead_strip	_snd_audigy2nx_controls_create
.subsections_via_symbols
