	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atc_pcm_capture_start
_atc_pcm_capture_start:                 ## @atc_pcm_capture_start
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rsi)
	jne	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	movq	(%rdi), %rax
	movq	_SRC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	movl	$1, (%rsi)
	movq	40(%rsi), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rsi)
	jle	LBB0_5
## %bb.2:
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	-1(%rax), %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %r15
	movq	(%r15), %rcx
	movl	%ebx, %eax
	cltd
	idivl	-48(%rbp)                       ## 4-byte Folded Reload
	xorl	%esi, %esi
	cmpl	%r13d, %edx
	setne	%sil
	movq	%r15, %rdi
	callq	*56(%rcx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*16(%r14)
	incq	%rbx
	movslq	4(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.4:
	movq	40(%r12), %rax
	movq	(%rax), %rax
LBB0_5:
	movq	16(%r12), %r15
	movq	(%r15), %rcx
	movq	48(%rcx), %rbx
	movl	4(%rax), %edi
	callq	_convert_format
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	*%rbx
	movq	(%r15), %rax
	movq	32(%r12), %rcx
	movq	(%rcx), %rsi
	movq	%r15, %rdi
	callq	*40(%rax)
	movq	(%r15), %rax
	movq	32(%r12), %rcx
	movq	8(%rcx), %rsi
	addq	(%rcx), %rsi
	movq	%r15, %rdi
	callq	*32(%rax)
	movq	(%r15), %rax
	movq	32(%r12), %rcx
	movq	(%rcx), %rsi
	movq	%r15, %rdi
	callq	*24(%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*16(%r14)
	movq	%r14, %rdi
	callq	*(%r14)
	cmpl	$0, 4(%r12)
	jle	LBB0_8
## %bb.6:
	xorl	%r15d, %r15d
	movq	_SRC_STATE_RUN@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%r15,8), %rbx
	movq	(%rbx), %rax
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*8(%r14)
	incq	%r15
	movslq	4(%r12), %rax
	cmpq	%rax, %r15
	jl	LBB0_7
LBB0_8:
	movq	16(%r12), %rbx
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*16(%rax)
	movq	(%rbx), %rax
	movq	_SRC_STATE_RUN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	*8(%r14)
	movq	%r14, %rdi
	callq	*(%r14)
	movl	8(%r12), %edi
	callq	_ct_timer_start
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRC,8,3                        ## @SRC
	.comm	_SRC_STATE_RUN,4,2              ## @SRC_STATE_RUN
	.no_dead_strip	_atc_pcm_capture_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atc_pcm_capture_start
_atc_pcm_capture_start:                 ; @atc_pcm_capture_start
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x1]
	cbnz	w8, LBB0_9
; %bb.1:
	mov	x19, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SRC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SRC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x20, [x8, x9, lsl #3]
	mov	w8, #1
	str	w8, [x1]
	ldr	x8, [x1, #40]
	ldr	x8, [x8]
	ldr	w9, [x1, #4]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
	ldr	w23, [x8]
	sub	w24, w23, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x21, [x8, x22, lsl #3]
	ldr	x8, [x21]
	ldr	x8, [x8, #56]
	sdiv	w9, w22, w23
	msub	w9, w9, w23, w22
	cmp	w9, w24
	cset	w1, ne
	mov	x0, x21
	blr	x8
	ldr	x8, [x20, #16]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	add	x22, x22, #1
	ldrsw	x8, [x19, #4]
	cmp	x22, x8
	b.lt	LBB0_3
; %bb.4:
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
LBB0_5:
	ldr	x21, [x19, #16]
	ldr	x9, [x21]
	ldr	x22, [x9, #48]
	ldr	w0, [x8, #4]
	bl	_convert_format
	mov	x1, x0
	mov	x0, x21
	blr	x22
	ldr	x8, [x21]
	ldr	x8, [x8, #40]
	ldr	x9, [x19, #32]
	ldr	x1, [x9]
	mov	x0, x21
	blr	x8
	ldr	x8, [x21]
	ldr	x8, [x8, #32]
	ldr	x9, [x19, #32]
	ldp	x10, x9, [x9]
	add	x1, x9, x10
	mov	x0, x21
	blr	x8
	ldr	x8, [x21]
	ldr	x8, [x8, #24]
	ldr	x9, [x19, #32]
	ldr	x1, [x9]
	mov	x0, x21
	blr	x8
	ldr	x8, [x20, #16]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x22, _SRC_STATE_RUN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SRC_STATE_RUN@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x23, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x21, [x8, x23, lsl #3]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w1, [x22]
	mov	x0, x21
	blr	x8
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	add	x23, x23, #1
	ldrsw	x8, [x19, #4]
	cmp	x23, x8
	b.lt	LBB0_7
LBB0_8:
	ldr	x21, [x19, #16]
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	mov	x0, x21
	mov	w1, #1
	blr	x8
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w1, [x22]
	mov	x0, x21
	blr	x8
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	blr	x8
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	ldr	w0, [x19, #8]
	bl	_ct_timer_start
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SRC,8,3                        ; @SRC
	.comm	_SRC_STATE_RUN,4,2              ; @SRC_STATE_RUN
	.no_dead_strip	_atc_pcm_capture_start
.subsections_via_symbols
