	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmdline_init
_cmdline_init:                          ## @cmdline_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	%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	%rdi, %r15
	movq	8(%rdi), %r12
	movl	(%rdi), %edi
	shll	$3, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_5
## %bb.3:
	movq	%r14, %rbx
	addq	$4, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r12), %eax
	movl	%eax, (%rbx)
	movl	8(%r12), %eax
	movl	%eax, -4(%rbx)
	movq	(%r12), %r13
	movq	%r12, %rdi
	callq	_free
	addq	$8, %rbx
	movq	%r13, %r12
	testq	%r13, %r13
	jne	LBB0_4
LBB0_5:
	movl	(%r15), %esi
	movq	_cmdline_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_qsort
	movq	%r14, 16(%r15)
	movq	$0, 8(%r15)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	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	_cmdline_cmp,4,2                ## @cmdline_cmp
	.no_dead_strip	_cmdline_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmdline_init
_cmdline_init:                          ; @cmdline_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	w8, [x0]
	lsl	w0, w8, #3
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	cbz	x21, LBB0_4
; %bb.2:
	mov	x22, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21, #8]
	str	d0, [x22], #8
	ldr	x23, [x21]
	mov	x0, x21
	bl	_free
	mov	x21, x23
	cbnz	x23, LBB0_3
LBB0_4:
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _cmdline_cmp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmdline_cmp@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #8
	bl	_qsort
	mov	w0, #0
	stp	xzr, x20, [x19, #8]
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cmdline_cmp,4,2                ; @cmdline_cmp
	.no_dead_strip	_cmdline_init
.subsections_via_symbols
