	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kobj_map                       ## -- Begin function kobj_map
	.p2align	4, 0x90
_kobj_map:                              ## @kobj_map
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rdx), %rdi
	decq	%rdi
	callq	_MAJOR
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_MAJOR
	subl	%eax, %ebx
	incl	%ebx
	movq	%r13, %rdi
	callq	_MAJOR
	cmpl	$255, %ebx
	movl	$255, %r14d
	cmovbl	%ebx, %r14d
	movl	%eax, %r12d
	imull	$56, %r14d, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	16(%rbp), %rax
	cmpl	$1, %r14d
	jne	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_21
LBB0_4:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	callq	_mutex_lock
	jmp	LBB0_20
LBB0_6:
	movl	%r14d, %ecx
	andl	$254, %ecx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, 48(%rbx)
	movq	%rdi, 40(%rbx)
	movq	%rsi, (%rbx)
	movq	%r13, 32(%rbx)
	movq	%r15, 8(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rdx, 104(%rbx)
	movq	%rdi, 96(%rbx)
	movq	%rsi, 56(%rbx)
	movq	%r13, 88(%rbx)
	movq	%r15, 64(%rbx)
	movq	%rax, 80(%rbx)
	addq	$112, %rbx
	addl	$-2, %ecx
	jne	LBB0_7
LBB0_8:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	testb	$1, %r14b
	je	LBB0_10
## %bb.9:
	movq	%rdx, 48(%rbx)
	movq	%rdi, 40(%rbx)
	movq	%rsi, (%rbx)
	movq	%r13, 32(%rbx)
	movq	%r15, 8(%rbx)
	movq	%rax, 24(%rbx)
	addq	$56, %rbx
LBB0_10:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	callq	_mutex_lock
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.11:
	movq	%rcx, %rax
	negq	%rax
	imulq	$56, %rax, %rax
	addq	%rax, %rbx
	xorl	%eax, %eax
	movl	$2155905153, %r8d               ## imm = 0x80808081
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%esi, %esi
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rsi, 16(%rbx)
	movq	%rbx, (%rdx)
	incl	%eax
	addq	$56, %rbx
	incl	%r12d
	cmpl	%ecx, %eax
	je	LBB0_20
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	8(%r14), %rsi
	movl	%r12d, %edi
	imulq	%r8, %rdi
	shrq	$39, %rdi
	movl	%edi, %edx
	shll	$8, %edx
	subl	%edx, %edi
	addl	%r12d, %edi
	leaq	(%rsi,%rdi,8), %rdx
	movq	(%rsi,%rdi,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r15, 8(%rsi)
	jae	LBB0_19
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rsi, %rdx
	movq	16(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=2
	cmpq	%r15, 8(%rsi)
	jb	LBB0_16
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%esi, %esi
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$16, %rdx
	jmp	LBB0_19
LBB0_20:
	movl	(%r14), %edi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kobj_map                       ; -- Begin function kobj_map
	.p2align	2
_kobj_map:                              ; @kobj_map
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x20, x2
	mov	x26, x1
	mov	x19, x0
	add	x8, x1, x2
	sub	x0, x8, #1
	bl	_MAJOR
	mov	x21, x0
	mov	x0, x26
	bl	_MAJOR
	sub	w27, w21, w0
	add	w28, w27, #1
	mov	x0, x26
	bl	_MAJOR
	mov	x21, x0
	cmp	w28, #255
	mov	w8, #255
	csinc	w27, w8, w27, hs
	mov	w8, #56
	mul	w0, w27, w8
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.1:
	cbz	w27, LBB0_5
; %bb.2:
	sub	w8, w27, #1
	cmp	w8, #3
	b.hs	LBB0_6
; %bb.3:
	mov	w8, #0
	mov	x28, x0
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_21
LBB0_5:
	ldr	w0, [x19]
	bl	_mutex_lock
	b	LBB0_20
LBB0_6:
	add	x9, x8, #1
	and	x8, x9, #0x1fffffffc
	mov	w10, #56
	madd	x28, x8, x10, x0
	mov	x10, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	stp	x24, x25, [x0, #40]
	stp	x24, x25, [x0, #96]
	stp	x24, x25, [x0, #152]
	stp	x24, x25, [x0, #208]
	stp	x23, x20, [x0]
	stp	x23, x20, [x0, #56]
	stp	x23, x20, [x0, #112]
	stp	x23, x20, [x0, #168]
	stp	x22, x26, [x0, #24]
	stp	x22, x26, [x0, #80]
	stp	x22, x26, [x0, #136]
	stp	x22, x26, [x0, #192]
	add	x0, x0, #224
	subs	x10, x10, #4
	b.ne	LBB0_7
; %bb.8:
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_9:
	add	x9, x28, #48
	sub	w8, w27, w8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	stp	x24, x25, [x9, #-8]
	stp	x23, x20, [x9, #-48]
	stp	x22, x26, [x9, #-24]
	add	x9, x9, #56
	subs	w8, w8, #1
	b.ne	LBB0_10
; %bb.11:
	sub	x28, x9, #48
LBB0_12:
	ldr	w0, [x19]
	bl	_mutex_lock
	cbz	w27, LBB0_20
; %bb.13:
	mov	w8, #0
	mov	w9, #56
	mneg	x9, x27, x9
	add	x9, x28, x9
	mov	w10, #32897
	movk	w10, #32896, lsl #16
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x12, x12, #16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	str	x11, [x9, #16]
	str	x9, [x12]
	add	w8, w8, #1
	add	x9, x9, #56
	add	w21, w21, #1
	cmp	w8, w27
	b.eq	LBB0_20
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x11, [x19, #8]
	umull	x12, w21, w10
	lsr	x12, x12, #39
	sub	w12, w12, w12, lsl #8
	add	w12, w21, w12
	add	x12, x11, w12, uxtw #3
	ldr	x11, [x12]
	cbz	x11, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x13, [x11, #8]
	cmp	x13, x20
	b.hs	LBB0_15
LBB0_18:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x12, x11
	ldr	x11, [x11, #16]
	cbz	x11, LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x13, [x11, #8]
	cmp	x13, x20
	b.lo	LBB0_18
	b	LBB0_14
LBB0_20:
	ldr	w0, [x19]
	bl	_mutex_unlock
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
