	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qxl_release_validate_bo
_qxl_release_validate_bo:               ## @qxl_release_validate_bo
	.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	$1, -16(%rbp)
	cmpl	$0, 24(%rdi)
	je	LBB0_1
LBB0_2:
	movl	8(%rbx), %edi
	movl	$1, %esi
	callq	_dma_resv_reserve_shared
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_qxl_bo_check_id
	jmp	LBB0_4
LBB0_1:
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_qxl_ttm_placement_from_domain
	leaq	16(%rbx), %rsi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_ttm_bo_validate
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qxl_release_validate_bo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qxl_release_validate_bo
_qxl_release_validate_bo:               ; @qxl_release_validate_bo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #1
	str	x8, [sp, #8]
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_3
LBB0_1:
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_dma_resv_reserve_shared
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_qxl_bo_check_id
	b	LBB0_4
LBB0_3:
	ldr	w1, [x19, #20]
	mov	x0, x19
	mov	w2, #0
	bl	_qxl_ttm_placement_from_domain
	add	x1, x19, #16
	add	x2, sp, #8
	mov	x0, x19
	bl	_ttm_bo_validate
	cbz	w0, LBB0_1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qxl_release_validate_bo
.subsections_via_symbols
