	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_vm_pt_sibling
_amdgpu_vm_pt_sibling:                  ## @amdgpu_vm_pt_sibling
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rsi)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rsi), %rsi
	decq	%rsi
	callq	_amdgpu_vm_level_shift
	movl	%eax, %r15d
	movq	24(%rbx), %rsi
	decq	%rsi
	movq	%r12, %rdi
	callq	_amdgpu_vm_num_entries
                                        ## kill: def $eax killed $eax def $rax
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rcx
	decl	%eax
	shlq	$2, %rax
	addq	(%rcx), %rax
	cmpq	%rax, %rdx
	je	LBB0_3
## %bb.2:
	movl	$1, %eax
	movl	%r15d, %ecx
	shlq	%cl, %rax
	movq	(%rbx), %rcx
	addq	%rax, %rcx
	negq	%rax
	andq	%rcx, %rax
	movq	%rax, (%rbx)
	addq	$4, %rdx
	movq	%rdx, 8(%rbx)
	movl	$1, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_amdgpu_vm_pt_sibling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_vm_pt_sibling
_amdgpu_vm_pt_sibling:                  ; @amdgpu_vm_pt_sibling
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1, #24]
	sub	x1, x8, #1
	bl	_amdgpu_vm_level_shift
	mov	x20, x0
	ldr	x8, [x19, #24]
	sub	x1, x8, #1
	mov	x0, x21
	bl	_amdgpu_vm_num_entries
	ldp	x8, x9, [x19, #8]
	ldr	x9, [x9]
	sub	w10, w0, #1
	add	x9, x9, w10, uxtw #2
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #1
	lsl	x9, x0, x20
	ldr	x10, [x19]
	add	x10, x10, x9
	neg	x9, x9
	and	x9, x10, x9
	add	x8, x8, #4
	stp	x9, x8, [x19]
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_amdgpu_vm_pt_sibling
.subsections_via_symbols
