	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_intel8x0_playback_open
_snd_intel8x0_playback_open:            ## @snd_intel8x0_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	_ICHD_PCMOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	40(%r15), %rsi
	movq	%rbx, %rdi
	callq	_snd_intel8x0_pcm_open
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	cmpq	$0, 32(%r15)
	je	LBB0_4
## %bb.3:
	movq	_hw_constraints_channels8@GOTPCREL(%rip), %rcx
	movl	$8, %eax
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_4:
	cmpq	$0, 24(%r15)
	je	LBB0_6
## %bb.5:
	movq	_hw_constraints_channels6@GOTPCREL(%rip), %rcx
	movl	$6, %eax
	jmp	LBB0_8
LBB0_6:
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.7:
	movq	_hw_constraints_channels4@GOTPCREL(%rip), %rcx
	movl	$4, %eax
LBB0_8:
	movl	%eax, (%r14)
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_snd_pcm_hw_constraint_list
LBB0_9:
	cmpq	$0, 8(%r15)
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_snd_ac97_pcm_double_rate_rules
LBB0_11:
	cmpq	$0, (%r15)
	je	LBB0_12
## %bb.13:
	movq	_SNDRV_PCM_FMTBIT_S32_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	movl	$20, %ecx
	callq	_snd_pcm_hw_constraint_msbits
	jmp	LBB0_14
LBB0_12:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICHD_PCMOUT,8,3                ## @ICHD_PCMOUT
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_hw_constraints_channels8,4,2   ## @hw_constraints_channels8
	.comm	_hw_constraints_channels6,4,2   ## @hw_constraints_channels6
	.comm	_hw_constraints_channels4,4,2   ## @hw_constraints_channels4
	.comm	_SNDRV_PCM_FMTBIT_S32_LE,4,2    ## @SNDRV_PCM_FMTBIT_S32_LE
	.no_dead_strip	_snd_intel8x0_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_intel8x0_playback_open
_snd_intel8x0_playback_open:            ; @snd_intel8x0_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	x20, x0
	ldr	x19, [x21]
	ldr	x8, [x0, #40]
Lloh0:
	adrp	x9, _ICHD_PCMOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICHD_PCMOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	x0, x21
	bl	_snd_intel8x0_pcm_open
	tbnz	w0, #31, LBB0_13
; %bb.1:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x3, _hw_constraints_channels8@GOTPAGE
Lloh4:
	ldr	x3, [x3, _hw_constraints_channels8@GOTPAGEOFF]
	mov	w8, #8
	b	LBB0_7
LBB0_3:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x3, _hw_constraints_channels6@GOTPAGE
Lloh6:
	ldr	x3, [x3, _hw_constraints_channels6@GOTPAGEOFF]
	mov	w8, #6
	b	LBB0_7
LBB0_5:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
; %bb.6:
Lloh7:
	adrp	x3, _hw_constraints_channels4@GOTPAGE
Lloh8:
	ldr	x3, [x3, _hw_constraints_channels4@GOTPAGEOFF]
	mov	w8, #4
LBB0_7:
	str	w8, [x19]
Lloh9:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_snd_pcm_hw_constraint_list
LBB0_8:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_snd_ac97_pcm_double_rate_rules
LBB0_10:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.11:
Lloh12:
	adrp	x8, _SNDRV_PCM_FMTBIT_S32_LE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SNDRV_PCM_FMTBIT_S32_LE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	mov	w3, #20
	bl	_snd_pcm_hw_constraint_msbits
LBB0_12:
	mov	w0, #0
LBB0_13:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ICHD_PCMOUT,8,3                ; @ICHD_PCMOUT
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_hw_constraints_channels8,4,2   ; @hw_constraints_channels8
	.comm	_hw_constraints_channels6,4,2   ; @hw_constraints_channels6
	.comm	_hw_constraints_channels4,4,2   ; @hw_constraints_channels4
	.comm	_SNDRV_PCM_FMTBIT_S32_LE,4,2    ; @SNDRV_PCM_FMTBIT_S32_LE
	.no_dead_strip	_snd_intel8x0_playback_open
.subsections_via_symbols
