	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ice1712_capture_open
_snd_ice1712_capture_open:              ## @snd_ice1712_capture_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	(%rdi), %r14
	callq	_snd_pcm_substream_chip
	movq	%rbx, 8(%rax)
	movq	_snd_ice1712_capture@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_AC97_RATES_ADC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r14)
	movq	_SNDRV_PCM_RATE_8000@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movl	$48000, 4(%r14)                 ## imm = 0xBB80
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_ice1712_capture,8,2        ## @snd_ice1712_capture
	.comm	_AC97_RATES_ADC,8,3             ## @AC97_RATES_ADC
	.comm	_SNDRV_PCM_RATE_8000,4,2        ## @SNDRV_PCM_RATE_8000
	.no_dead_strip	_snd_ice1712_capture_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ice1712_capture_open
_snd_ice1712_capture_open:              ; @snd_ice1712_capture_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]
	bl	_snd_pcm_substream_chip
	str	x19, [x0, #8]
Lloh0:
	adrp	x8, _snd_ice1712_capture@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_ice1712_capture@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _AC97_RATES_ADC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC97_RATES_ADC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x20]
Lloh6:
	adrp	x9, _SNDRV_PCM_RATE_8000@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SNDRV_PCM_RATE_8000@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #48000
	str	w8, [x20, #4]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_ice1712_capture,8,2        ; @snd_ice1712_capture
	.comm	_AC97_RATES_ADC,8,3             ; @AC97_RATES_ADC
	.comm	_SNDRV_PCM_RATE_8000,4,2        ; @SNDRV_PCM_RATE_8000
	.no_dead_strip	_snd_ice1712_capture_open
.subsections_via_symbols
