	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu8000_pcm_new            ## -- Begin function snd_emu8000_pcm_new
	.p2align	4, 0x90
_snd_emu8000_pcm_new:                   ## @snd_emu8000_pcm_new
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	leaq	-32(%rbp), %r9
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_snd_pcm_new
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	-32(%rbp), %rdi
	movq	%r15, 8(%rdi)
	movq	_snd_emu8000_pcm_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_emu8k_pcm_ops@GOTPCREL(%rip), %rdx
	callq	_snd_pcm_set_ops
	movq	-32(%rbp), %rsi
	movq	%rsi, (%r15)
	movq	%rbx, %rdi
	callq	_snd_device_register
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Emu8000 PCM"

	.comm	_snd_emu8000_pcm_free,4,2       ## @snd_emu8000_pcm_free
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_emu8k_pcm_ops,4,2              ## @emu8k_pcm_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu8000_pcm_new            ; -- Begin function snd_emu8000_pcm_new
	.p2align	2
_snd_emu8000_pcm_new:                   ; @snd_emu8000_pcm_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x5, sp, #8
	mov	w3, #1
	mov	w4, #0
	bl	_snd_pcm_new
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
Lloh2:
	adrp	x8, _snd_emu8000_pcm_free@GOTPAGE
Lloh3:
	ldr	x8, [x8, _snd_emu8000_pcm_free@GOTPAGEOFF]
	str	x20, [x0, #8]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh5:
	adrp	x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, _emu8k_pcm_ops@GOTPAGE
Lloh9:
	ldr	x2, [x2, _emu8k_pcm_ops@GOTPAGEOFF]
	bl	_snd_pcm_set_ops
	ldr	x1, [sp, #8]
	str	x1, [x20]
	mov	x0, x19
	bl	_snd_device_register
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Emu8000 PCM"

	.comm	_snd_emu8000_pcm_free,4,2       ; @snd_emu8000_pcm_free
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_emu8k_pcm_ops,4,2              ; @emu8k_pcm_ops
.subsections_via_symbols
