	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ps3_pcm_open
_snd_ps3_pcm_open:                      ## @snd_ps3_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	callq	_snd_pcm_substream_chip
	movq	%rbx, 8(%rax)
	movq	_snd_ps3_pcm_hw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	movq	_snd_ps3_start_delay@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	xorl	%edi, %edi
	callq	_snd_ps3_mute
	movq	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PS3_AUDIO_FIFO_STAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	shll	$3, %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_snd_pcm_hw_constraint_step
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_ps3_pcm_hw,4,2             ## @snd_ps3_pcm_hw
	.comm	_snd_ps3_start_delay,4,2        ## @snd_ps3_start_delay
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ## @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.comm	_PS3_AUDIO_FIFO_STAGE_SIZE,4,2  ## @PS3_AUDIO_FIFO_STAGE_SIZE
	.no_dead_strip	_snd_ps3_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_ps3_pcm_open
_snd_ps3_pcm_open:                      ; @snd_ps3_pcm_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #8]
	bl	_snd_pcm_substream_chip
	str	x19, [x0, #8]
Lloh0:
	adrp	x8, _snd_ps3_pcm_hw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_ps3_pcm_hw@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh3:
	adrp	x8, _snd_ps3_start_delay@GOTPAGE
Lloh4:
	ldr	x8, [x8, _snd_ps3_start_delay@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0]
	mov	w0, #0
	bl	_snd_ps3_mute
Lloh6:
	adrp	x8, _SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_BUFFER_BYTES@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _PS3_AUDIO_FIFO_STAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PS3_AUDIO_FIFO_STAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w3, w8, #3
	mov	x0, x20
	mov	w1, #0
	bl	_snd_pcm_hw_constraint_step
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_ps3_pcm_hw,4,2             ; @snd_ps3_pcm_hw
	.comm	_snd_ps3_start_delay,4,2        ; @snd_ps3_start_delay
	.comm	_SNDRV_PCM_HW_PARAM_BUFFER_BYTES,4,2 ; @SNDRV_PCM_HW_PARAM_BUFFER_BYTES
	.comm	_PS3_AUDIO_FIFO_STAGE_SIZE,4,2  ; @PS3_AUDIO_FIFO_STAGE_SIZE
	.no_dead_strip	_snd_ps3_pcm_open
.subsections_via_symbols
