	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_conf_init_main             ## -- Begin function fpm_conf_init_main
	.p2align	4, 0x90
_fpm_conf_init_main:                    ## @fpm_conf_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	_fpm_globals@GOTPCREL(%rip), %r12
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.2:
	callq	_fpm_conf_is_dir
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	cmpb	$0, (%rdi)
	je	LBB0_8
## %bb.7:
	callq	_strdup
	movq	_fpm_global_config@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_8:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
LBB0_17:
	callq	_fpm_conf_load_ini_file
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	movl	%r15d, %edi
	callq	_fpm_conf_post_process
	testq	%rax, %rax
	js	LBB0_20
## %bb.21:
	testl	%r14d, %r14d
	je	LBB0_25
## %bb.22:
	cmpl	$2, %r14d
	jl	LBB0_24
## %bb.23:
	xorl	%eax, %eax
	callq	_fpm_conf_dump
LBB0_24:
	movq	_ZLOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r12), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	movl	$1, 8(%r12)
	movl	$-1, %eax
	jmp	LBB0_26
LBB0_9:
	movq	24(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.11:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_12
LBB0_18:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r12), %rdx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_4
LBB0_20:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_14
LBB0_3:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%r12), %rdx
	leaq	L_.str(%rip), %rsi
LBB0_4:
	xorl	%eax, %eax
	callq	_zlog
	movl	$-1, %eax
	jmp	LBB0_26
LBB0_10:
	movq	_PHP_SYSCONFDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rdx
LBB0_12:
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	callq	_spprintf
	movq	-40(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.15:
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, 16(%r12)
	movq	%rbx, %rdi
	callq	_efree
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_17
## %bb.16:
	movq	_ZLOG_SYSERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_14
LBB0_13:
	movq	_ZLOG_SYSERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_14:
	xorl	%eax, %eax
	callq	_zlog
	movl	$-1, %eax
	jmp	LBB0_26
LBB0_25:
	movq	_FPM_CLEANUP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fpm_conf_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_fpm_cleanup_add
	sarq	$63, %rax
LBB0_26:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_globals,32,3               ## @fpm_globals
	.comm	_ZLOG_ERROR,4,2                 ## @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"the global prefix '%s' does not exist or is not a directory"

	.comm	_fpm_global_config,8,3          ## @fpm_global_config
L_.str.1:                               ## @.str.1
	.asciz	"%s/php-fpm.conf"

	.comm	_PHP_SYSCONFDIR,8,3             ## @PHP_SYSCONFDIR
L_.str.2:                               ## @.str.2
	.asciz	"%s/etc/php-fpm.conf"

	.comm	_ZLOG_SYSERROR,4,2              ## @ZLOG_SYSERROR
L_.str.3:                               ## @.str.3
	.asciz	"spprintf() failed (tmp for fpm_globals.config)"

L_.str.4:                               ## @.str.4
	.asciz	"spprintf() failed (fpm_globals.config)"

L_.str.5:                               ## @.str.5
	.asciz	"failed to load configuration file '%s'"

L_.str.6:                               ## @.str.6
	.asciz	"failed to post process the configuration"

	.comm	_ZLOG_NOTICE,4,2                ## @ZLOG_NOTICE
L_.str.7:                               ## @.str.7
	.asciz	"configuration file %s test is successful\n"

	.comm	_FPM_CLEANUP_ALL,4,2            ## @FPM_CLEANUP_ALL
	.comm	_fpm_conf_cleanup,4,2           ## @fpm_conf_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_conf_init_main             ; -- Begin function fpm_conf_init_main
	.p2align	2
_fpm_conf_init_main:                    ; @fpm_conf_init_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _fpm_globals@GOTPAGE
Lloh1:
	ldr	x22, [x22, _fpm_globals@GOTPAGEOFF]
	ldr	x0, [x22, #24]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_fpm_conf_is_dir
	cbz	w0, LBB0_17
LBB0_3:
	ldr	x0, [x22]
	cbz	x0, LBB0_6
; %bb.4:
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.5:
	bl	_strdup
Lloh2:
	adrp	x8, _fpm_global_config@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fpm_global_config@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
LBB0_6:
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_13
LBB0_7:
	bl	_fpm_conf_load_ini_file
	tbnz	w0, #31, LBB0_15
; %bb.8:
	mov	x0, x20
	bl	_fpm_conf_post_process
	tbnz	x0, #63, LBB0_16
; %bb.9:
	cbz	w19, LBB0_26
; %bb.10:
	cmp	w19, #2
	b.lt	LBB0_12
; %bb.11:
	bl	_fpm_conf_dump
LBB0_12:
Lloh5:
	adrp	x8, _ZLOG_NOTICE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZLOG_NOTICE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x22, #16]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.7@PAGE
Lloh9:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_zlog
	mov	w8, #1
	str	w8, [x22, #8]
	b	LBB0_24
LBB0_13:
	ldr	x3, [x22, #24]
	cbz	x3, LBB0_18
; %bb.14:
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_15:
Lloh12:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x22, #16]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_16:
Lloh17:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_23
LBB0_17:
Lloh22:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	x8, [x22, #24]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_23
LBB0_18:
Lloh27:
	adrp	x8, _PHP_SYSCONFDIR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PHP_SYSCONFDIR@GOTPAGEOFF]
Lloh29:
	ldr	x3, [x8]
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_19:
	add	x0, sp, #8
	mov	w1, #0
	bl	_spprintf
	ldr	x21, [sp, #8]
	cbz	x21, LBB0_22
; %bb.20:
	mov	x0, x21
	bl	_strdup
	str	x0, [x22, #16]
	mov	x0, x21
	bl	_efree
	ldr	x0, [x22, #16]
	cbnz	x0, LBB0_7
; %bb.21:
Lloh32:
	adrp	x8, _ZLOG_SYSERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ZLOG_SYSERROR@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_23
LBB0_22:
Lloh37:
	adrp	x8, _ZLOG_SYSERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ZLOG_SYSERROR@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_23:
	bl	_zlog
LBB0_24:
	mov	w0, #-1
LBB0_25:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	add	sp, sp, #64
	ret
LBB0_26:
Lloh42:
	adrp	x8, _FPM_CLEANUP_ALL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FPM_CLEANUP_ALL@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x8, _fpm_conf_cleanup@GOTPAGE
Lloh46:
	ldr	x8, [x8, _fpm_conf_cleanup@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_fpm_cleanup_add
	asr	x0, x0, #63
	b	LBB0_25
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_globals,32,3               ; @fpm_globals
	.comm	_ZLOG_ERROR,4,2                 ; @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"the global prefix '%s' does not exist or is not a directory"

	.comm	_fpm_global_config,8,3          ; @fpm_global_config
l_.str.1:                               ; @.str.1
	.asciz	"%s/php-fpm.conf"

	.comm	_PHP_SYSCONFDIR,8,3             ; @PHP_SYSCONFDIR
l_.str.2:                               ; @.str.2
	.asciz	"%s/etc/php-fpm.conf"

	.comm	_ZLOG_SYSERROR,4,2              ; @ZLOG_SYSERROR
l_.str.3:                               ; @.str.3
	.asciz	"spprintf() failed (tmp for fpm_globals.config)"

l_.str.4:                               ; @.str.4
	.asciz	"spprintf() failed (fpm_globals.config)"

l_.str.5:                               ; @.str.5
	.asciz	"failed to load configuration file '%s'"

l_.str.6:                               ; @.str.6
	.asciz	"failed to post process the configuration"

	.comm	_ZLOG_NOTICE,4,2                ; @ZLOG_NOTICE
l_.str.7:                               ; @.str.7
	.asciz	"configuration file %s test is successful\n"

	.comm	_FPM_CLEANUP_ALL,4,2            ; @FPM_CLEANUP_ALL
	.comm	_fpm_conf_cleanup,4,2           ; @fpm_conf_cleanup
.subsections_via_symbols
