	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_convert_cyr_string
_php_convert_cyr_string:                ## @php_convert_cyr_string
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movzbl	%r13b, %edi
	callq	_toupper
                                        ## kill: def $eax killed $eax def $rax
	addl	$-65, %eax
	cmpl	$22, %eax
	ja	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	__cyr_cp866@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movsbl	%r13b, %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_8
LBB0_4:
	movq	__cyr_iso88595@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	__cyr_mac@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	__cyr_win1251@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %r14
LBB0_8:
	movzbl	%r12b, %edi
	callq	_toupper
                                        ## kill: def $eax killed $eax def $rax
	addl	$-65, %eax
	cmpl	$22, %eax
	ja	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	__cyr_cp866@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movsbl	%r12b, %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_16
LBB0_12:
	movq	__cyr_iso88595@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	__cyr_mac@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	__cyr_win1251@GOTPCREL(%rip), %rax
LBB0_15:
	movq	(%rax), %rbx
LBB0_16:
	movq	%r15, %rax
	testq	%r15, %r15
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_26
## %bb.17:
	testq	%r15, %r15
	je	LBB0_26
## %bb.18:
	cmpq	$1, %r15
	jne	LBB0_27
## %bb.19:
	xorl	%edi, %edi
LBB0_20:
	testb	$1, %r15b
	je	LBB0_26
## %bb.21:
	addq	%rax, %rdi
	movq	%rdi, %rcx
	testq	%r14, %r14
	je	LBB0_23
## %bb.22:
	movzbl	(%rdi), %ecx
	addq	%rcx, %r14
	movq	%r14, %rcx
LBB0_23:
	movb	(%rcx), %cl
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.24:
	movzbl	%cl, %ecx
	movb	256(%rbx,%rcx), %cl
LBB0_25:
	movb	%cl, (%rdi)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	%r15, %r8
	andq	$-2, %r8
	leaq	1(%rax), %rdx
	xorl	%edi, %edi
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=1
	movb	%cl, (%rdx)
	addq	$2, %rdi
	addq	$2, %rdx
	cmpq	%rdi, %r8
	je	LBB0_20
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rdx), %rsi
	movq	%rsi, %rcx
	testq	%r14, %r14
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movzbl	(%rsi), %ecx
	addq	%r14, %rcx
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movzbl	(%rcx), %ecx
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movzbl	%cl, %ecx
	movzbl	256(%rbx,%rcx), %ecx
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	movb	%cl, (%rsi)
	movq	%rdx, %rcx
	testq	%r14, %r14
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	movzbl	(%rdx), %ecx
	addq	%r14, %rcx
LBB0_35:                                ##   in Loop: Header=BB0_29 Depth=1
	movzbl	(%rcx), %ecx
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.36:                              ##   in Loop: Header=BB0_29 Depth=1
	movzbl	%cl, %ecx
	movzbl	256(%rbx,%rcx), %ecx
	jmp	LBB0_28
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
LJTI0_1:
	.long	L0_1_set_10
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_10
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_12
	.long	L0_1_set_11
	.long	L0_1_set_16
	.long	L0_1_set_11
	.long	L0_1_set_13
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_11
	.long	L0_1_set_14
	.end_data_region
                                        ## -- End function
	.comm	__cyr_win1251,8,3               ## @_cyr_win1251
	.comm	__cyr_cp866,8,3                 ## @_cyr_cp866
	.comm	__cyr_iso88595,8,3              ## @_cyr_iso88595
	.comm	__cyr_mac,8,3                   ## @_cyr_mac
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown source charset: %c"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown destination charset: %c"

	.no_dead_strip	_php_convert_cyr_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_convert_cyr_string
_php_convert_cyr_string:                ; @php_convert_cyr_string
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	and	w0, w2, #0xff
	bl	_toupper
	sub	w8, w0, #65
	cmp	w8, #22
	b.hi	LBB0_3
; %bb.1:
	mov	x23, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, __cyr_cp866@GOTPAGE
Lloh3:
	ldr	x8, [x8, __cyr_cp866@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh4:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x3, x22
	bl	_php_error_docref
	mov	x23, #0
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, __cyr_iso88595@GOTPAGE
Lloh10:
	ldr	x8, [x8, __cyr_iso88595@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, __cyr_mac@GOTPAGE
Lloh12:
	ldr	x8, [x8, __cyr_mac@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, __cyr_win1251@GOTPAGE
Lloh14:
	ldr	x8, [x8, __cyr_win1251@GOTPAGEOFF]
LBB0_7:
	ldr	x23, [x8]
LBB0_8:
	and	w0, w21, #0xff
	bl	_toupper
	sub	w9, w0, #65
	cmp	w9, #22
	b.hi	LBB0_11
; %bb.9:
	mov	x8, #0
Lloh15:
	adrp	x10, lJTI0_1@PAGE
Lloh16:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_10
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_10:
Lloh17:
	adrp	x8, __cyr_cp866@GOTPAGE
Lloh18:
	ldr	x8, [x8, __cyr_cp866@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cbnz	x19, LBB0_15
	b	LBB0_23
LBB0_11:
Lloh20:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x3, x21
	bl	_php_error_docref
	mov	x8, #0
	cbnz	x19, LBB0_15
	b	LBB0_23
LBB0_12:
Lloh25:
	adrp	x8, __cyr_iso88595@GOTPAGE
Lloh26:
	ldr	x8, [x8, __cyr_iso88595@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cbnz	x19, LBB0_15
	b	LBB0_23
LBB0_13:
Lloh28:
	adrp	x8, __cyr_mac@GOTPAGE
Lloh29:
	ldr	x8, [x8, __cyr_mac@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
LBB0_14:
	cbz	x19, LBB0_23
LBB0_15:
	cbz	x20, LBB0_23
; %bb.16:
	mov	x9, x19
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	strb	w10, [x9], #1
	subs	x20, x20, #1
	b.eq	LBB0_23
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x10, x9
	cbz	x23, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldrb	w10, [x9]
	add	x10, x23, x10
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=1
	ldrb	w10, [x10]
	cbz	x8, LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x10, x8, x10
	ldrb	w10, [x10, #256]
	b	LBB0_17
LBB0_22:
Lloh31:
	adrp	x8, __cyr_win1251@GOTPAGE
Lloh32:
	ldr	x8, [x8, __cyr_win1251@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cbnz	x19, LBB0_15
LBB0_23:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_22-LBB0_10)>>2
                                        ; -- End function
	.comm	__cyr_win1251,8,3               ; @_cyr_win1251
	.comm	__cyr_cp866,8,3                 ; @_cyr_cp866
	.comm	__cyr_iso88595,8,3              ; @_cyr_iso88595
	.comm	__cyr_mac,8,3                   ; @_cyr_mac
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown source charset: %c"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown destination charset: %c"

	.no_dead_strip	_php_convert_cyr_string
.subsections_via_symbols
