	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_overlay_continue
_intel_overlay_continue:                ## @intel_overlay_continue
	.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
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	(%rdi), %r14d
	xorl	%edi, %edi
	cmpl	$0, 4(%r12)
	sete	%dil
	callq	_WARN_ON
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_OFC_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movq	_DOVSTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	testl	$131072, %eax                   ## imm = 0x20000
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_DEBUG
LBB0_4:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_alloc_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	jmp	LBB0_6
LBB0_7:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_intel_ring_begin
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_i915_request_add
	movq	%r13, %rdi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_9:
	movq	_MI_OVERLAY_FLIP@GOTPCREL(%rip), %rax
	movq	_MI_OVERLAY_CONTINUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%r14d, %r15d
	movl	%ecx, (%r13)
	movq	%r13, %rsi
	addq	$8, %rsi
	movl	%r15d, 4(%r13)
	movq	%rbx, %rdi
	callq	_intel_ring_advance
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_intel_overlay_flip_prepare
	movq	%rbx, %rdi
	callq	_i915_request_add
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OFC_UPDATE,4,2                 ## @OFC_UPDATE
	.comm	_DOVSTA,4,2                     ## @DOVSTA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"overlay underrun, DOVSTA: %x\n"

	.comm	_MI_OVERLAY_FLIP,4,2            ## @MI_OVERLAY_FLIP
	.comm	_MI_OVERLAY_CONTINUE,4,2        ## @MI_OVERLAY_CONTINUE
	.no_dead_strip	_intel_overlay_continue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_overlay_continue
_intel_overlay_continue:                ; @intel_overlay_continue
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldp	w23, w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
Lloh0:
	adrp	x8, _OFC_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OFC_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, #0
	csel	w24, wzr, w8, eq
Lloh3:
	adrp	x8, _DOVSTA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DOVSTA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_I915_READ
	tbz	w0, #17, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
LBB0_2:
	mov	x0, x20
	mov	x1, #0
	bl	_alloc_request
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	mov	w1, #2
	bl	_intel_ring_begin
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_i915_request_add
	mov	x0, x22
LBB0_6:
	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
	b	_PTR_ERR
LBB0_7:
	orr	w8, w24, w23
Lloh8:
	adrp	x9, _MI_OVERLAY_FLIP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MI_OVERLAY_FLIP@GOTPAGEOFF]
Lloh10:
	adrp	x10, _MI_OVERLAY_CONTINUE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MI_OVERLAY_CONTINUE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	ldr	w10, [x10]
	orr	w9, w10, w9
	add	x1, x22, #8
	stp	w9, w8, [x22]
	mov	x0, x21
	bl	_intel_ring_advance
	mov	x0, x20
	mov	x1, x19
	bl	_intel_overlay_flip_prepare
	mov	x0, x21
	bl	_i915_request_add
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OFC_UPDATE,4,2                 ; @OFC_UPDATE
	.comm	_DOVSTA,4,2                     ; @DOVSTA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"overlay underrun, DOVSTA: %x\n"

	.comm	_MI_OVERLAY_FLIP,4,2            ; @MI_OVERLAY_FLIP
	.comm	_MI_OVERLAY_CONTINUE,4,2        ; @MI_OVERLAY_CONTINUE
	.no_dead_strip	_intel_overlay_continue
.subsections_via_symbols
