	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_va_blocks_locked
_merge_va_blocks_locked:                ## @merge_va_blocks_locked
	.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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	_node@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rdx, %rdi
	callq	_list_prev_entry
	movq	%rax, %rbx
	addq	$24, %rax
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	incq	%rax
	cmpq	8(%r15), %rax
	jne	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	subq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
	leaq	24(%r15), %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rbx
LBB0_5:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_list_next_entry
	leaq	24(%rax), %rcx
	cmpq	%r14, %rcx
	je	LBB0_8
## %bb.6:
	movq	(%rbx), %rcx
	incq	%rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_8
## %bb.7:
	movq	8(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movq	(%rax), %rdx
	subq	%rcx, %rdx
	movq	%rdx, 16(%rax)
	leaq	24(%rbx), %rdi
	callq	_list_del
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_node,4,2                       ## @node
	.no_dead_strip	_merge_va_blocks_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_va_blocks_locked
_merge_va_blocks_locked:                ; @merge_va_blocks_locked
	.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
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x22, _node@GOTPAGE
Lloh1:
	ldr	x22, [x22, _node@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x2
	bl	_list_prev_entry
	add	x8, x0, #24
	cmp	x8, x20
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	add	x8, x8, #1
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x21
	ldr	x8, [x0], #24
	str	x8, [x19]
	ldr	x9, [x19, #8]
	sub	x8, x8, x9
	str	x8, [x19, #16]
	bl	_list_del
	mov	x0, x21
	bl	_kfree
	b	LBB0_4
LBB0_3:
	mov	x19, x21
LBB0_4:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_list_next_entry
	add	x8, x0, #24
	cmp	x8, x20
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x19]
	add	x8, x8, #1
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [x0]
	sub	x9, x9, x8
	stp	x8, x9, [x0, #8]
	add	x0, x19, #24
	bl	_list_del
	mov	x0, x19
	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
	b	_kfree
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_node,4,2                       ; @node
	.no_dead_strip	_merge_va_blocks_locked
.subsections_via_symbols
