	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kobj_map_init                  ## -- Begin function kobj_map_init
	.p2align	4, 0x90
_kobj_map_init:                         ## @kobj_map_init
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$40, %edi
	callq	_kmalloc
	movq	%rax, %r15
	movl	(%rbx), %esi
	movl	$40, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movl	$1, (%rbx)
	movl	$-1, 32(%rbx)
	movq	%r12, 24(%rbx)
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	movq	%rbx, (%rcx,%rax)
	movq	16(%r15), %rcx
	movq	%rbx, 8(%rcx,%rax)
	movq	16(%r15), %rcx
	movq	%rbx, 16(%rcx,%rax)
	movq	16(%r15), %rcx
	movq	%rbx, 24(%rcx,%rax)
	movq	16(%r15), %rcx
	movq	%rbx, 32(%rcx,%rax)
	addq	$40, %rax
	cmpq	$2040, %rax                     ## imm = 0x7F8
	jne	LBB0_4
## %bb.5:
	movq	%r14, 8(%r15)
	jmp	LBB0_6
LBB0_2:
	movq	%r15, %rdi
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kobj_map_init                  ; -- Begin function kobj_map_init
	.p2align	2
_kobj_map_init:                         ; @kobj_map_init
	.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	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #40
	bl	_kmalloc
	mov	x20, x0
	ldr	w1, [x21]
	mov	w0, #40
	bl	_kzalloc
	mov	x21, x0
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_kfree
	mov	x0, x21
	bl	_kfree
	mov	x20, #0
	b	LBB0_5
LBB0_2:
	mov	x8, #0
	mov	w9, #1
	str	w9, [x21]
	mov	w9, #-1
	str	w9, [x21, #32]
	str	x22, [x21, #24]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	str	x21, [x9, x8]
	add	x8, x8, #8
	cmp	x8, #2040
	b.ne	LBB0_3
; %bb.4:
	str	x19, [x20, #8]
LBB0_5:
	mov	x0, x20
	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	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
