	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_wss_capture_pointer
_snd_wss_capture_pointer:               ## @snd_wss_capture_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_snd_pcm_substream_chip
	movq	(%rax), %rcx
	movq	_CS4231_IFACE_CTRL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_CS4231_RECORD_ENABLE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rcx,%rdx,4)
	je	LBB0_1
## %bb.2:
	movl	8(%rax), %esi
	movl	12(%rax), %edi
	callq	_snd_dma_pointer
	movl	(%rbx), %edi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bytes_to_frames                ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS4231_IFACE_CTRL,8,3          ## @CS4231_IFACE_CTRL
	.comm	_CS4231_RECORD_ENABLE,4,2       ## @CS4231_RECORD_ENABLE
	.no_dead_strip	_snd_wss_capture_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_wss_capture_pointer
_snd_wss_capture_pointer:               ; @snd_wss_capture_pointer
	.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
	bl	_snd_pcm_substream_chip
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CS4231_IFACE_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CS4231_IFACE_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh3:
	adrp	x9, _CS4231_RECORD_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CS4231_RECORD_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldp	w1, w8, [x0, #8]
	mov	x0, x8
	bl	_snd_dma_pointer
	mov	x1, x0
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bytes_to_frames
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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CS4231_IFACE_CTRL,8,3          ; @CS4231_IFACE_CTRL
	.comm	_CS4231_RECORD_ENABLE,4,2       ; @CS4231_RECORD_ENABLE
	.no_dead_strip	_snd_wss_capture_pointer
.subsections_via_symbols
