	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ice1712_capture_pro_pointer
_snd_ice1712_capture_pro_pointer:       ## @snd_ice1712_capture_pro_pointer
	.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, %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %rbx
	movq	_PLAYBACK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ICEMT
	movl	%eax, %edi
	callq	_inl
	movq	_ICE1712_CAPTURE_START_SHADOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %r15d
	movq	_CAPTURE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ICEMT
	movl	%eax, %edi
	callq	_inw
	shll	$2, %eax
	subl	%eax, %r15d
	movslq	%r15d, %rax
	movq	(%r14), %rdi
	xorl	%esi, %esi
	cmpq	%rax, (%rdi)
	cmovneq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bytes_to_frames                ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLAYBACK_CONTROL,4,2           ## @PLAYBACK_CONTROL
	.comm	_ICE1712_CAPTURE_START_SHADOW,4,2 ## @ICE1712_CAPTURE_START_SHADOW
	.comm	_CAPTURE_SIZE,4,2               ## @CAPTURE_SIZE
	.no_dead_strip	_snd_ice1712_capture_pro_pointer
.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_pro_pointer
_snd_ice1712_capture_pro_pointer:       ; @snd_ice1712_capture_pro_pointer
	.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, x0
	bl	_snd_pcm_substream_chip
	mov	x20, x0
Lloh0:
	adrp	x8, _PLAYBACK_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLAYBACK_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ICEMT
	bl	_inl
Lloh3:
	adrp	x8, _ICE1712_CAPTURE_START_SHADOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE1712_CAPTURE_START_SHADOW@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w21, [x20]
Lloh6:
	adrp	x8, _CAPTURE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAPTURE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ICEMT
	bl	_inw
	sub	w8, w21, w0, lsl #2
	sxtw	x8, w8
	ldr	x0, [x19]
	ldr	x9, [x0]
	cmp	x9, x8
	csel	x1, xzr, x8, eq
	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
	b	_bytes_to_frames
LBB0_2:
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PLAYBACK_CONTROL,4,2           ; @PLAYBACK_CONTROL
	.comm	_ICE1712_CAPTURE_START_SHADOW,4,2 ; @ICE1712_CAPTURE_START_SHADOW
	.comm	_CAPTURE_SIZE,4,2               ; @CAPTURE_SIZE
	.no_dead_strip	_snd_ice1712_capture_pro_pointer
.subsections_via_symbols
