	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cmipci_playback_open
_snd_cmipci_playback_open:              ## @snd_cmipci_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r15
	movq	(%rbx), %r14
	movq	_CM_OPEN_PLAYBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_open_device_check
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_snd_cmipci_playback@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	(%r15), %ecx
	cmpl	$55, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$68, %ecx
	jne	LBB0_8
## %bb.3:
	movq	_SNDRV_PCM_RATE_88200@GOTPCREL(%rip), %rcx
	movq	_SNDRV_PCM_RATE_96000@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%eax, %edx
	movl	%edx, (%r14)
	movl	$96000, %eax                    ## imm = 0x17700
	jmp	LBB0_7
LBB0_5:
	movq	_SNDRV_PCM_HW_PARAM_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_hw_constraints_rates@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_snd_pcm_hw_constraint_list
	testl	%eax, %eax
	js	LBB0_4
## %bb.6:
	movq	_SNDRV_PCM_RATE_KNOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movl	$128000, %eax                   ## imm = 0x1F400
LBB0_7:
	movl	%eax, 4(%r14)
LBB0_8:
	movq	_SNDRV_PCM_HW_PARAM_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$65536, %ecx                    ## imm = 0x10000
	callq	_snd_pcm_hw_constraint_minmax
	movl	4(%r15), %eax
	movl	%eax, 8(%r15)
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_OPEN_PLAYBACK,4,2           ## @CM_OPEN_PLAYBACK
	.comm	_snd_cmipci_playback,8,2        ## @snd_cmipci_playback
	.comm	_SNDRV_PCM_RATE_88200,4,2       ## @SNDRV_PCM_RATE_88200
	.comm	_SNDRV_PCM_RATE_96000,4,2       ## @SNDRV_PCM_RATE_96000
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ## @SNDRV_PCM_HW_PARAM_RATE
	.comm	_hw_constraints_rates,4,2       ## @hw_constraints_rates
	.comm	_SNDRV_PCM_RATE_KNOT,4,2        ## @SNDRV_PCM_RATE_KNOT
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_SIZE,4,2 ## @SNDRV_PCM_HW_PARAM_BUFFER_SIZE
	.no_dead_strip	_snd_cmipci_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_cmipci_playback_open
_snd_cmipci_playback_open:              ; @snd_cmipci_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	x21, x0
	bl	_snd_pcm_substream_chip
	mov	x19, x0
	ldr	x20, [x21]
Lloh0:
	adrp	x8, _CM_OPEN_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_OPEN_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_open_device_check
	tbnz	w0, #31, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _snd_cmipci_playback@GOTPAGE
Lloh4:
	ldr	x8, [x8, _snd_cmipci_playback@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	w9, [x19]
	cmp	w9, #55
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #68
	b.ne	LBB0_7
; %bb.3:
Lloh6:
	adrp	x9, _SNDRV_PCM_RATE_88200@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SNDRV_PCM_RATE_88200@GOTPAGEOFF]
Lloh8:
	adrp	x10, _SNDRV_PCM_RATE_96000@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SNDRV_PCM_RATE_96000@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x20]
	mov	w8, #30464
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x3, _hw_constraints_rates@GOTPAGE
Lloh16:
	ldr	x3, [x3, _hw_constraints_rates@GOTPAGEOFF]
	mov	x0, x20
	mov	w1, #0
	bl	_snd_pcm_hw_constraint_list
	tbnz	w0, #31, LBB0_8
; %bb.5:
Lloh17:
	adrp	x8, _SNDRV_PCM_RATE_KNOT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SNDRV_PCM_RATE_KNOT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	w8, #62464
LBB0_6:
	movk	w8, #1, lsl #16
	str	w8, [x20, #4]
LBB0_7:
Lloh20:
	adrp	x8, _SNDRV_PCM_HW_PARAM_BUFFER_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_BUFFER_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #65536
	bl	_snd_pcm_hw_constraint_minmax
	mov	w0, #0
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_OPEN_PLAYBACK,4,2           ; @CM_OPEN_PLAYBACK
	.comm	_snd_cmipci_playback,8,2        ; @snd_cmipci_playback
	.comm	_SNDRV_PCM_RATE_88200,4,2       ; @SNDRV_PCM_RATE_88200
	.comm	_SNDRV_PCM_RATE_96000,4,2       ; @SNDRV_PCM_RATE_96000
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ; @SNDRV_PCM_HW_PARAM_RATE
	.comm	_hw_constraints_rates,4,2       ; @hw_constraints_rates
	.comm	_SNDRV_PCM_RATE_KNOT,4,2        ; @SNDRV_PCM_RATE_KNOT
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_SIZE,4,2 ; @SNDRV_PCM_HW_PARAM_BUFFER_SIZE
	.no_dead_strip	_snd_cmipci_playback_open
.subsections_via_symbols
