	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qxl_bo_kunmap                  ## -- Begin function qxl_bo_kunmap
	.p2align	4, 0x90
_qxl_bo_kunmap:                         ## @qxl_bo_kunmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rdi)
	cmpq	$1, %rax
	jle	LBB0_3
LBB0_2:
	popq	%rbp
	retq
LBB0_3:
	movq	$0, 16(%rdi)
	addq	$8, %rdi
	popq	%rbp
	jmp	_ttm_bo_kunmap                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qxl_bo_kunmap                  ; -- Begin function qxl_bo_kunmap
	.p2align	2
_qxl_bo_kunmap:                         ; @qxl_bo_kunmap
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.le	LBB0_3
LBB0_2:
	ret
LBB0_3:
	str	xzr, [x0, #16]
	add	x0, x0, #8
	b	_ttm_bo_kunmap
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
