	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_icu_value_internal
_get_icu_value_internal:                ## @get_icu_value_internal
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_U_ZERO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	movq	_INTL_MAX_LOCALE_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_3
LBB0_1:
	xorl	%r13d, %r13d
LBB0_2:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_LOC_CANONICALIZE_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	_LOC_GRANDFATHERED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_findOffset
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:
	movq	_LOC_LANG_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_1
LBB0_6:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zend_string_init               ## TAILCALL
LBB0_7:
	cmpl	$1, %r14d
	jne	LBB0_14
## %bb.8:
	movq	_LOC_LANG_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_isIDPrefix
	cmpl	$1, %eax
	je	LBB0_6
LBB0_11:
	movq	%rbx, %rdi
	callq	_getSingletonPos
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	jle	LBB0_14
## %bb.13:
	decq	%rax
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_estrndup
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_15
LBB0_14:
	movq	%rbx, %rdi
	callq	_estrdup
	movq	%rax, %r12
LBB0_15:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	$512, %r14d                     ## imm = 0x200
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_U_ZERO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	incq	%rbx
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	cmpq	%r14, %rbx
	movq	%rbx, %r14
	jle	LBB0_37
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	testq	%r13, %r13
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_zend_string_realloc
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_zend_string_alloc
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %r13
	movq	_LOC_SCRIPT_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	movq	%r14, %rbx
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r13), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	leaq	-48(%rbp), %rcx
	callq	_uloc_getScript
	movq	%rax, %rbx
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_LOC_LANG_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r13), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	leaq	-48(%rbp), %rcx
	callq	_uloc_getLanguage
	movq	%rax, %rbx
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_LOC_REGION_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r13), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	leaq	-48(%rbp), %rcx
	callq	_uloc_getCountry
	movq	%rax, %rbx
LBB0_27:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_LOC_VARIANT_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r13), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	leaq	-48(%rbp), %rcx
	callq	_uloc_getVariant
	movq	%rax, %rbx
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_LOC_CANONICALIZE_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r13), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	leaq	-48(%rbp), %rcx
	callq	_uloc_canonicalize
	movq	%rax, %rbx
LBB0_31:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-48(%rbp), %rdi
	callq	_U_FAILURE
	testq	%rax, %rax
	je	LBB0_17
## %bb.32:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-48(%rbp), %rax
	movq	_U_BUFFER_OVERFLOW_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.33:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	testq	%r13, %r13
	je	LBB0_35
LBB0_34:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
LBB0_35:
	testq	%r12, %r12
	je	LBB0_1
## %bb.36:
	movq	%r12, %rdi
	callq	_efree
	jmp	LBB0_1
LBB0_37:
	testq	%rbx, %rbx
	je	LBB0_41
## %bb.38:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	testq	%r12, %r12
	je	LBB0_40
## %bb.39:
	movq	%r12, %rdi
	callq	_efree
LBB0_40:
	movq	(%r13), %rdi
	callq	_strlen
	movl	%eax, 8(%r13)
	jmp	LBB0_2
LBB0_41:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$-1, (%rax)
	testq	%r13, %r13
	jne	LBB0_34
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_U_ZERO_ERROR,8,3               ## @U_ZERO_ERROR
	.comm	_INTL_MAX_LOCALE_LEN,4,2        ## @INTL_MAX_LOCALE_LEN
	.comm	_LOC_CANONICALIZE_TAG,4,2       ## @LOC_CANONICALIZE_TAG
	.comm	_LOC_GRANDFATHERED,4,2          ## @LOC_GRANDFATHERED
	.comm	_LOC_LANG_TAG,4,2               ## @LOC_LANG_TAG
	.comm	_LOC_SCRIPT_TAG,4,2             ## @LOC_SCRIPT_TAG
	.comm	_LOC_REGION_TAG,4,2             ## @LOC_REGION_TAG
	.comm	_LOC_VARIANT_TAG,4,2            ## @LOC_VARIANT_TAG
	.comm	_U_BUFFER_OVERFLOW_ERROR,8,3    ## @U_BUFFER_OVERFLOW_ERROR
	.no_dead_strip	_get_icu_value_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_icu_value_internal
_get_icu_value_internal:                ; @get_icu_value_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _U_ZERO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _U_ZERO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_strlen
Lloh3:
	adrp	x8, _INTL_MAX_LOCALE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTL_MAX_LOCALE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_3
LBB0_1:
	mov	x22, #0
LBB0_2:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_3:
Lloh6:
	adrp	x26, _LOC_CANONICALIZE_TAG@GOTPAGE
Lloh7:
	ldr	x26, [x26, _LOC_CANONICALIZE_TAG@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.4:
Lloh8:
	adrp	x8, _LOC_GRANDFATHERED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOC_GRANDFATHERED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_findOffset
	tbnz	x0, #63, LBB0_7
; %bb.5:
Lloh11:
	adrp	x8, _LOC_LANG_TAG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOC_LANG_TAG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_1
LBB0_6:
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	x0, x22
	mov	w2, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_zend_string_init
LBB0_7:
	cmp	w21, #1
	b.ne	LBB0_14
; %bb.8:
Lloh14:
	adrp	x8, _LOC_LANG_TAG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOC_LANG_TAG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.9:
	mov	x0, x22
	bl	_strlen
	cmp	w0, #2
	b.lt	LBB0_11
; %bb.10:
	mov	x0, x22
	bl	_isIDPrefix
	cmp	w0, #1
	b.eq	LBB0_6
LBB0_11:
	mov	x0, x22
	bl	_getSingletonPos
	cbz	x0, LBB0_1
; %bb.12:
	subs	x1, x0, #1
	b.lt	LBB0_14
; %bb.13:
	mov	x0, x22
	bl	_estrndup
	mov	x21, x0
	cbnz	x0, LBB0_15
LBB0_14:
	mov	x0, x22
	bl	_estrdup
	mov	x21, x0
LBB0_15:
	str	x19, [sp]                       ; 8-byte Folded Spill
	mov	x22, #0
	mov	w23, #512
Lloh17:
	adrp	x27, _LOC_SCRIPT_TAG@GOTPAGE
Lloh18:
	ldr	x27, [x27, _LOC_SCRIPT_TAG@GOTPAGEOFF]
Lloh19:
	adrp	x28, _LOC_LANG_TAG@GOTPAGE
Lloh20:
	ldr	x28, [x28, _LOC_LANG_TAG@GOTPAGEOFF]
Lloh21:
	adrp	x19, _LOC_REGION_TAG@GOTPAGE
Lloh22:
	ldr	x19, [x19, _LOC_REGION_TAG@GOTPAGEOFF]
Lloh23:
	adrp	x25, _LOC_VARIANT_TAG@GOTPAGE
Lloh24:
	ldr	x25, [x25, _LOC_VARIANT_TAG@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
Lloh25:
	adrp	x8, _U_ZERO_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _U_ZERO_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	add	x24, x24, #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	cmp	x24, x23
	mov	x23, x24
	b.le	LBB0_37
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cbz	x22, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	w2, #0
	bl	_zend_string_realloc
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x23
	mov	w1, #0
	bl	_zend_string_alloc
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x22, x0
	ldr	w1, [x27]
	mov	x0, x20
	bl	_strcmp
	mov	x24, x23
	cbnz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x1, [x22]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x23
	bl	_uloc_getScript
	mov	x24, x0
LBB0_23:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w1, [x28]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x1, [x22]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x23
	bl	_uloc_getLanguage
	mov	x24, x0
LBB0_25:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w1, [x19]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x1, [x22]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x23
	bl	_uloc_getCountry
	mov	x24, x0
LBB0_27:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w1, [x25]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x1, [x22]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x23
	bl	_uloc_getVariant
	mov	x24, x0
LBB0_29:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w1, [x26]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x1, [x22]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x23
	bl	_uloc_canonicalize
	mov	x24, x0
LBB0_31:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [sp, #8]
	bl	_U_FAILURE
	cbz	x0, LBB0_17
; %bb.32:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [sp, #8]
Lloh28:
	adrp	x9, _U_BUFFER_OVERFLOW_ERROR@GOTPAGE
Lloh29:
	ldr	x9, [x9, _U_BUFFER_OVERFLOW_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.33:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	wzr, [x8]
	cbz	x22, LBB0_35
LBB0_34:
	mov	x0, x22
	mov	w1, #0
	bl	_zend_string_release_ex
LBB0_35:
	cbz	x21, LBB0_1
; %bb.36:
	mov	x0, x21
	bl	_efree
	b	LBB0_1
LBB0_37:
	cbz	x24, LBB0_41
; %bb.38:
	mov	w8, #1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
	cbz	x21, LBB0_40
; %bb.39:
	mov	x0, x21
	bl	_efree
LBB0_40:
	ldr	x0, [x22]
	bl	_strlen
	str	w0, [x22, #8]
	b	LBB0_2
LBB0_41:
	mov	w8, #-1
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
	cbnz	x22, LBB0_34
	b	LBB0_35
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_U_ZERO_ERROR,8,3               ; @U_ZERO_ERROR
	.comm	_INTL_MAX_LOCALE_LEN,4,2        ; @INTL_MAX_LOCALE_LEN
	.comm	_LOC_CANONICALIZE_TAG,4,2       ; @LOC_CANONICALIZE_TAG
	.comm	_LOC_GRANDFATHERED,4,2          ; @LOC_GRANDFATHERED
	.comm	_LOC_LANG_TAG,4,2               ; @LOC_LANG_TAG
	.comm	_LOC_SCRIPT_TAG,4,2             ; @LOC_SCRIPT_TAG
	.comm	_LOC_REGION_TAG,4,2             ; @LOC_REGION_TAG
	.comm	_LOC_VARIANT_TAG,4,2            ; @LOC_VARIANT_TAG
	.comm	_U_BUFFER_OVERFLOW_ERROR,8,3    ; @U_BUFFER_OVERFLOW_ERROR
	.no_dead_strip	_get_icu_value_internal
.subsections_via_symbols
