	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sapi_lsapi_register_variables
_sapi_lsapi_register_variables:         ## @sapi_lsapi_register_variables
	.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	%rdi, %rbx
	movq	_lsapi_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_request_info@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_SG
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%r14), %edi
	callq	_SG
	movq	%rax, %r14
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_php_import_environment_variables
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str(%rip), %r14
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_php_register_variable
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_php_register_variable
	movq	_script_filename@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rdx
	callq	_php_register_variable
	movq	(%r15), %rsi
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rdx
	callq	_php_register_variable
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_php_register_variable          ## TAILCALL
LBB0_2:
	leaq	L_.str(%rip), %r14
LBB0_4:
	movq	%rbx, %rdi
	callq	_litespeed_php_import_environment_variables
	movq	_add_variable@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_LSAPI_ForeachHeader
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_LSAPI_ForeachEnv
	movq	%r14, %rdi
	callq	_strlen
	leaq	L_.str.1(%rip), %rdi
	movl	$8, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	movq	%rbx, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_variable                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_lsapi_mode,8,3                 ## @lsapi_mode
	.comm	_request_info,4,2               ## @request_info
L_.str.1:                               ## @.str.1
	.asciz	"PHP_SELF"

L_.str.2:                               ## @.str.2
	.asciz	"SCRIPT_NAME"

L_.str.3:                               ## @.str.3
	.asciz	"SCRIPT_FILENAME"

	.comm	_script_filename,8,3            ## @script_filename
L_.str.4:                               ## @.str.4
	.asciz	"PATH_TRANSLATED"

L_.str.5:                               ## @.str.5
	.asciz	"DOCUMENT_ROOT"

	.no_dead_strip	_sapi_lsapi_register_variables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sapi_lsapi_register_variables
_sapi_lsapi_register_variables:         ; @sapi_lsapi_register_variables
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _lsapi_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lsapi_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _request_info@GOTPAGE
Lloh4:
	ldr	x20, [x20, _request_info@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_SG
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x20]
	bl	_SG
	mov	x20, x0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_php_import_environment_variables
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh7:
	adrp	x20, l_.str@PAGE
Lloh8:
	add	x20, x20, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_php_register_variable
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_php_register_variable
Lloh11:
	adrp	x21, _script_filename@GOTPAGE
Lloh12:
	ldr	x21, [x21, _script_filename@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_php_register_variable
	ldr	x1, [x21]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x19
	bl	_php_register_variable
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	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
	b	_php_register_variable
LBB0_4:
Lloh19:
	adrp	x20, l_.str@PAGE
Lloh20:
	add	x20, x20, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_litespeed_php_import_environment_variables
Lloh21:
	adrp	x21, _add_variable@GOTPAGE
Lloh22:
	ldr	x21, [x21, _add_variable@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	bl	_LSAPI_ForeachHeader
	mov	x0, x21
	mov	x1, x19
	bl	_LSAPI_ForeachEnv
	mov	x0, x20
	bl	_strlen
Lloh23:
	adrp	x8, l_.str.1@PAGE
Lloh24:
	add	x8, x8, l_.str.1@PAGEOFF
	mov	x3, x0
	mov	x0, x8
	mov	w1, #8
	mov	x2, x20
	mov	x4, x19
	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
	b	_add_variable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_lsapi_mode,8,3                 ; @lsapi_mode
	.comm	_request_info,4,2               ; @request_info
l_.str.1:                               ; @.str.1
	.asciz	"PHP_SELF"

l_.str.2:                               ; @.str.2
	.asciz	"SCRIPT_NAME"

l_.str.3:                               ; @.str.3
	.asciz	"SCRIPT_FILENAME"

	.comm	_script_filename,8,3            ; @script_filename
l_.str.4:                               ; @.str.4
	.asciz	"PATH_TRANSLATED"

l_.str.5:                               ; @.str.5
	.asciz	"DOCUMENT_ROOT"

	.no_dead_strip	_sapi_lsapi_register_variables
.subsections_via_symbols
