	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_apache_server_startup
_php_apache_server_startup:             ## @php_apache_server_startup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	movq	(%rcx), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdi
	callq	_apr_pool_userdata_get
	cmpq	$0, -24(%rbp)
	je	LBB0_1
## %bb.2:
	movq	_apache2_php_ini_path_override@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_apache2_sapi_module@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
LBB0_4:
	xorl	%eax, %eax
	callq	_zend_signal_startup
	movq	_apache2_sapi_module@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_sapi_startup
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_php_apache_server_shutdown@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_apr_pool_cleanup_null@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_apr_pool_cleanup_register
	movq	%r14, %rdi
	callq	_php_apache_add_version
	jmp	LBB0_7
LBB0_1:
	movq	_apr_pool_cleanup_null@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_apr_pool_userdata_set
LBB0_7:
	movq	_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_DONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"apache2hook_post_config"

	.comm	_apr_pool_cleanup_null,4,2      ## @apr_pool_cleanup_null
	.comm	_OK,4,2                         ## @OK
	.comm	_apache2_php_ini_path_override,8,3 ## @apache2_php_ini_path_override
	.comm	_apache2_sapi_module,16,3       ## @apache2_sapi_module
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_DONE,4,2                       ## @DONE
	.comm	_php_apache_server_shutdown,4,2 ## @php_apache_server_shutdown
	.no_dead_strip	_php_apache_server_startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_apache_server_startup
_php_apache_server_startup:             ; @php_apache_server_startup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x3
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x8, [x3]
	ldr	w2, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_apr_pool_userdata_get
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _apache2_php_ini_path_override@GOTPAGE
Lloh3:
	ldr	x8, [x8, _apache2_php_ini_path_override@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x20, _apache2_sapi_module@GOTPAGE
Lloh6:
	ldr	x20, [x20, _apache2_sapi_module@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.2:
	str	x8, [x20, #8]
LBB0_3:
	bl	_zend_signal_startup
	mov	x0, x20
	bl	_sapi_startup
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
Lloh7:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.4:
Lloh10:
	adrp	x8, _php_apache_server_shutdown@GOTPAGE
Lloh11:
	ldr	x8, [x8, _php_apache_server_shutdown@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _apr_pool_cleanup_null@GOTPAGE
Lloh14:
	ldr	x8, [x8, _apr_pool_cleanup_null@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_apr_pool_cleanup_register
	mov	x0, x19
	bl	_php_apache_add_version
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _apr_pool_cleanup_null@GOTPAGE
Lloh17:
	ldr	x8, [x8, _apr_pool_cleanup_null@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	x8, [x20]
	ldr	w3, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_apr_pool_userdata_set
LBB0_6:
Lloh21:
	adrp	x8, _OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh23:
	adrp	x8, _DONE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DONE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"apache2hook_post_config"

	.comm	_apr_pool_cleanup_null,4,2      ; @apr_pool_cleanup_null
	.comm	_OK,4,2                         ; @OK
	.comm	_apache2_php_ini_path_override,8,3 ; @apache2_php_ini_path_override
	.comm	_apache2_sapi_module,16,3       ; @apache2_sapi_module
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_DONE,4,2                       ; @DONE
	.comm	_php_apache_server_shutdown,4,2 ; @php_apache_server_shutdown
	.no_dead_strip	_php_apache_server_startup
.subsections_via_symbols
