	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_crtc_page_flip
_radeon_crtc_page_flip:                 ## @radeon_crtc_page_flip
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r13
	callq	_to_radeon_crtc
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r12)
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, 24(%r12)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, 20(%r12)
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rdi
	callq	_to_radeon_framebuffer
	movq	%rax, %rbx
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_to_radeon_framebuffer
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_drm_gem_object_reference
	movq	%rbx, %rdi
	callq	_gem_to_radeon_bo
	movq	%rax, 8(%r12)
	movq	(%r15), %rdi
	callq	_gem_to_radeon_bo
	movq	%rax, %r13
	movq	(%rax), %rdi
	callq	_spin_lock
	movq	8(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_radeon_fence_ref
	movl	%eax, 4(%r12)
LBB0_4:
	movq	(%r13), %rdi
	callq	_spin_unlock
	leaq	16(%r12), %rdi
	movq	_radeon_unpin_work_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_32
LBB0_6:
	movq	%r12, (%rax)
	movq	$0, 24(%rax)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	8(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_DRM_DEBUG_DRIVER
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_radeon_bo_reserve
	movl	%eax, %r15d
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_ERROR
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_30
LBB0_8:
	movq	_RADEON_GEM_DOMAIN_VRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_ASIC_IS_AVIVO
	xorl	%edx, %edx
	testq	%rax, %rax
	sete	%dl
	shll	$27, %edx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_radeon_bo_pin_restricted
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_radeon_bo_unreserve
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	leaq	L_.str.3(%rip), %rdi
	callq	_DRM_ERROR
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_30
LBB0_10:
	leaq	-92(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_radeon_bo_get_tiling_flags
	movq	%r13, %rdi
	callq	_radeon_bo_unreserve
	movq	%r15, %rdi
	callq	_ASIC_IS_AVIVO
	testq	%rax, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_23
## %bb.11:
	movl	-44(%rbp), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subl	16(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movq	(%r14), %rax
	movl	8(%r14), %esi
	leal	7(%rsi), %edi
	testl	%esi, %esi
	cmovnsl	%esi, %edi
	movl	(%rax), %eax
	sarl	$3, %edi
	cltd
	idivl	%edi
	movl	%eax, %r15d
	movq	_RADEON_TILING_MACRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -92(%rbp)
	je	LBB0_15
## %bb.12:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_ASIC_IS_R300
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	$-2048, %r15d                   ## imm = 0xF800
	andl	-44(%rbp), %r15d
	jmp	LBB0_22
LBB0_15:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	imull	(%rax), %r15d
	addl	4(%rax), %r15d
	leal	-15(%rsi), %eax
	cmpl	$2, %eax
	jb	LBB0_19
## %bb.16:
	cmpl	$24, %esi
	je	LBB0_20
## %bb.17:
	cmpl	$32, %esi
	jne	LBB0_21
## %bb.18:
	shll	$2, %r15d
	jmp	LBB0_21
LBB0_14:
	movl	8(%r14), %eax
	shrl	$4, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edx
	movl	4(%rcx), %edi
	movl	%edx, %esi
	sarl	$3, %esi
	imull	%r15d, %esi
	addl	%edi, %esi
	movb	$8, %cl
	subb	%al, %cl
	sarl	%cl, %esi
	movl	%eax, %ecx
	shll	%cl, %edi
	shll	$11, %esi
	leal	255(%rdi), %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	andl	$-256, %eax
	subl	%eax, %edi
	leal	7(%rdx), %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	andl	$16777208, %eax                 ## imm = 0xFFFFF8
	subl	%eax, %edx
	shll	$8, %edx
	addl	-44(%rbp), %edx
	addl	%edi, %edx
	addl	%esi, %edx
	movl	%edx, %r15d
	jmp	LBB0_22
LBB0_19:
	addl	%r15d, %r15d
	jmp	LBB0_21
LBB0_20:
	leal	(%r15,%r15,2), %r15d
LBB0_21:
	addl	%ecx, %r15d
LBB0_22:
	andl	$-8, %r15d
	movl	%r15d, -44(%rbp)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_23:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	-44(%rbp), %eax
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movl	%eax, (%r12)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, 8(%r15)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	callq	_drm_vblank_get
	testl	%eax, %eax
	je	LBB0_33
## %bb.24:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rdi
	callq	_DRM_ERROR
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_radeon_bo_reserve
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	leaq	L_.str.5(%rip), %rdi
	callq	_DRM_ERROR
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_29
LBB0_33:
	movl	8(%r12), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_radeon_pre_page_flip
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_26:
	movq	%r13, %rdi
	callq	_radeon_bo_unpin
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	je	LBB0_28
## %bb.27:
	leaq	L_.str.6(%rip), %rdi
	callq	_DRM_ERROR
LBB0_28:
	movq	%r13, %rdi
	callq	_radeon_bo_unreserve
LBB0_29:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_30:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
LBB0_31:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%r14), %rdi
	callq	_drm_gem_object_unreference_unlocked
	movq	%r12, %rdi
	addq	$4, %rdi
	callq	_radeon_fence_unref
	movq	%r12, %rdi
	callq	_kfree
LBB0_32:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_radeon_unpin_work_func,4,2     ## @radeon_unpin_work_func
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flip queue: crtc already busy\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"flip-ioctl() cur_fbo = %p, cur_bbo = %p\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to reserve new rbo buffer before flip\n"

	.comm	_RADEON_GEM_DOMAIN_VRAM,4,2     ## @RADEON_GEM_DOMAIN_VRAM
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"failed to pin new rbo buffer before flip\n"

	.comm	_RADEON_TILING_MACRO,4,2        ## @RADEON_TILING_MACRO
L_.str.4:                               ## @.str.4
	.asciz	"failed to get vblank before flip\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to reserve new rbo in error path\n"

L_.str.6:                               ## @.str.6
	.asciz	"failed to unpin new rbo in error path\n"

	.no_dead_strip	_radeon_crtc_page_flip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_crtc_page_flip
_radeon_crtc_page_flip:                 ; @radeon_crtc_page_flip
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x25, x1
	mov	x26, x0
	ldr	x19, [x0, #16]
	ldr	x23, [x19, #8]
	bl	_to_radeon_crtc
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	stp	x23, x22, [x0, #24]
	ldr	w8, [x21, #8]
	str	w8, [x0, #20]
	ldr	x0, [x26, #8]
	bl	_to_radeon_framebuffer
	mov	x22, x0
	mov	x0, x25
	bl	_to_radeon_framebuffer
	mov	x24, x0
	ldr	x27, [x22]
	mov	x0, x27
	bl	_drm_gem_object_reference
	mov	x0, x27
	bl	_gem_to_radeon_bo
	str	x0, [x20, #8]
	ldr	x0, [x24]
	bl	_gem_to_radeon_bo
	mov	x24, x0
	ldr	x0, [x0]
	bl	_spin_lock
	ldr	x0, [x24, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_radeon_fence_ref
	str	w0, [x20, #4]
LBB0_3:
	ldr	x0, [x24]
	bl	_spin_unlock
	add	x0, x20, #16
Lloh3:
	adrp	x8, _radeon_unpin_work_func@GOTPAGE
Lloh4:
	ldr	x8, [x8, _radeon_unpin_work_func@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
Lloh8:
	adrp	x8, _EBUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w27, w8
	b	LBB0_12
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w27, w8
	b	LBB0_13
LBB0_6:
	str	x20, [x21]
	str	xzr, [x21, #24]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x8, [x20, #8]
	stp	x8, x24, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	mov	x0, x24
	mov	w1, #0
	bl	_radeon_bo_reserve
	mov	x27, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.7:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh18:
	adrp	x8, _RADEON_GEM_DOMAIN_VRAM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RADEON_GEM_DOMAIN_VRAM@GOTPAGEOFF]
Lloh20:
	ldr	w27, [x8]
	mov	x0, x23
	bl	_ASIC_IS_AVIVO
	cmp	x0, #0
	cset	w8, eq
	lsl	w2, w8, #27
	add	x3, sp, #24
	mov	x0, x24
	mov	x1, x27
	bl	_radeon_bo_pin_restricted
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.9:
	mov	x0, x24
	bl	_radeon_bo_unreserve
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w27, w8
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_10:
	bl	_DRM_ERROR
LBB0_11:
	mov	x0, x19
	bl	_spin_lock_irqsave
	str	xzr, [x21]
LBB0_12:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x0, [x22]
	bl	_drm_gem_object_unreference_unlocked
	add	x0, x20, #4
	bl	_radeon_fence_unref
	mov	x0, x20
	bl	_kfree
LBB0_13:
	mov	x0, x27
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	add	x1, sp, #28
	mov	x0, x24
	mov	x2, #0
	bl	_radeon_bo_get_tiling_flags
	mov	x0, x24
	bl	_radeon_bo_unreserve
	mov	x0, x23
	bl	_ASIC_IS_AVIVO
	cbnz	x0, LBB0_21
; %bb.15:
	ldr	w8, [x21, #16]
	ldr	w9, [sp, #24]
	sub	w8, w9, w8
	str	w8, [sp, #24]
	ldr	x9, [x25]
	ldr	w10, [x9]
	ldr	w9, [x25, #8]
	add	w11, w9, #7
	cmp	w9, #0
	csel	w11, w11, w9, lt
	asr	w11, w11, #3
	sdiv	w27, w10, w11
	ldr	w10, [sp, #28]
Lloh26:
	adrp	x11, _RADEON_TILING_MACRO@GOTPAGE
Lloh27:
	ldr	x11, [x11, _RADEON_TILING_MACRO@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_18
; %bb.16:
	mov	x0, x23
	bl	_ASIC_IS_R300
	cbz	x0, LBB0_19
; %bb.17:
	ldr	w8, [sp, #24]
	and	w8, w8, #0xfffff800
	b	LBB0_20
LBB0_18:
	ldp	w10, w11, [x26]
	madd	w10, w10, w27, w11
	sub	w11, w9, #15
	lsl	w12, w10, #1
	add	w13, w10, w10, lsl #1
	lsl	w14, w10, #2
	cmp	w9, #32
	csel	w10, w14, w10, eq
	cmp	w9, #24
	csel	w9, w13, w10, eq
	cmp	w11, #2
	csel	w9, w12, w9, lo
	add	w8, w9, w8
	b	LBB0_20
LBB0_19:
	ldr	w8, [x25, #8]
	asr	w8, w8, #4
	ldp	w9, w10, [x26]
	asr	w11, w9, #3
	madd	w11, w11, w27, w10
	mov	w12, #8
	sub	w12, w12, w8
	asr	w11, w11, w12
	lsl	w8, w10, w8
	and	w10, w8, #0xff
	negs	w8, w8
	and	w8, w8, #0xff
	csneg	w8, w10, w8, mi
	negs	w10, w9
	and	w10, w10, #0x7
	and	w9, w9, #0x7
	csneg	w9, w9, w10, mi
	ldr	w10, [sp, #24]
	add	w9, w10, w9, lsl #8
	add	w8, w9, w8
	add	w8, w8, w11, lsl #11
LBB0_20:
	and	w8, w8, #0xfffffff8
	str	w8, [sp, #24]
LBB0_21:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [sp, #24]
	str	w8, [x20]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	str	x25, [x26, #8]
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_drm_vblank_get
	mov	x27, x0
	cbz	w0, LBB0_24
; %bb.22:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_ERROR
	mov	x0, x24
	mov	w1, #0
	bl	_radeon_bo_reserve
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_25
; %bb.23:
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_10
LBB0_24:
	ldr	w1, [x21, #8]
	mov	x0, x23
	bl	_radeon_pre_page_flip
	b	LBB0_13
LBB0_25:
	mov	x0, x24
	bl	_radeon_bo_unpin
	cmp	x0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_27
; %bb.26:
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DRM_ERROR
LBB0_27:
	mov	x0, x24
	bl	_radeon_bo_unreserve
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_radeon_unpin_work_func,4,2     ; @radeon_unpin_work_func
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flip queue: crtc already busy\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"flip-ioctl() cur_fbo = %p, cur_bbo = %p\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to reserve new rbo buffer before flip\n"

	.comm	_RADEON_GEM_DOMAIN_VRAM,4,2     ; @RADEON_GEM_DOMAIN_VRAM
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"failed to pin new rbo buffer before flip\n"

	.comm	_RADEON_TILING_MACRO,4,2        ; @RADEON_TILING_MACRO
l_.str.4:                               ; @.str.4
	.asciz	"failed to get vblank before flip\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to reserve new rbo in error path\n"

l_.str.6:                               ; @.str.6
	.asciz	"failed to unpin new rbo in error path\n"

	.no_dead_strip	_radeon_crtc_page_flip
.subsections_via_symbols
