	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_mpc
_alloc_mpc:                             ## @alloc_mpc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	36(%rbx), %rdi
	callq	_rwlock_init
	movq	%rbx, %rdi
	addq	$32, %rdi
	callq	_rwlock_init
	movq	_mpcs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_atm_mpoa_init_cache
	movq	_MPC_P1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_MPC_P2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_MPC_P4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_MPC_P5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_MPC_P6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, (%r14)
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_mpcs,8,3                       ## @mpcs
	.comm	_MPC_P1,4,2                     ## @MPC_P1
	.comm	_MPC_P2,4,2                     ## @MPC_P2
	.comm	_MPC_P4,4,2                     ## @MPC_P4
	.comm	_MPC_P5,4,2                     ## @MPC_P5
	.comm	_MPC_P6,4,2                     ## @MPC_P6
	.no_dead_strip	_alloc_mpc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_mpc
_alloc_mpc:                             ; @alloc_mpc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #36
	bl	_rwlock_init
	add	x0, x19, #32
	bl	_rwlock_init
Lloh3:
	adrp	x20, _mpcs@GOTPAGE
Lloh4:
	ldr	x20, [x20, _mpcs@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x19, #24]
	mov	x0, x19
	bl	_atm_mpoa_init_cache
Lloh5:
	adrp	x8, _MPC_P1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MPC_P1@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MPC_P2@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MPC_P2@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldr	w0, [x19, #12]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh11:
	adrp	x8, _MPC_P4@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MPC_P4@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh14:
	adrp	x8, _MPC_P5@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MPC_P5@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _MPC_P6@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MPC_P6@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	str	x19, [x20]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_mpcs,8,3                       ; @mpcs
	.comm	_MPC_P1,4,2                     ; @MPC_P1
	.comm	_MPC_P2,4,2                     ; @MPC_P2
	.comm	_MPC_P4,4,2                     ; @MPC_P4
	.comm	_MPC_P5,4,2                     ; @MPC_P5
	.comm	_MPC_P6,4,2                     ; @MPC_P6
	.no_dead_strip	_alloc_mpc
.subsections_via_symbols
