	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sapi_lsapi_activate
_sapi_lsapi_activate:                   ## @sapi_lsapi_activate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_request_info@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_SG
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_php_ini_has_per_host_config
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_sapi_lsapi_getenv
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_estrndup
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_zend_str_tolower
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_php_ini_activate_per_host_config
	movq	%rbx, %rdi
	callq	_efree
LBB0_5:
	xorl	%eax, %eax
	callq	_php_ini_has_per_dir_config
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	(%r15), %edi
	callq	_SG
	movq	%rax, %rdi
	callq	_strlen
	movq	%rax, %r14
	movl	(%r15), %edi
	callq	_SG
	movsbl	(%rax,%r14), %edi
	callq	_IS_SLASH
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	(%r15), %edi
	callq	_SG
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_estrndup
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_zend_dirname
	jmp	LBB0_9
LBB0_1:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	leaq	2(%r14), %rdi
	callq	_emalloc
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_SG
	movq	%r14, %rdx
	incq	%rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_zend_dirname
	movq	_DEFAULT_SLASH@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%rbx,%rax)
	incq	%rax
LBB0_9:
	movb	$0, (%rbx,%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_php_ini_activate_per_dir_config
	movq	%rbx, %rdi
	callq	_efree
LBB0_10:
	movq	_parse_user_ini@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_lsapi_activate_user_ini
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
LBB0_12:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_request_info,4,2               ## @request_info
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SERVER_NAME"

	.comm	_DEFAULT_SLASH,1,0              ## @DEFAULT_SLASH
	.comm	_parse_user_ini,8,3             ## @parse_user_ini
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_sapi_lsapi_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sapi_lsapi_activate
_sapi_lsapi_activate:                   ; @sapi_lsapi_activate
	.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	x21, _request_info@GOTPAGE
Lloh1:
	ldr	x21, [x21, _request_info@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_SG
	cbz	x0, LBB0_7
; %bb.1:
	bl	_php_ini_has_per_host_config
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_sapi_lsapi_getenv
	cbz	x0, LBB0_4
; %bb.3:
	mov	x19, x0
	bl	_strlen
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_estrndup
	mov	x19, x0
	mov	x1, x20
	bl	_zend_str_tolower
	mov	x0, x19
	mov	x1, x20
	bl	_php_ini_activate_per_host_config
	mov	x0, x19
	bl	_efree
LBB0_4:
	bl	_php_ini_has_per_dir_config
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w0, [x21]
	bl	_SG
	bl	_strlen
	mov	x19, x0
	ldr	w0, [x21]
	bl	_SG
	ldrsb	w0, [x0, x19]
	bl	_IS_SLASH
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w0, [x21]
	bl	_SG
	mov	x1, x19
	bl	_estrndup
	mov	x20, x0
	mov	x1, x19
	bl	_zend_dirname
	mov	x1, x0
	b	LBB0_9
LBB0_7:
Lloh4:
	adrp	x8, _FAILURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
	add	x0, x19, #2
	bl	_emalloc
	mov	x20, x0
	ldr	w0, [x21]
	bl	_SG
	mov	x1, x0
	add	x2, x19, #1
	mov	x0, x20
	bl	_memcpy
	mov	x0, x20
	mov	x1, x19
	bl	_zend_dirname
Lloh6:
	adrp	x8, _DEFAULT_SLASH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEFAULT_SLASH@GOTPAGEOFF]
	ldrb	w8, [x8]
	add	x1, x0, #1
	strb	w8, [x20, x0]
LBB0_9:
	strb	wzr, [x20, x1]
	mov	x0, x20
	bl	_php_ini_activate_per_dir_config
	mov	x0, x20
	bl	_efree
LBB0_10:
Lloh8:
	adrp	x8, _parse_user_ini@GOTPAGE
Lloh9:
	ldr	x8, [x8, _parse_user_ini@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:
	bl	_lsapi_activate_user_ini
Lloh11:
	adrp	x8, _FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_14
LBB0_12:
Lloh14:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
LBB0_14:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_request_info,4,2               ; @request_info
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SERVER_NAME"

	.comm	_DEFAULT_SLASH,1,0              ; @DEFAULT_SLASH
	.comm	_parse_user_ini,8,3             ; @parse_user_ini
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_sapi_lsapi_activate
.subsections_via_symbols
