	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_init                       ## -- Begin function fpm_init
	.p2align	4, 0x90
_fpm_init:                              ## @fpm_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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r15
	movq	%rcx, %rbx
	movl	32(%rbp), %r13d
	movl	16(%rbp), %r14d
	movq	_fpm_globals@GOTPCREL(%rip), %r12
	movl	%edi, (%r12)
	movq	%rsi, 8(%r12)
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	cmpb	$0, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	%rdx, %rdi
	callq	_strdup
	movl	%eax, 56(%r12)
LBB0_3:
	movq	%rbx, 16(%r12)
	movq	%r15, 24(%r12)
	movl	%r14d, 32(%r12)
	movl	%r13d, 36(%r12)
	xorl	%eax, %eax
	callq	_fpm_php_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.4:
	xorl	%eax, %eax
	callq	_fpm_stdio_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.5:
	movl	24(%rbp), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_fpm_conf_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.6:
	xorl	%eax, %eax
	callq	_fpm_unix_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.7:
	xorl	%eax, %eax
	callq	_fpm_scoreboard_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.8:
	xorl	%eax, %eax
	callq	_fpm_pctl_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.9:
	xorl	%eax, %eax
	callq	_fpm_env_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.10:
	xorl	%eax, %eax
	callq	_fpm_signals_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.11:
	xorl	%eax, %eax
	callq	_fpm_children_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.12:
	xorl	%eax, %eax
	callq	_fpm_sockets_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.13:
	xorl	%eax, %eax
	callq	_fpm_worker_pool_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	callq	_fpm_event_init_main
	testq	%rax, %rax
	js	LBB0_15
## %bb.17:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fpm_conf_write_pid
	testq	%rax, %rax
	js	LBB0_16
## %bb.18:
	xorl	%eax, %eax
	callq	_fpm_stdio_init_final
	movq	_ZLOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%r12), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	jmp	LBB0_19
LBB0_15:
	cmpq	$0, 48(%r12)
	jne	LBB0_20
LBB0_16:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	movl	$-1, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_FPM_EXIT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_globals,64,3               ## @fpm_globals
	.comm	_FPM_EXIT_OK,4,2                ## @FPM_EXIT_OK
	.comm	_ZLOG_ERROR,4,2                 ## @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FPM initialization failed"

	.comm	_ZLOG_NOTICE,4,2                ## @ZLOG_NOTICE
L_.str.1:                               ## @.str.1
	.asciz	"fpm is running, pid %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_init                       ; -- Begin function fpm_init
	.p2align	2
_fpm_init:                              ; @fpm_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x7
	mov	x21, x6
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	ldr	w25, [x29, #16]
Lloh0:
	adrp	x24, _fpm_globals@GOTPAGE
Lloh1:
	ldr	x24, [x24, _fpm_globals@GOTPAGEOFF]
	str	w0, [x24]
	str	x1, [x24, #8]
	cbz	x2, LBB0_3
; %bb.1:
	ldrb	w8, [x2]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x2
	bl	_strdup
	str	w0, [x24, #56]
LBB0_3:
	stp	x23, x22, [x24, #16]
	stp	w21, w25, [x24, #32]
	bl	_fpm_php_init_main
	tbnz	x0, #63, LBB0_17
; %bb.4:
	bl	_fpm_stdio_init_main
	tbnz	x0, #63, LBB0_17
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_fpm_conf_init_main
	tbnz	x0, #63, LBB0_17
; %bb.6:
	bl	_fpm_unix_init_main
	tbnz	x0, #63, LBB0_17
; %bb.7:
	bl	_fpm_scoreboard_init_main
	tbnz	x0, #63, LBB0_17
; %bb.8:
	bl	_fpm_pctl_init_main
	tbnz	x0, #63, LBB0_17
; %bb.9:
	bl	_fpm_env_init_main
	tbnz	x0, #63, LBB0_17
; %bb.10:
	bl	_fpm_signals_init_main
	tbnz	x0, #63, LBB0_17
; %bb.11:
	bl	_fpm_children_init_main
	tbnz	x0, #63, LBB0_17
; %bb.12:
	bl	_fpm_sockets_init_main
	tbnz	x0, #63, LBB0_17
; %bb.13:
	bl	_fpm_worker_pool_init_main
	tbnz	x0, #63, LBB0_17
; %bb.14:
	bl	_fpm_event_init_main
	tbnz	x0, #63, LBB0_17
; %bb.15:
	bl	_fpm_conf_write_pid
	tbnz	x0, #63, LBB0_18
; %bb.16:
	bl	_fpm_stdio_init_final
Lloh2:
	adrp	x8, _ZLOG_NOTICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZLOG_NOTICE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x24, #40]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_zlog
	mov	w0, #0
	b	LBB0_19
LBB0_17:
	ldr	x8, [x24, #48]
	cbnz	x8, LBB0_20
LBB0_18:
Lloh7:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_zlog
	mov	w0, #-1
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
Lloh12:
	adrp	x8, _FPM_EXIT_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FPM_EXIT_OK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_globals,64,3               ; @fpm_globals
	.comm	_FPM_EXIT_OK,4,2                ; @FPM_EXIT_OK
	.comm	_ZLOG_ERROR,4,2                 ; @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FPM initialization failed"

	.comm	_ZLOG_NOTICE,4,2                ; @ZLOG_NOTICE
l_.str.1:                               ; @.str.1
	.asciz	"fpm is running, pid %d"

.subsections_via_symbols
