	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r100_cs_track_check            ## -- Begin function r100_cs_track_check
	.p2align	4, 0x90
_r100_cs_track_check:                   ## @r100_cs_track_check
	.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	%rsi, %r12
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	cmpl	$0, (%rsi)
	je	LBB0_10
## %bb.1:
	movl	4(%r12), %r13d
	testq	%r13, %r13
	je	LBB0_10
## %bb.2:
	cmpl	$0, 160(%r12)
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 156(%r12)
	jne	LBB0_5
## %bb.4:
	cmpl	$0, 152(%r12)
	je	LBB0_10
LBB0_5:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$24, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	96(%r12), %rax
	movq	(%rax,%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-16(%rax,%r14), %rbx
	imulq	-24(%rax,%r14), %rbx
	imulq	8(%r12), %rbx
	addq	-8(%rax,%r14), %rbx
	callq	_radeon_bo_size
	cltq
	cmpq	%rax, %rbx
	ja	LBB0_36
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	addq	$32, %r14
	cmpq	%r15, %r13
	jne	LBB0_6
## %bb.9:
	movl	%r13d, %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_10:
	movl	$0, (%r12)
	cmpl	$0, 16(%r12)
	je	LBB0_15
## %bb.11:
	cmpq	$0, 144(%r12)
	je	LBB0_15
## %bb.12:
	movq	136(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.13:
	movq	120(%r12), %rbx
	imulq	112(%r12), %rbx
	imulq	8(%r12), %rbx
	addq	128(%r12), %rbx
	callq	_radeon_bo_size
	cltq
	cmpq	%rax, %rbx
	jbe	LBB0_15
## %bb.14:
	movq	136(%r12), %rdi
	callq	_radeon_bo_size
	leaq	L_.str.4(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	8(%r12), %r8
	movq	112(%r12), %rsi
	movq	120(%r12), %rdx
	movq	128(%r12), %rcx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_52
LBB0_15:
	movl	$0, 16(%r12)
	cmpl	$0, 20(%r12)
	je	LBB0_20
## %bb.16:
	cmpq	$0, 104(%r12)
	je	LBB0_20
## %bb.17:
	movq	88(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_44
## %bb.18:
	movq	96(%r12), %rax
	movq	8(%rax), %rbx
	imulq	72(%r12), %rbx
	imulq	8(%r12), %rbx
	addq	80(%r12), %rbx
	callq	_radeon_bo_size
	cltq
	cmpq	%rax, %rbx
	jbe	LBB0_20
## %bb.19:
	movq	88(%r12), %rdi
	callq	_radeon_bo_size
	leaq	L_.str.7(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	8(%r12), %r9
	movq	72(%r12), %rdx
	movq	96(%r12), %rax
	movq	8(%rax), %rcx
	movq	80(%r12), %r8
	leaq	L_.str.8(%rip), %rdi
	movl	%r15d, %esi
	jmp	LBB0_37
LBB0_20:
	movl	$0, 20(%r12)
	movl	24(%r12), %ebx
	movl	%ebx, %esi
	shrl	$4, %esi
	andl	$3, %esi
	testl	$16384, %ebx                    ## imm = 0x4000
	jne	LBB0_29
## %bb.21:
	shrl	$16, %ebx
	cmpl	$1, %esi
	je	LBB0_30
LBB0_22:
	cmpl	$3, %esi
	je	LBB0_39
## %bb.23:
	cmpl	$2, %esi
	jne	LBB0_42
## %bb.24:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, 32(%r12)
	je	LBB0_40
## %bb.25:
	leal	-4(,%rbx,4), %r14d
	movl	$8, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r12), %rax
	movq	(%rax,%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_48
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	-8(%rax,%r13), %ebx
	imull	%r14d, %ebx
	callq	_radeon_bo_size
	cltq
	cmpq	%rax, %rbx
	ja	LBB0_49
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	incq	%r15
	movl	32(%r12), %eax
	addq	$16, %r13
	cmpq	%rax, %r15
	jb	LBB0_26
	jmp	LBB0_40
LBB0_29:
	movl	28(%r12), %ebx
	cmpl	$1, %esi
	jne	LBB0_22
LBB0_30:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, 32(%r12)
	je	LBB0_40
## %bb.31:
	movl	$8, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r12), %rax
	movq	(%rax,%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_50
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movl	-8(%rax,%r14), %ebx
	imull	36(%r12), %ebx
	shll	$2, %ebx
	callq	_radeon_bo_size
	cmpl	%eax, %ebx
	ja	LBB0_55
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	incq	%r13
	movl	32(%r12), %eax
	addq	$16, %r14
	cmpq	%rax, %r13
	jb	LBB0_32
	jmp	LBB0_40
LBB0_35:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%r15d, %esi
	jmp	LBB0_45
LBB0_36:
	movq	96(%r12), %rax
	movl	%r15d, %r13d
	shlq	$5, %r13
	movq	24(%rax,%r13), %rdi
	callq	_radeon_bo_size
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movq	8(%r12), %r9
	movq	96(%r12), %rax
	movq	(%rax,%r13), %rdx
	movq	8(%rax,%r13), %rcx
	movq	16(%rax,%r13), %r8
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
LBB0_37:
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_52
LBB0_38:
	leaq	L_.str.3(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_52
LBB0_39:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	40(%r12), %edx
	imull	%ebx, %edx
	movq	48(%r12), %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_47
LBB0_40:
	cmpl	$0, 56(%r12)
	je	LBB0_46
## %bb.41:
	movl	$0, 56(%r12)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r100_cs_track_texture_check    ## TAILCALL
LBB0_42:
	leaq	L_.str.14(%rip), %rdi
LBB0_43:
	xorl	%r14d, %r14d
	jmp	LBB0_45
LBB0_44:
	leaq	L_.str.6(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%r15d, %esi
LBB0_45:
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_52
LBB0_46:
	xorl	%r14d, %r14d
	jmp	LBB0_54
LBB0_47:
	leaq	L_.str.12(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_DRM_ERROR
	movl	40(%r12), %edx
	leaq	L_.str.13(%rip), %rdi
	movl	%ebx, %esi
	jmp	LBB0_51
LBB0_48:
	leaq	L_.str.9(%rip), %rdi
	xorl	%r14d, %r14d
	movl	$2, %esi
	movl	%r15d, %edx
	jmp	LBB0_51
LBB0_49:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	shrl	$2, %ebx
	movq	64(%r12), %rax
	movq	(%rax,%r13), %rdi
	callq	_radeon_bo_size
	sarl	$2, %eax
	leaq	L_.str.10(%rip), %rsi
	movl	%r14d, %edi
	movl	$2, %edx
	movl	%r15d, %ecx
	movq	%rbx, %r8
	movl	%eax, %r9d
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_53
LBB0_50:
	leaq	L_.str.9(%rip), %rdi
	xorl	%r14d, %r14d
	movl	$1, %esi
	movl	%r13d, %edx
LBB0_51:
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_52:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_53:
	subl	(%rax), %r14d
LBB0_54:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_55:
	movslq	%ebx, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	shrq	$2, %r15
	movq	64(%r12), %rax
	movq	(%rax,%r14), %rdi
	callq	_radeon_bo_size
	sarl	$2, %eax
	leaq	L_.str.10(%rip), %rsi
	movl	%ebx, %edi
	movl	$1, %edx
	movl	%r13d, %ecx
	movq	%r15, %r8
	movl	%eax, %r9d
	callq	_dev_err
	movl	36(%r12), %esi
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[drm] No buffer for color buffer %d !\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"[drm] Buffer too small for color buffer %d (need %lu have %lu) !\n"

L_.str.2:                               ## @.str.2
	.asciz	"[drm] color buffer %d (%u %u %u %u)\n"

L_.str.3:                               ## @.str.3
	.asciz	"[drm] No buffer for z buffer !\n"

L_.str.4:                               ## @.str.4
	.asciz	"[drm] Buffer too small for z buffer (need %lu have %lu) !\n"

L_.str.5:                               ## @.str.5
	.asciz	"[drm] zbuffer (%u %u %u %u)\n"

L_.str.6:                               ## @.str.6
	.asciz	"[drm] No buffer for AA resolve buffer %d !\n"

L_.str.7:                               ## @.str.7
	.asciz	"[drm] Buffer too small for AA resolve buffer %d (need %lu have %lu) !\n"

L_.str.8:                               ## @.str.8
	.asciz	"[drm] AA resolve buffer %d (%u %u %u %u)\n"

L_.str.9:                               ## @.str.9
	.asciz	"(PW %u) Vertex array %u no buffer bound\n"

L_.str.10:                              ## @.str.10
	.asciz	"(PW %u) Vertex array %u need %lu dwords have %lu dwords\n"

L_.str.11:                              ## @.str.11
	.asciz	"Max indices %u\n"

L_.str.12:                              ## @.str.12
	.asciz	"IMMD draw %u dwors but needs %lu dwords\n"

L_.str.13:                              ## @.str.13
	.asciz	"VAP_VF_CNTL.NUM_VERTICES %u, VTX_SIZE %u\n"

L_.str.14:                              ## @.str.14
	.asciz	"[drm] Invalid primitive walk %d for VAP_VF_CNTL\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r100_cs_track_check            ; -- Begin function r100_cs_track_check
	.p2align	2
_r100_cs_track_check:                   ; @r100_cs_track_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	cbz	w8, LBB0_9
; %bb.1:
	ldr	w21, [x19, #4]
	cbz	w21, LBB0_10
; %bb.2:
	ldr	w8, [x19, #160]
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	w8, [x19, #156]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	w8, [x19, #152]
	cbz	w8, LBB0_9
LBB0_5:
	mov	x23, #0
	mov	x22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #96]
	add	x8, x8, x23
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_35
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x9, x10, [x8]
	mul	x9, x10, x9
	ldr	x10, [x19, #8]
	ldr	x8, [x8, #16]
	madd	x24, x9, x10, x8
	bl	_radeon_bo_size
	cmp	x24, w0, sxtw
	b.hi	LBB0_36
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	add	x23, x23, #32
	cmp	x21, x22
	b.ne	LBB0_6
	b	LBB0_10
LBB0_9:
	mov	w21, #0
LBB0_10:
	str	wzr, [x19]
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_15
; %bb.11:
	ldr	x8, [x19, #144]
	cbz	x8, LBB0_15
; %bb.12:
	ldr	x0, [x19, #136]
	cbz	x0, LBB0_37
; %bb.13:
	ldp	x8, x9, [x19, #112]
	mul	x8, x9, x8
	ldr	x9, [x19, #8]
	ldr	x10, [x19, #128]
	madd	x22, x8, x9, x10
	bl	_radeon_bo_size
	cmp	x22, w0, sxtw
	b.ls	LBB0_15
; %bb.14:
	ldr	x0, [x19, #136]
	bl	_radeon_bo_size
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh0:
	adrp	x0, l_.str.4@PAGE
Lloh1:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_ERROR
	ldr	q0, [x19, #112]
	ldr	x8, [x19, #128]
	ldr	x9, [x19, #8]
	stp	x8, x9, [sp, #16]
	str	q0, [sp]
Lloh2:
	adrp	x0, l_.str.5@PAGE
Lloh3:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_50
LBB0_15:
	str	wzr, [x19, #16]
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_20
; %bb.16:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_20
; %bb.17:
	ldr	x0, [x19, #88]
	cbz	x0, LBB0_42
; %bb.18:
	ldr	x8, [x19, #96]
	ldr	x8, [x8, #8]
	ldp	x9, x10, [x19, #72]
	mul	x8, x8, x9
	ldr	x9, [x19, #8]
	madd	x22, x8, x9, x10
	bl	_radeon_bo_size
	cmp	x22, w0, sxtw
	b.ls	LBB0_20
; %bb.19:
	ldr	x0, [x19, #88]
	bl	_radeon_bo_size
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #8]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh4:
	adrp	x0, l_.str.7@PAGE
Lloh5:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DRM_ERROR
	ldr	x8, [x19, #96]
	ldr	x8, [x8, #8]
	ldp	x9, x10, [x19, #72]
	ldr	x11, [x19, #8]
	stp	x10, x11, [sp, #24]
	stp	x9, x8, [sp, #8]
	str	x21, [sp]
Lloh6:
	adrp	x0, l_.str.8@PAGE
Lloh7:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_50
LBB0_20:
	str	wzr, [x19, #20]
	ldr	w9, [x19, #24]
	ubfx	w8, w9, #4, #2
	tbnz	w9, #14, LBB0_29
; %bb.21:
	lsr	w22, w9, #16
	cmp	w8, #1
	b.eq	LBB0_30
LBB0_22:
	cmp	w8, #3
	b.eq	LBB0_38
; %bb.23:
	cmp	w8, #2
	b.ne	LBB0_41
; %bb.24:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_39
; %bb.25:
	mov	x23, #0
	mov	x21, #0
	lsl	w8, w22, #2
	sub	w22, w8, #4
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	add	x9, x8, x23
	ldr	x0, [x9, #8]
	cbz	x0, LBB0_45
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x8, x23]
	mul	w24, w22, w8
	bl	_radeon_bo_size
	cmp	x24, w0, sxtw
	b.hi	LBB0_46
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x21, x21, #1
	ldr	w8, [x19, #32]
	add	x23, x23, #16
	cmp	x21, x8
	b.lo	LBB0_26
	b	LBB0_39
LBB0_29:
	ldr	w22, [x19, #28]
	cmp	w8, #1
	b.ne	LBB0_22
LBB0_30:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_39
; %bb.31:
	mov	x23, #0
	mov	x21, #0
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	add	x9, x8, x23
	ldr	x0, [x9, #8]
	cbz	x0, LBB0_47
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [x8, x23]
	ldr	w9, [x19, #36]
	mul	w8, w8, w9
	lsl	w22, w8, #2
	bl	_radeon_bo_size
	cmp	w22, w0
	b.hi	LBB0_49
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
	add	x21, x21, #1
	ldr	w8, [x19, #32]
	add	x23, x23, #16
	cmp	x21, x8
	b.lo	LBB0_32
	b	LBB0_39
LBB0_35:
	str	x22, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_50
LBB0_36:
	ldr	x8, [x19, #96]
	ubfiz	x20, x22, #5, #32
	add	x8, x8, x20
	ldr	x0, [x8, #24]
	bl	_radeon_bo_size
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #8]
	str	x22, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_ERROR
	ldr	x8, [x19, #96]
	add	x8, x8, x20
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #8]
	stp	x8, x9, [sp, #24]
	stur	q0, [sp, #8]
	str	x22, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_50
LBB0_37:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_50
LBB0_38:
	ldr	w8, [x19, #40]
	mul	w8, w8, w22
	ldr	x9, [x19, #48]
	cmp	x9, x8
	b.ne	LBB0_44
LBB0_39:
	ldr	w8, [x19, #56]
	cbz	w8, LBB0_43
; %bb.40:
	str	wzr, [x19, #56]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_r100_cs_track_texture_check
LBB0_41:
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.14@PAGE
Lloh17:
	add	x0, x0, l_.str.14@PAGEOFF
	b	LBB0_50
LBB0_42:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_50
LBB0_43:
	mov	w0, #0
	b	LBB0_52
LBB0_44:
	stp	x9, x8, [sp]
Lloh20:
	adrp	x0, l_.str.12@PAGE
Lloh21:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_DRM_ERROR
	ldr	w8, [x19, #40]
	stp	x22, x8, [sp]
Lloh22:
	adrp	x0, l_.str.13@PAGE
Lloh23:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_50
LBB0_45:
	mov	w8, #2
	b	LBB0_48
LBB0_46:
	ldr	w20, [x20]
	lsr	w22, w24, #2
	ldr	x8, [x19, #64]
	add	x8, x8, x23
	ldr	x0, [x8, #8]
	bl	_radeon_bo_size
	asr	w5, w0, #2
Lloh24:
	adrp	x1, l_.str.10@PAGE
Lloh25:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	w2, #2
	mov	x3, x21
	mov	x4, x22
	bl	_dev_err
	b	LBB0_51
LBB0_47:
	mov	w8, #1
LBB0_48:
	stp	x8, x21, [sp]
Lloh26:
	adrp	x0, l_.str.9@PAGE
Lloh27:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_50
LBB0_49:
	sxtw	x8, w22
	ldr	w20, [x20]
	lsr	x22, x8, #2
	ldr	x8, [x19, #64]
	add	x8, x8, x23
	ldr	x0, [x8, #8]
	bl	_radeon_bo_size
	asr	w5, w0, #2
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	mov	x3, x21
	mov	x4, x22
	bl	_dev_err
	ldr	w8, [x19, #36]
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.11@PAGE
Lloh31:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_50:
	bl	_DRM_ERROR
LBB0_51:
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_52:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[drm] No buffer for color buffer %d !\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"[drm] Buffer too small for color buffer %d (need %lu have %lu) !\n"

l_.str.2:                               ; @.str.2
	.asciz	"[drm] color buffer %d (%u %u %u %u)\n"

l_.str.3:                               ; @.str.3
	.asciz	"[drm] No buffer for z buffer !\n"

l_.str.4:                               ; @.str.4
	.asciz	"[drm] Buffer too small for z buffer (need %lu have %lu) !\n"

l_.str.5:                               ; @.str.5
	.asciz	"[drm] zbuffer (%u %u %u %u)\n"

l_.str.6:                               ; @.str.6
	.asciz	"[drm] No buffer for AA resolve buffer %d !\n"

l_.str.7:                               ; @.str.7
	.asciz	"[drm] Buffer too small for AA resolve buffer %d (need %lu have %lu) !\n"

l_.str.8:                               ; @.str.8
	.asciz	"[drm] AA resolve buffer %d (%u %u %u %u)\n"

l_.str.9:                               ; @.str.9
	.asciz	"(PW %u) Vertex array %u no buffer bound\n"

l_.str.10:                              ; @.str.10
	.asciz	"(PW %u) Vertex array %u need %lu dwords have %lu dwords\n"

l_.str.11:                              ; @.str.11
	.asciz	"Max indices %u\n"

l_.str.12:                              ; @.str.12
	.asciz	"IMMD draw %u dwors but needs %lu dwords\n"

l_.str.13:                              ; @.str.13
	.asciz	"VAP_VF_CNTL.NUM_VERTICES %u, VTX_SIZE %u\n"

l_.str.14:                              ; @.str.14
	.asciz	"[drm] Invalid primitive walk %d for VAP_VF_CNTL\n"

.subsections_via_symbols
