	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_update_memory_usage
_radeon_update_memory_usage:            ## @radeon_update_memory_usage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	8(%rdi), %rsi
	movl	(%rdi), %edi
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.2:
	addq	$4, %rsi
	testl	%edx, %edx
	jg	LBB0_5
LBB0_3:
	popq	%rbp
	jmp	_atomic64_sub                   ## TAILCALL
LBB0_4:
	testl	%edx, %edx
	jle	LBB0_3
LBB0_5:
	popq	%rbp
	jmp	_atomic64_add                   ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_radeon_update_memory_usage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_update_memory_usage
_radeon_update_memory_usage:            ; @radeon_update_memory_usage
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	x1, [x0, #8]
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsl	w0, w9, w10
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
	add	x1, x1, #4
	cmp	w2, #1
	b.ge	LBB0_5
LBB0_3:
	b	_atomic64_sub
LBB0_4:
	cmp	w2, #1
	b.lt	LBB0_3
LBB0_5:
	b	_atomic64_add
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_radeon_update_memory_usage
.subsections_via_symbols
