	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_configuration_entry_add_mp_cache_entry ## -- Begin function configuration_entry_add_mp_cache_entry
	.p2align	4, 0x90
_configuration_entry_add_mp_cache_entry: ## @configuration_entry_add_mp_cache_entry
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	_configuration_entry_add_mp_cache_entry(%rip), %rdi
	callq	_TRACE_IN
	movl	(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rbx)
	leal	4(,%rax,4), %edi
	callq	_malloc
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	%r15d, (%r14)
	movl	(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	8(%rbx), %rsi
	leal	-4(,%rax,4), %edx
	callq	_memcpy
LBB0_2:
	movq	8(%rbx), %rdi
	movq	%r14, 8(%rbx)
	callq	_free
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	movq	_configuration_entry_cache_mp_sort_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_qsort
	leaq	_configuration_entry_add_mp_cache_entry(%rip), %rdi
	callq	_TRACE_OUT
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_configuration_entry_cache_mp_sort_cmp,4,2 ## @configuration_entry_cache_mp_sort_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_configuration_entry_add_mp_cache_entry ; -- Begin function configuration_entry_add_mp_cache_entry
	.p2align	2
_configuration_entry_add_mp_cache_entry: ; @configuration_entry_add_mp_cache_entry
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _configuration_entry_add_mp_cache_entry@PAGE
Lloh1:
	add	x0, x0, _configuration_entry_add_mp_cache_entry@PAGEOFF
	bl	_TRACE_IN
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	lsl	w0, w8, #2
	bl	_malloc
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	str	w21, [x20]
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	add	x0, x20, #4
	ldr	x1, [x19, #8]
	lsl	w8, w8, #2
	sub	w2, w8, #4
	bl	_memcpy
LBB0_2:
	ldr	x0, [x19, #8]
	str	x20, [x19, #8]
	bl	_free
	ldr	x0, [x19, #8]
	ldr	w1, [x19]
Lloh2:
	adrp	x8, _configuration_entry_cache_mp_sort_cmp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _configuration_entry_cache_mp_sort_cmp@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_qsort
Lloh5:
	adrp	x0, _configuration_entry_add_mp_cache_entry@PAGE
Lloh6:
	add	x0, x0, _configuration_entry_add_mp_cache_entry@PAGEOFF
	bl	_TRACE_OUT
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_configuration_entry_cache_mp_sort_cmp,4,2 ; @configuration_entry_cache_mp_sort_cmp
.subsections_via_symbols
