	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vfe_disable_output
_vfe_disable_output:                    ## @vfe_disable_output
	.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, %r13
	callq	_to_vfe
	movq	%rax, %r15
	movq	16(%rax), %r12
	movq	%rax, %r14
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	$1, 8(%r13)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	leaq	36(%r13), %rbx
	movq	_VFE_NEXT_SOF_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_wait_for_completion_timeout
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, 12(%r13)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	*96(%r12)
	incq	%rbx
	movl	12(%r13), %eax
	cmpq	%rax, %rbx
	jb	LBB0_4
LBB0_5:
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	*88(%r12)
	movl	$1, 16(%r13)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	leaq	32(%r13), %rbx
	movq	_VFE_NEXT_SOF_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_wait_for_completion_timeout
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	(%r15), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%r13), %edx
	movq	_VFE_LINE_PIX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_14
## %bb.8:
	leaq	8(%r13), %rbx
	cmpl	$0, 12(%r13)
	je	LBB0_12
## %bb.9:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	*56(%r12)
	movq	24(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	*48(%r12)
	incq	%rbx
	movl	12(%r13), %eax
	cmpq	%rax, %rbx
	jb	LBB0_10
## %bb.11:
	movl	(%r13), %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_12:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	*40(%r12)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*32(%r12)
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	*24(%r12)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	*16(%r12)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*8(%r12)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	*(%r12)
	jmp	LBB0_13
LBB0_14:
	movq	24(%r13), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	*80(%r12)
	movq	24(%r13), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	*72(%r12)
	movq	24(%r13), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	*64(%r12)
	movq	24(%r13), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	*48(%r12)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VFE_NEXT_SOF_MS,4,2            ## @VFE_NEXT_SOF_MS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VFE sof timeout\n"

L_.str.1:                               ## @.str.1
	.asciz	"VFE reg update timeout\n"

	.comm	_VFE_LINE_PIX,4,2               ## @VFE_LINE_PIX
	.no_dead_strip	_vfe_disable_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vfe_disable_output
_vfe_disable_output:                    ; @vfe_disable_output
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x0
	bl	_to_vfe
	mov	x19, x0
	ldr	x24, [x0, #16]
	add	x20, x0, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	w8, #1
	mov	x22, x21
	str	w8, [x22, #8]!
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x23, x22, #28
Lloh0:
	adrp	x25, _VFE_NEXT_SOF_MS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _VFE_NEXT_SOF_MS@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x23
	bl	_wait_for_completion_timeout
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_5
; %bb.3:
	mov	x23, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #96]
	ldr	x9, [x21, #24]
	ldr	w1, [x9, x23, lsl #2]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	add	x23, x23, #1
	ldr	w8, [x21, #12]
	cmp	x23, x8
	b.lo	LBB0_4
LBB0_5:
	ldr	x8, [x24, #88]
	ldr	w1, [x21]
	mov	x0, x19
	blr	x8
	mov	w8, #1
	str	w8, [x21, #16]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x23, x21, #32
	ldr	w0, [x25]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x23
	bl	_wait_for_completion_timeout
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_7:
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w2, [x21]
Lloh6:
	adrp	x8, _VFE_LINE_PIX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VFE_LINE_PIX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_13
; %bb.8:
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_12
; %bb.9:
	mov	x23, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #56]
	ldr	x9, [x21, #24]
	lsl	x25, x23, #2
	ldr	w1, [x9, x25]
	mov	x0, x19
	mov	x2, #0
	mov	x3, x23
	mov	w4, #0
	blr	x8
	ldr	x8, [x24, #48]
	ldr	x9, [x21, #24]
	ldr	w1, [x9, x25]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	add	x23, x23, #1
	ldr	w8, [x21, #12]
	cmp	x23, x8
	b.lo	LBB0_10
; %bb.11:
	ldr	w2, [x21]
LBB0_12:
	ldr	x8, [x24, #40]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	blr	x8
	ldr	x8, [x24, #32]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	ldr	x8, [x24, #24]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	blr	x8
	ldr	x8, [x24, #16]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	blr	x8
	ldr	x8, [x24, #8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	b	LBB0_14
LBB0_13:
	ldr	x8, [x24, #80]
	ldr	x9, [x21, #24]
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	x8, [x24, #72]
	ldr	x9, [x21, #24]
	ldr	w1, [x9]
	ldr	w2, [x21]
	mov	x0, x19
	blr	x8
	ldr	x8, [x24, #64]
	ldr	x9, [x21, #24]
	ldr	w1, [x9]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w3, #0
	blr	x8
	ldr	x8, [x24, #48]
	ldr	x9, [x21, #24]
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_14:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VFE_NEXT_SOF_MS,4,2            ; @VFE_NEXT_SOF_MS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VFE sof timeout\n"

l_.str.1:                               ; @.str.1
	.asciz	"VFE reg update timeout\n"

	.comm	_VFE_LINE_PIX,4,2               ; @VFE_LINE_PIX
	.no_dead_strip	_vfe_disable_output
.subsections_via_symbols
