	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_vmm_pfn_split_merge
_nvkm_vmm_pfn_split_merge:              ## @nvkm_vmm_pfn_split_merge
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpq	%rdx, (%rsi)
	jne	LBB0_5
## %bb.1:
	cmpq	$0, 32(%rbx)
	je	LBB0_5
## %bb.2:
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	cmpq	$0, 24(%rax)
	jne	LBB0_5
## %bb.4:
	movq	%rax, %r13
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, 8(%rax)
	je	LBB0_6
LBB0_5:
	xorl	%r13d, %r13d
LBB0_6:
	movq	16(%rbx), %rax
	addq	(%rbx), %rax
	leaq	(%r14,%r12), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_11
## %bb.7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_node
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %rcx
	cmpq	$0, 32(%rax)
	je	LBB0_11
## %bb.9:
	cmpq	$0, 24(%rcx)
	jne	LBB0_11
## %bb.10:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 8(%rcx)
	je	LBB0_13
LBB0_11:
	testq	%r13, %r13
	je	LBB0_14
## %bb.12:
	xorl	%ecx, %ecx
LBB0_13:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_vmm_node_merge            ## TAILCALL
LBB0_14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_vmm_node_split            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvkm_vmm_pfn_split_merge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_vmm_pfn_split_merge
_nvkm_vmm_pfn_split_merge:              ; @nvkm_vmm_pfn_split_merge
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, x5
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x1]
	cmp	x8, x2
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x0, x20
	mov	x1, #0
	bl	_node
	mov	x24, x0
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x24, #24]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x24, #8]
	cmp	w8, w23
	b.eq	LBB0_6
LBB0_5:
	mov	x24, #0
LBB0_6:
	ldr	x8, [x20]
	ldr	x9, [x20, #16]
	add	x8, x9, x8
	add	x9, x19, x22
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.7:
	mov	x0, x20
	mov	x1, #0
	bl	_node
	cbz	x0, LBB0_11
; %bb.8:
	mov	x3, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x8, [x3, #24]
	cbnz	x8, LBB0_11
; %bb.10:
	ldr	w8, [x3, #8]
	cmp	w8, w23
	b.eq	LBB0_13
LBB0_11:
	cbz	x24, LBB0_14
; %bb.12:
	mov	x3, #0
LBB0_13:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvkm_vmm_node_merge
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvkm_vmm_node_split
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvkm_vmm_pfn_split_merge
.subsections_via_symbols
