	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__php_import_environment_variables ## -- Begin function _php_import_environment_variables
	.p2align	4, 0x90
__php_import_environment_variables:     ## @_php_import_environment_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	%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
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_tsrm_env_lock
	movq	_environ@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_15
## %bb.1:
	movq	(%r14), %rbx
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_Z_ARRVAL_P
	movl	%eax, %edi
	leaq	-44(%rbp), %rdx
	callq	_zend_hash_index_update
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rbx
	addq	$8, %r14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	cmpq	%rbx, %rax
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_valid_environment_name
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	%r13, %r12
	subq	%rax, %r12
	incq	%r13
	movq	%r13, %rdi
	callq	_strlen
	cmpq	$1, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-44(%rbp), %rdi
	callq	_ZVAL_EMPTY_STRING
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%r13), %edi
	callq	_ZSTR_CHAR
	leaq	-44(%rbp), %rdi
	movl	%eax, %esi
	callq	_ZVAL_INTERNED_STR
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_zend_string_init
	leaq	-44(%rbp), %rdi
	movl	%eax, %esi
	callq	_ZVAL_NEW_STR
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_ZEND_HANDLE_NUMERIC_STR
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rbx
	movq	%r15, %rdi
	callq	_Z_ARRVAL_P
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-44(%rbp), %rdx
	movl	%eax, %ecx
	callq	_php_register_variable_quick
	jmp	LBB0_14
LBB0_15:
	xorl	%eax, %eax
	callq	_tsrm_env_unlock
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_environ,8,3                    ## @environ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__php_import_environment_variables ; -- Begin function _php_import_environment_variables
	.p2align	2
__php_import_environment_variables:     ; @_php_import_environment_variables
	.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	x19, x0
	bl	_tsrm_env_lock
Lloh0:
	adrp	x8, _environ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _environ@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	cbz	x22, LBB0_2
; %bb.1:
	ldr	x20, [x22]
	cbnz	x20, LBB0_5
LBB0_2:
	bl	_tsrm_env_unlock
	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_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_Z_ARRVAL_P
	add	x2, sp, #12
	bl	_zend_hash_index_update
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x22, #8]!
	cbz	x20, LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	cmp	x0, x20
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_valid_environment_name
	cbz	w0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	sub	x20, x21, x8
	add	x21, x21, #1
	mov	x0, x21
	bl	_strlen
	cmp	x0, #1
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x0
	cbnz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #12
	bl	_ZVAL_EMPTY_STRING
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x21]
	bl	_ZSTR_CHAR
	mov	x1, x0
	add	x0, sp, #12
	bl	_ZVAL_INTERNED_STR
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w2, #0
	bl	_zend_string_init
	mov	x1, x0
	add	x0, sp, #12
	bl	_ZVAL_NEW_STR
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x22]
	mov	x1, x20
	bl	_ZEND_HANDLE_NUMERIC_STR
	cbnz	x0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x22]
	mov	x0, x19
	bl	_Z_ARRVAL_P
	mov	x3, x0
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_php_register_variable_quick
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_environ,8,3                    ; @environ
.subsections_via_symbols
