	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___machine__create_kernel_maps  ## -- Begin function __machine__create_kernel_maps
	.p2align	4, 0x90
___machine__create_kernel_maps:         ## @__machine__create_kernel_maps
	.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
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_machine__get_kernel_start_addr
	movl	%eax, %r15d
	movq	_MAP__NR_TYPES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	leaq	8(%r13), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_map__new2
	movq	(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_identity__map_ip@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	movl	%eax, 4(%rdi)
	callq	_map__kmap
	movq	%r12, (%rax)
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r12, %rdi
	callq	_map_groups__insert
	incq	%rbx
	movq	_MAP__NR_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movl	$-1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP__NR_TYPES,4,2              ## @MAP__NR_TYPES
	.comm	_identity__map_ip,4,2           ## @identity__map_ip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___machine__create_kernel_maps  ; -- Begin function __machine__create_kernel_maps
	.p2align	2
___machine__create_kernel_maps:         ; @__machine__create_kernel_maps
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_machine__get_kernel_start_addr
Lloh0:
	adrp	x24, _MAP__NR_TYPES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAP__NR_TYPES@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x22, #0
	add	x23, x20, #8
Lloh2:
	adrp	x25, _identity__map_ip@GOTPAGE
Lloh3:
	ldr	x25, [x25, _identity__map_ip@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_map__new2
	ldr	x8, [x20]
	lsl	x9, x22, #3
	str	x0, [x8, x9]
	ldr	x8, [x20]
	ldr	x0, [x8, x9]
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	stp	w8, w8, [x0]
	bl	_map__kmap
	str	x23, [x0]
	ldr	x8, [x20]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x23
	bl	_map_groups__insert
	add	x22, x22, #1
	ldr	w8, [x24]
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP__NR_TYPES,4,2              ; @MAP__NR_TYPES
	.comm	_identity__map_ip,4,2           ; @identity__map_ip
.subsections_via_symbols
