	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_usb_pcm_close
_snd_usb_pcm_close:                     ## @snd_usb_pcm_close
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	8(%rax), %r15
	movslq	%r14d, %rbx
	shlq	$5, %rbx
	leaq	(%r15,%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_stop_endpoints
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	movl	(%r14), %esi
	testl	%esi, %esi
	js	LBB0_3
## %bb.2:
	movl	24(%r15,%rbx), %edi
	xorl	%edx, %edx
	callq	_usb_set_interface
	movl	$-1, (%r14)
LBB0_3:
	movq	$0, 16(%r15,%rbx)
	movq	8(%r15,%rbx), %rax
	movl	(%rax), %edi
	callq	_snd_usb_autosuspend
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_usb_pcm_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_usb_pcm_close
_snd_usb_pcm_close:                     ; @snd_usb_pcm_close
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_snd_pcm_substream_chip
	mov	x20, x0
	ldr	x21, [x0, #8]
	sxtw	x22, w19
	add	x19, x21, x22, lsl #5
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_stop_endpoints
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.1:
	ldr	w1, [x19]
	tbnz	w1, #31, LBB0_3
; %bb.2:
	add	x8, x21, x22, lsl #5
	ldr	w0, [x8, #24]
	mov	w2, #0
	bl	_usb_set_interface
	mov	w8, #-1
	str	w8, [x19]
LBB0_3:
	str	xzr, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_snd_usb_autosuspend
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_usb_pcm_close
.subsections_via_symbols
