	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_enable_vblank
_decon_enable_vblank:                   ## @decon_enable_vblank
	.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	8(%rdi), %rbx
	movq	_VIDINTCON0_INTEN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	_VIDINTCON0_FRAMEDONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	jmp	LBB0_3
LBB0_1:
	movq	_VIDINTCON0_INTFRMEN@GOTPCREL(%rip), %rcx
	movq	_VIDINTCON0_FRAMESEL_FP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
LBB0_3:
	orl	(%rax), %edi
	movq	_DECON_VIDINTCON0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	callq	_writel
	movl	8(%rbx), %edi
	callq	_enable_irq
	movq	_I80_HW_TRG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_5
## %bb.4:
	movl	4(%rbx), %edi
	callq	_enable_irq
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDINTCON0_INTEN,4,2           ## @VIDINTCON0_INTEN
	.comm	_VIDINTCON0_FRAMEDONE,4,2       ## @VIDINTCON0_FRAMEDONE
	.comm	_VIDINTCON0_INTFRMEN,4,2        ## @VIDINTCON0_INTFRMEN
	.comm	_VIDINTCON0_FRAMESEL_FP,4,2     ## @VIDINTCON0_FRAMESEL_FP
	.comm	_DECON_VIDINTCON0,8,3           ## @DECON_VIDINTCON0
	.comm	_I80_HW_TRG,4,2                 ## @I80_HW_TRG
	.no_dead_strip	_decon_enable_vblank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_enable_vblank
_decon_enable_vblank:                   ; @decon_enable_vblank
	.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
Lloh0:
	adrp	x8, _VIDINTCON0_INTEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDINTCON0_INTEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	x9, x19, [x0]
Lloh3:
	adrp	x10, _VIDINTCON0_FRAMEDONE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VIDINTCON0_FRAMEDONE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _VIDINTCON0_INTFRMEN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _VIDINTCON0_INTFRMEN@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _VIDINTCON0_FRAMESEL_FP@GOTPAGE
Lloh10:
	ldr	x12, [x12, _VIDINTCON0_FRAMESEL_FP@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	orr	w11, w12, w11
	cmp	x9, #0
	csel	w9, w11, w10, eq
	orr	w0, w9, w8
	ldr	x8, [x19, #16]
Lloh12:
	adrp	x9, _DECON_VIDINTCON0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DECON_VIDINTCON0@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #8]
	bl	_enable_irq
	ldr	w8, [x19]
Lloh15:
	adrp	x9, _I80_HW_TRG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I80_HW_TRG@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_enable_irq
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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDINTCON0_INTEN,4,2           ; @VIDINTCON0_INTEN
	.comm	_VIDINTCON0_FRAMEDONE,4,2       ; @VIDINTCON0_FRAMEDONE
	.comm	_VIDINTCON0_INTFRMEN,4,2        ; @VIDINTCON0_INTFRMEN
	.comm	_VIDINTCON0_FRAMESEL_FP,4,2     ; @VIDINTCON0_FRAMESEL_FP
	.comm	_DECON_VIDINTCON0,8,3           ; @DECON_VIDINTCON0
	.comm	_I80_HW_TRG,4,2                 ; @I80_HW_TRG
	.no_dead_strip	_decon_enable_vblank
.subsections_via_symbols
