	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspeed_video_enable_mode_detect
_aspeed_video_enable_mode_detect:       ## @aspeed_video_enable_mode_detect
	.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
	movq	_VE_INTERRUPT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VE_INTERRUPT_MODE_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_aspeed_video_update
	movq	_VE_SEQ_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VE_SEQ_CTRL_TRIG_MODE_DET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_aspeed_video_update            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VE_INTERRUPT_CTRL,4,2          ## @VE_INTERRUPT_CTRL
	.comm	_VE_INTERRUPT_MODE_DETECT,4,2   ## @VE_INTERRUPT_MODE_DETECT
	.comm	_VE_SEQ_CTRL,4,2                ## @VE_SEQ_CTRL
	.comm	_VE_SEQ_CTRL_TRIG_MODE_DET,4,2  ## @VE_SEQ_CTRL_TRIG_MODE_DET
	.no_dead_strip	_aspeed_video_enable_mode_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspeed_video_enable_mode_detect
_aspeed_video_enable_mode_detect:       ; @aspeed_video_enable_mode_detect
	.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
Lloh0:
	adrp	x8, _VE_INTERRUPT_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VE_INTERRUPT_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VE_INTERRUPT_MODE_DETECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VE_INTERRUPT_MODE_DETECT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_aspeed_video_update
Lloh6:
	adrp	x8, _VE_SEQ_CTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VE_SEQ_CTRL@GOTPAGEOFF]
Lloh8:
	adrp	x9, _VE_SEQ_CTRL_TRIG_MODE_DET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VE_SEQ_CTRL_TRIG_MODE_DET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w3, [x9]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_aspeed_video_update
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VE_INTERRUPT_CTRL,4,2          ; @VE_INTERRUPT_CTRL
	.comm	_VE_INTERRUPT_MODE_DETECT,4,2   ; @VE_INTERRUPT_MODE_DETECT
	.comm	_VE_SEQ_CTRL,4,2                ; @VE_SEQ_CTRL
	.comm	_VE_SEQ_CTRL_TRIG_MODE_DET,4,2  ; @VE_SEQ_CTRL_TRIG_MODE_DET
	.no_dead_strip	_aspeed_video_enable_mode_detect
.subsections_via_symbols
