	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_pctl_init_main             ## -- Begin function fpm_pctl_init_main
	.p2align	4, 0x90
_fpm_pctl_init_main:                    ## @fpm_pctl_init_main
	.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	_fpm_globals@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movq	_saved_argc@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	leal	8(,%rax,8), %edi
	callq	_malloc
	movq	_saved_argv@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpl	$0, (%r12)
	jle	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_strdup
	movq	%rax, %rcx
	movq	(%r13), %rax
	movq	%rcx, (%rax,%rbx,8)
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r12), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_4
	jmp	LBB0_6
LBB0_2:
	xorl	%ebx, %ebx
LBB0_6:
	movq	$0, (%rax,%rbx,8)
	movq	_FPM_CLEANUP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fpm_pctl_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_fpm_cleanup_add
	movq	%rax, %r14
	sarq	$63, %r14
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_globals,16,3               ## @fpm_globals
	.comm	_saved_argc,4,2                 ## @saved_argc
	.comm	_saved_argv,8,3                 ## @saved_argv
	.comm	_FPM_CLEANUP_ALL,4,2            ## @FPM_CLEANUP_ALL
	.comm	_fpm_pctl_cleanup,4,2           ## @fpm_pctl_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_pctl_init_main             ; -- Begin function fpm_pctl_init_main
	.p2align	2
_fpm_pctl_init_main:                    ; @fpm_pctl_init_main
	.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
Lloh0:
	adrp	x19, _fpm_globals@GOTPAGE
Lloh1:
	ldr	x19, [x19, _fpm_globals@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x20, _saved_argc@GOTPAGE
Lloh3:
	ldr	x20, [x20, _saved_argc@GOTPAGEOFF]
	str	w8, [x20]
	lsl	w8, w8, #3
	add	w0, w8, #8
	bl	_malloc
Lloh4:
	adrp	x21, _saved_argv@GOTPAGE
Lloh5:
	ldr	x21, [x21, _saved_argv@GOTPAGEOFF]
	str	x0, [x21]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x22, lsl #2]
	bl	_strdup
	mov	x8, x0
	ldr	x0, [x21]
	str	x8, [x0, x22, lsl #3]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_3
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
	b	LBB0_8
LBB0_6:
	mov	x22, #0
LBB0_7:
	str	xzr, [x0, x22, lsl #3]
Lloh6:
	adrp	x8, _FPM_CLEANUP_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FPM_CLEANUP_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _fpm_pctl_cleanup@GOTPAGE
Lloh10:
	ldr	x8, [x8, _fpm_pctl_cleanup@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_fpm_cleanup_add
	asr	x0, x0, #63
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_globals,16,3               ; @fpm_globals
	.comm	_saved_argc,4,2                 ; @saved_argc
	.comm	_saved_argv,8,3                 ; @saved_argv
	.comm	_FPM_CLEANUP_ALL,4,2            ; @FPM_CLEANUP_ALL
	.comm	_fpm_pctl_cleanup,4,2           ; @fpm_pctl_cleanup
.subsections_via_symbols
