	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_intel8x0_pcm_open
_snd_intel8x0_pcm_open:                 ## @snd_intel8x0_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	(%rbx), %r15
	movq	%rbx, 8(%r14)
	movq	_snd_intel8x0_stream@GOTPCREL(%rip), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 16(%r15)
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r15, %rdi
	callq	_snd_pcm_limit_hw_rates
	movq	(%r12), %rax
	movq	_DEVICE_SIS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movabsq	$281474976776192, %rax          ## imm = 0x1000000010000
	movq	%rax, 8(%r15)
LBB0_2:
	movq	_SNDRV_PCM_HW_PARAM_PERIODS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_snd_pcm_hw_constraint_integer
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	%r14, (%r15)
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_intel8x0_stream,12,2       ## @snd_intel8x0_stream
	.comm	_DEVICE_SIS,8,3                 ## @DEVICE_SIS
	.comm	_SNDRV_PCM_HW_PARAM_PERIODS,4,2 ## @SNDRV_PCM_HW_PARAM_PERIODS
	.no_dead_strip	_snd_intel8x0_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_intel8x0_pcm_open
_snd_intel8x0_pcm_open:                 ; @snd_intel8x0_pcm_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	x19, x1
	mov	x21, x0
	bl	_snd_pcm_substream_chip
	mov	x22, x0
	ldr	x20, [x21]
	str	x21, [x19, #8]
Lloh0:
	adrp	x8, _snd_intel8x0_stream@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_intel8x0_stream@GOTPAGEOFF]
	ldr	w9, [x8, #8]
	ldr	x8, [x8]
	mov	x21, x20
	str	x8, [x21, #8]!
	str	w9, [x20, #16]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x20, #16]
	mov	x0, x20
	bl	_snd_pcm_limit_hw_rates
	ldr	x8, [x22]
Lloh2:
	adrp	x9, _DEVICE_SIS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DEVICE_SIS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	movi.2s	v0, #1, lsl #16
	str	d0, [x21]
LBB0_2:
Lloh5:
	adrp	x8, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_pcm_hw_constraint_integer
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	w0, #0
	str	x19, [x20]
LBB0_4:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_intel8x0_stream,12,2       ; @snd_intel8x0_stream
	.comm	_DEVICE_SIS,8,3                 ; @DEVICE_SIS
	.comm	_SNDRV_PCM_HW_PARAM_PERIODS,4,2 ; @SNDRV_PCM_HW_PARAM_PERIODS
	.no_dead_strip	_snd_intel8x0_pcm_open
.subsections_via_symbols
