	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usX2Y_clients_stop
_usX2Y_clients_stop:                    ## @usX2Y_clients_stop
	.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, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_atomic_read
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_snd_printdd
	movq	_state_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_atomic_set
	movq	16(%rbx), %rax
LBB0_2:
	movq	8(%rax), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_atomic_read
	leaq	L_.str(%rip), %rdi
	movl	$1, %esi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_snd_printdd
	movq	_state_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_atomic_set
	movq	16(%rbx), %rax
LBB0_4:
	movq	16(%rax), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_atomic_read
	leaq	L_.str(%rip), %rdi
	movl	$2, %esi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_snd_printdd
	movq	_state_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_atomic_set
	movq	16(%rbx), %rax
LBB0_6:
	movq	24(%rax), %r14
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_atomic_read
	leaq	L_.str(%rip), %rdi
	movl	$3, %esi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_snd_printdd
	movq	_state_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_atomic_set
LBB0_8:
	xorl	%r12d, %r12d
	movq	_NRURBS@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	cmpq	$4, %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_18
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	16(%rbx), %rax
	movq	(%rax,%r12,8), %r14
	testq	%r14, %r14
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	12(%r14), %rdi
	callq	_atomic_read
	movq	_state_PRERUNNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	8(%r14), %edi
	movq	_SNDRV_PCM_STATE_XRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_snd_pcm_stop
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_17
LBB0_14:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_snd_printdd
	movl	(%r13), %eax
	jmp	LBB0_16
LBB0_18:
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i %p state=%i\n"

	.comm	_state_STOPPED,4,2              ## @state_STOPPED
	.comm	_state_PRERUNNING,8,3           ## @state_PRERUNNING
	.comm	_SNDRV_PCM_STATE_XRUN,4,2       ## @SNDRV_PCM_STATE_XRUN
	.comm	_NRURBS,4,2                     ## @NRURBS
L_.str.1:                               ## @.str.1
	.asciz	"%i status=%i start_frame=%i\n"

	.no_dead_strip	_usX2Y_clients_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usX2Y_clients_stop
_usX2Y_clients_stop:                    ; @usX2Y_clients_stop
	.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	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
Lloh0:
	adrp	x22, _state_STOPPED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _state_STOPPED@GOTPAGEOFF]
	cbz	x20, LBB0_2
; %bb.1:
	add	x21, x20, #12
	mov	x0, x21
	bl	_atomic_read
	mov	x3, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	mov	x2, x20
	bl	_snd_printdd
	ldr	w1, [x22]
	mov	x0, x21
	bl	_atomic_set
	ldr	x8, [x19, #16]
LBB0_2:
	ldr	x20, [x8, #8]
	cbz	x20, LBB0_4
; %bb.3:
	add	x21, x20, #12
	mov	x0, x21
	bl	_atomic_read
	mov	x3, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #1
	mov	x2, x20
	bl	_snd_printdd
	ldr	w1, [x22]
	mov	x0, x21
	bl	_atomic_set
	ldr	x8, [x19, #16]
LBB0_4:
	ldr	x20, [x8, #16]
	cbz	x20, LBB0_6
; %bb.5:
	add	x21, x20, #12
	mov	x0, x21
	bl	_atomic_read
	mov	x3, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #2
	mov	x2, x20
	bl	_snd_printdd
	ldr	w1, [x22]
	mov	x0, x21
	bl	_atomic_set
	ldr	x8, [x19, #16]
LBB0_6:
	ldr	x20, [x8, #24]
	cbz	x20, LBB0_8
; %bb.7:
	add	x21, x20, #12
	mov	x0, x21
	bl	_atomic_read
	mov	x3, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #3
	mov	x2, x20
	bl	_snd_printdd
	ldr	w1, [x22]
	mov	x0, x21
	bl	_atomic_set
LBB0_8:
	mov	x22, #0
Lloh10:
	adrp	x23, _state_PRERUNNING@GOTPAGE
Lloh11:
	ldr	x23, [x23, _state_PRERUNNING@GOTPAGEOFF]
Lloh12:
	adrp	x24, _NRURBS@GOTPAGE
Lloh13:
	ldr	x24, [x24, _NRURBS@GOTPAGEOFF]
Lloh14:
	adrp	x20, l_.str.1@PAGE
Lloh15:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh16:
	adrp	x25, _SNDRV_PCM_STATE_XRUN@GOTPAGE
Lloh17:
	ldr	x25, [x25, _SNDRV_PCM_STATE_XRUN@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	cmp	x22, #4
	b.eq	LBB0_18
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x19, #16]
	ldr	x26, [x8, x22, lsl #3]
	cbz	x26, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, x26, #12
	bl	_atomic_read
	ldr	x8, [x23]
	cmp	x0, x8
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x26, #8]
	ldr	w1, [x25]
	bl	_snd_pcm_stop
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x21, #0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_9
LBB0_16:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x26]
	ldr	x9, [x9, x21, lsl #3]
	cbz	x9, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldp	x3, x2, [x9]
	mov	x0, x20
	mov	x1, x21
	bl	_snd_printdd
	ldr	w8, [x24]
	b	LBB0_15
LBB0_18:
	str	xzr, [x19, #8]
	mov	x0, x19
	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
	b	_wake_up
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i %p state=%i\n"

	.comm	_state_STOPPED,4,2              ; @state_STOPPED
	.comm	_state_PRERUNNING,8,3           ; @state_PRERUNNING
	.comm	_SNDRV_PCM_STATE_XRUN,4,2       ; @SNDRV_PCM_STATE_XRUN
	.comm	_NRURBS,4,2                     ; @NRURBS
l_.str.1:                               ; @.str.1
	.asciz	"%i status=%i start_frame=%i\n"

	.no_dead_strip	_usX2Y_clients_stop
.subsections_via_symbols
