	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queue_list_add
_queue_list_add:                        ## @queue_list_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_queue_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_SNDRV_SEQ_MAX_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-1, %ebx
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	_queue_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	%r14, (%rdx,%rcx,8)
	movl	%ecx, (%r14)
	movq	_num_queues@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	%ecx, %ebx
LBB0_5:
	movq	_queue_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_queue_list_lock,4,2            ## @queue_list_lock
	.comm	_SNDRV_SEQ_MAX_QUEUES,4,2       ## @SNDRV_SEQ_MAX_QUEUES
	.comm	_queue_list,8,3                 ## @queue_list
	.comm	_num_queues,4,2                 ## @num_queues
	.no_dead_strip	_queue_list_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_list_add
_queue_list_add:                        ; @queue_list_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x0, _queue_list_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _queue_list_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x8, _SNDRV_SEQ_MAX_QUEUES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNDRV_SEQ_MAX_QUEUES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, #0
Lloh5:
	adrp	x9, _queue_list@GOTPAGE
Lloh6:
	ldr	x9, [x9, _queue_list@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x19, lsl #3]
	cbz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
	cmp	x8, x19
	b.ne	LBB0_2
LBB0_4:
	mov	w19, #-1
	b	LBB0_6
LBB0_5:
	str	x20, [x9, x19, lsl #3]
	str	w19, [x20]
Lloh8:
	adrp	x8, _num_queues@GOTPAGE
Lloh9:
	ldr	x8, [x8, _num_queues@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_6:
Lloh10:
	adrp	x0, _queue_list_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _queue_list_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_queue_list_lock,4,2            ; @queue_list_lock
	.comm	_SNDRV_SEQ_MAX_QUEUES,4,2       ; @SNDRV_SEQ_MAX_QUEUES
	.comm	_queue_list,8,3                 ; @queue_list
	.comm	_num_queues,4,2                 ; @num_queues
	.no_dead_strip	_queue_list_add
.subsections_via_symbols
