	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_via8233_playback_close
_snd_via8233_playback_close:            ## @snd_via8233_playback_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	leal	15(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$4, %edx
	movq	(%rax), %rcx
	movq	(%rcx,%rdx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rdx), %rsi
	orl	%ecx, (%rsi)
	movl	8(%rax), %edi
	movq	_SNDRV_CTL_EVENT_MASK_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_snd_ctl_notify
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_snd_via82xx_pcm_close          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_ACCESS_INACTIVE,4,2 ## @SNDRV_CTL_ELEM_ACCESS_INACTIVE
	.comm	_SNDRV_CTL_EVENT_MASK_INFO,4,2  ## @SNDRV_CTL_EVENT_MASK_INFO
	.no_dead_strip	_snd_via8233_playback_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_via8233_playback_close
_snd_via8233_playback_close:            ; @snd_via8233_playback_close
	.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	x19, x0
	bl	_snd_pcm_substream_chip
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
	add	w9, w8, #15
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #4
	ldr	x9, [x0]
	ldr	x2, [x9, w8, uxtw #3]
	cbz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_CTL_ELEM_ACCESS_INACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x2, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x8, _SNDRV_CTL_EVENT_MASK_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_CTL_EVENT_MASK_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_snd_ctl_notify
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_via82xx_pcm_close
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_ACCESS_INACTIVE,4,2 ; @SNDRV_CTL_ELEM_ACCESS_INACTIVE
	.comm	_SNDRV_CTL_EVENT_MASK_INFO,4,2  ; @SNDRV_CTL_EVENT_MASK_INFO
	.no_dead_strip	_snd_via8233_playback_close
.subsections_via_symbols
