	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_msnd_playback_open
_snd_msnd_playback_open:                ## @snd_msnd_playback_open
	.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
	movq	%rdi, %r14
	movq	(%rdi), %r12
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	movq	_F_AUDIO_WRITE_INUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %r15
	movq	%r15, %rsi
	callq	_set_bit
	movq	_F_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	%rbx, %rdi
	callq	_snd_msnd_enable_irq
	movl	8(%rbx), %eax
	movl	%eax, 8(%r12)
	movl	$12288, (%r12)                  ## imm = 0x3000
	movq	%r14, (%rbx)
	movq	_snd_msnd_playback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_AUDIO_WRITE_INUSE,4,2        ## @F_AUDIO_WRITE_INUSE
	.comm	_F_WRITING,4,2                  ## @F_WRITING
	.comm	_snd_msnd_playback,4,2          ## @snd_msnd_playback
	.no_dead_strip	_snd_msnd_playback_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_msnd_playback_open
_snd_msnd_playback_open:                ; @snd_msnd_playback_open
	.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, x0
	ldr	x22, [x0]
	bl	_snd_pcm_substream_chip
	mov	x20, x0
Lloh0:
	adrp	x8, _F_AUDIO_WRITE_INUSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_AUDIO_WRITE_INUSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x20, #12
	mov	x1, x21
	bl	_set_bit
Lloh3:
	adrp	x8, _F_WRITING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_WRITING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
	mov	x0, x20
	bl	_snd_msnd_enable_irq
	ldr	w8, [x20, #8]
	mov	w9, #12288
	str	w9, [x22]
	str	x19, [x20]
Lloh6:
	adrp	x9, _snd_msnd_playback@GOTPAGE
Lloh7:
	ldr	x9, [x9, _snd_msnd_playback@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #4]
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_F_AUDIO_WRITE_INUSE,4,2        ; @F_AUDIO_WRITE_INUSE
	.comm	_F_WRITING,4,2                  ; @F_WRITING
	.comm	_snd_msnd_playback,4,2          ; @snd_msnd_playback
	.no_dead_strip	_snd_msnd_playback_open
.subsections_via_symbols
