	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_tm6000_pcm_open
_snd_tm6000_pcm_open:                   ## @snd_tm6000_pcm_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	(%rbx), %r15
	movq	_SNDRV_PCM_HW_PARAM_PERIODS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_snd_pcm_hw_constraint_pow2
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	%rbx, (%r12)
	movq	_snd_tm6000_digital_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_SNDRV_PCM_HW_PARAM_PERIODS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_snd_pcm_hw_constraint_integer
	jmp	LBB0_3
LBB0_2:
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movl	%r13d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_HW_PARAM_PERIODS,4,2 ## @SNDRV_PCM_HW_PARAM_PERIODS
	.comm	_snd_tm6000_digital_hw,4,2      ## @snd_tm6000_digital_hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error opening PCM!\n"

	.no_dead_strip	_snd_tm6000_pcm_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_tm6000_pcm_open
_snd_tm6000_pcm_open:                   ; @snd_tm6000_pcm_open
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	bl	_snd_pcm_substream_chip
	mov	x21, x0
	ldr	x19, [x20]
Lloh0:
	adrp	x23, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #0
	bl	_snd_pcm_hw_constraint_pow2
	tbnz	w0, #31, LBB0_2
; %bb.1:
	str	x20, [x21]
Lloh2:
	adrp	x8, _snd_tm6000_digital_hw@GOTPAGE
Lloh3:
	ldr	x8, [x8, _snd_tm6000_digital_hw@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_pcm_hw_constraint_integer
	mov	w22, #0
	b	LBB0_3
LBB0_2:
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_HW_PARAM_PERIODS,4,2 ; @SNDRV_PCM_HW_PARAM_PERIODS
	.comm	_snd_tm6000_digital_hw,4,2      ; @snd_tm6000_digital_hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error opening PCM!\n"

	.no_dead_strip	_snd_tm6000_pcm_open
.subsections_via_symbols
