	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt3_fetch_thread
_pt3_fetch_thread:                      ## @pt3_fetch_thread
	.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
	movq	%rdi, %rbx
	callq	_pt3_init_dmabuf
	movq	$4, 16(%rbx)
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
	callq	_set_freezable
	leaq	-44(%rbp), %rdi
	callq	_kthread_freezable_should_stop
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_NSEC_PER_MSEC@GOTPCREL(%rip), %r12
	movq	_HRTIMER_MODE_REL@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r14
	leaq	-44(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_pt3_proc_dma
	movl	(%r12), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %esi
	xorl	%edi, %edi
	callq	_ktime_set
	movl	%eax, -48(%rbp)
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movl	(%r12), %esi
	addl	%esi, %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_freezable_schedule_hrtimeout_range
	movq	%r15, %rdi
	callq	_kthread_freezable_should_stop
	testl	%eax, %eax
	jne	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -44(%rbp)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$4, 16(%rbx)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PT3: [%s] started\n"

	.comm	_NSEC_PER_MSEC,4,2              ## @NSEC_PER_MSEC
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.comm	_HRTIMER_MODE_REL,4,2           ## @HRTIMER_MODE_REL
L_.str.1:                               ## @.str.1
	.asciz	"PT3: [%s] exited\n"

	.comm	_PT3_FETCH_DELAY,4,2            ## @PT3_FETCH_DELAY
	.comm	_PT3_FETCH_DELAY_DELTA,4,2      ## @PT3_FETCH_DELAY_DELTA
	.comm	_PT3_INITIAL_BUF_DROPS,8,3      ## @PT3_INITIAL_BUF_DROPS
	.no_dead_strip	_pt3_fetch_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt3_fetch_thread
_pt3_fetch_thread:                      ; @pt3_fetch_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_pt3_init_dmabuf
	mov	w8, #4
	str	x8, [x19, #16]
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	w2, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	bl	_set_freezable
	add	x0, sp, #8
	bl	_kthread_freezable_should_stop
	cbz	w0, LBB0_2
LBB0_1:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	w2, [x8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
Lloh4:
	adrp	x20, _NSEC_PER_MSEC@GOTPAGE
Lloh5:
	ldr	x20, [x20, _NSEC_PER_MSEC@GOTPAGEOFF]
Lloh6:
	adrp	x21, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
	mov	w22, #4
Lloh8:
	adrp	x23, _HRTIMER_MODE_REL@GOTPAGE
Lloh9:
	ldr	x23, [x23, _HRTIMER_MODE_REL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_pt3_proc_dma
	ldr	w8, [x20]
	add	w8, w8, w8, lsl #2
	lsl	w1, w8, #1
	mov	w0, #0
	bl	_ktime_set
	str	w0, [sp, #12]
	ldr	w0, [x21]
	bl	_set_current_state
	ldr	w8, [x20]
	lsl	w1, w8, #1
	ldr	w2, [x23]
	add	x0, sp, #12
	bl	_freezable_schedule_hrtimeout_range
	add	x0, sp, #8
	bl	_kthread_freezable_should_stop
	cbnz	w0, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x22, [x19, #16]
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PT3: [%s] started\n"

	.comm	_NSEC_PER_MSEC,4,2              ; @NSEC_PER_MSEC
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.comm	_HRTIMER_MODE_REL,4,2           ; @HRTIMER_MODE_REL
l_.str.1:                               ; @.str.1
	.asciz	"PT3: [%s] exited\n"

	.comm	_PT3_FETCH_DELAY,4,2            ; @PT3_FETCH_DELAY
	.comm	_PT3_FETCH_DELAY_DELTA,4,2      ; @PT3_FETCH_DELAY_DELTA
	.comm	_PT3_INITIAL_BUF_DROPS,8,3      ; @PT3_INITIAL_BUF_DROPS
	.no_dead_strip	_pt3_fetch_thread
.subsections_via_symbols
