	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_dbri_open
_snd_dbri_open:                         ## @snd_dbri_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r15
	movq	(%rbx), %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_DBRI_STREAM
	movq	%rax, %r12
	movq	_D_USR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dprintk
	movq	_snd_dbri_pcm_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, 24(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	movl	$-1, (%r12)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_snd_hw_rule_format@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SNDRV_PCM_HW_PARAM_FORMAT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	$-1, (%rsp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_snd_pcm_hw_rule_add
	movl	(%rbx), %edx
	movq	_snd_hw_rule_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r12), %r9d
	movl	$-1, (%rsp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_snd_pcm_hw_rule_add
	movq	%r15, %rdi
	callq	_cs4215_open
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_USR,4,2                      ## @D_USR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"open audio output.\n"

	.comm	_snd_dbri_pcm_hw,4,2            ## @snd_dbri_pcm_hw
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_snd_hw_rule_format,4,2         ## @snd_hw_rule_format
	.comm	_SNDRV_PCM_HW_PARAM_FORMAT,4,2  ## @SNDRV_PCM_HW_PARAM_FORMAT
	.comm	_snd_hw_rule_channels,4,2       ## @snd_hw_rule_channels
	.no_dead_strip	_snd_dbri_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_dbri_open
_snd_dbri_open:                         ; @snd_dbri_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	x20, x0
	bl	_snd_pcm_substream_chip
	mov	x19, x0
	ldr	x21, [x20]
	mov	x1, x20
	bl	_DBRI_STREAM
	mov	x22, x0
Lloh0:
	adrp	x8, _D_USR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_USR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dprintk
Lloh5:
	adrp	x8, _snd_dbri_pcm_hw@GOTPAGE
Lloh6:
	ldr	x8, [x8, _snd_dbri_pcm_hw@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x19
	bl	_spin_lock_irqsave
	stp	xzr, x20, [x22, #16]
	str	xzr, [x22, #8]
	mov	w8, #-1
	str	w8, [x22]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh8:
	adrp	x20, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh9:
	ldr	x20, [x20, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh10:
	adrp	x8, _snd_hw_rule_format@GOTPAGE
Lloh11:
	ldr	x8, [x8, _snd_hw_rule_format@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x22, _SNDRV_PCM_HW_PARAM_FORMAT@GOTPAGE
Lloh14:
	ldr	x22, [x22, _SNDRV_PCM_HW_PARAM_FORMAT@GOTPAGEOFF]
	ldr	w5, [x22]
	mov	x0, x21
	mov	w1, #0
	mov	x4, #0
	mov	w6, #-1
	bl	_snd_pcm_hw_rule_add
	ldr	w2, [x22]
Lloh15:
	adrp	x8, _snd_hw_rule_channels@GOTPAGE
Lloh16:
	ldr	x8, [x8, _snd_hw_rule_channels@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	ldr	w5, [x20]
	mov	x0, x21
	mov	w1, #0
	mov	x4, #0
	mov	w6, #-1
	bl	_snd_pcm_hw_rule_add
	mov	x0, x19
	bl	_cs4215_open
	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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_D_USR,4,2                      ; @D_USR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"open audio output.\n"

	.comm	_snd_dbri_pcm_hw,4,2            ; @snd_dbri_pcm_hw
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_snd_hw_rule_format,4,2         ; @snd_hw_rule_format
	.comm	_SNDRV_PCM_HW_PARAM_FORMAT,4,2  ; @SNDRV_PCM_HW_PARAM_FORMAT
	.comm	_snd_hw_rule_channels,4,2       ; @snd_hw_rule_channels
	.no_dead_strip	_snd_dbri_open
.subsections_via_symbols
