	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_memblk
_map_memblk:                            ## @map_memblk
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	20(%rsi), %esi
	leaq	-40(%rbp), %rdx
	callq	_search_empty_map_area
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	leaq	16(%r14), %rdi
	movq	-40(%rbp), %rsi
	callq	_list_add_tail
	leaq	12(%r14), %rdi
	leaq	8(%r15), %rsi
	callq	_list_add_tail
	movl	%r12d, (%r14)
	movslq	4(%r14), %rbx
	cmpl	8(%r14), %ebx
	jg	LBB0_4
## %bb.2:
	decq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	4(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_set_ptb_entry
	incl	%r12d
	movslq	8(%r14), %rax
	incq	%rbx
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_map_memblk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_memblk
_map_memblk:                            ; @map_memblk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x1, #20]
	add	x2, sp, #8
	bl	_search_empty_map_area
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	add	x0, x19, #16
	ldr	x1, [sp, #8]
	bl	_list_add_tail
	add	x0, x19, #12
	add	x1, x20, #8
	bl	_list_add_tail
	str	w21, [x19]
	ldp	w22, w8, [x19, #4]
                                        ; kill: def $w22 killed $w22 def $x22
	sxtw	x22, w22
	cmp	w22, w8
	b.gt	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x20
	mov	x1, x21
	bl	_set_ptb_entry
	add	w21, w21, #1
	add	x8, x22, #1
	ldrsw	x9, [x19, #8]
	cmp	x22, x9
	mov	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	w21, #0
LBB0_4:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_map_memblk
.subsections_via_symbols
