	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_transliterator
_create_transliterator:                 ## @create_transliterator
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	$0, -64(%rbp)
	movl	$0, -44(%rbp)
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	movq	%rax, -72(%rbp)
	xorl	%edi, %edi
	callq	_intl_error_reset
	movq	_TRANSLITERATOR_FORWARD@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_TRANSLITERATOR_REVERSE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_U_ILLEGAL_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	callq	_intl_error_set
	jmp	LBB0_7
LBB0_3:
	movq	_Transliterator_ce_ptr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_object_init_ex
	callq	_TRANSLITERATOR_ERROR_CODE_P
	leaq	-64(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%eax, %r8d
	callq	_intl_convert_utf8_to_utf16
	callq	_TRANSLITERATOR_ERROR_CODE
	movl	%eax, %edi
	callq	_U_FAILURE
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	callq	_TRANSLITERATOR_ERROR_CODE
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_intl_error_set_code
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_intl_error_set_custom_msg
LBB0_6:
	movq	%r14, %rdi
	callq	_zval_ptr_dtor
LBB0_7:
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-64(%rbp), %r12
	movl	-44(%rbp), %r13d
	callq	_TRANSLITERATOR_ERROR_CODE_P
	movl	%eax, (%rsp)
	leaq	-72(%rbp), %r9
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	$-1, %r8d
	callq	_utrans_openU
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_efree
LBB0_11:
	callq	_TRANSLITERATOR_ERROR_CODE
	movl	%eax, %edi
	callq	_U_FAILURE
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	$0, -56(%rbp)
	callq	_TRANSLITERATOR_ERROR_CODE
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_intl_error_set_code
	leaq	L_.str.2(%rip), %rdx
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r15, %rcx
	callq	_spprintf
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.13:
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_intl_error_set_custom_msg
	movq	-56(%rbp), %rdi
	callq	_efree
	jmp	LBB0_6
LBB0_14:
	callq	_TRANSLITERATOR_ERROR_CODE_P
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_transliterator_object_construct
	callq	_TRANSLITERATOR_ERROR_CODE
	movl	%eax, %edi
	callq	_U_FAILURE
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	callq	_TRANSLITERATOR_ERROR_CODE
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_intl_error_set_code
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_5
LBB0_16:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_17:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSLITERATOR_FORWARD,8,3     ## @TRANSLITERATOR_FORWARD
	.comm	_TRANSLITERATOR_REVERSE,8,3     ## @TRANSLITERATOR_REVERSE
	.comm	_U_ILLEGAL_ARGUMENT_ERROR,4,2   ## @U_ILLEGAL_ARGUMENT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transliterator_create: invalid direction"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_Transliterator_ce_ptr,4,2      ## @Transliterator_ce_ptr
	.comm	_TRANSLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK,4,2 ## @TRANSLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK
L_.str.1:                               ## @.str.1
	.asciz	"String conversion of id to UTF-16 failed"

L_.str.2:                               ## @.str.2
	.asciz	"transliterator_create: unable to open ICU transliterator with id \"%s\""

L_.str.3:                               ## @.str.3
	.asciz	"transliterator_create: unable to open ICU transliterator"

L_.str.4:                               ## @.str.4
	.asciz	"transliterator_create: internal constructor call failed"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_create_transliterator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_transliterator
_create_transliterator:                 ; @create_transliterator
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
	mov	x8, #-4294967296
	str	x8, [sp, #8]
	mov	x0, #0
	bl	_intl_error_reset
Lloh0:
	adrp	x8, _TRANSLITERATOR_FORWARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRANSLITERATOR_FORWARD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TRANSLITERATOR_REVERSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRANSLITERATOR_REVERSE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x21
	ccmp	x9, x21, #4, ne
	b.ne	LBB0_5
; %bb.1:
Lloh6:
	adrp	x8, _Transliterator_ce_ptr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Transliterator_ce_ptr@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_object_init_ex
	bl	_TRANSLITERATOR_ERROR_CODE_P
	mov	x4, x0
	add	x0, sp, #24
	add	x1, sp, #20
	mov	x2, x20
	mov	x3, x22
	bl	_intl_convert_utf8_to_utf16
	bl	_TRANSLITERATOR_ERROR_CODE
	bl	_U_FAILURE
	cbz	x0, LBB0_8
; %bb.2:
	bl	_TRANSLITERATOR_ERROR_CODE
	mov	x1, x0
	mov	x0, #0
	bl	_intl_error_set_code
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_3:
	mov	x0, #0
	mov	w2, #0
	bl	_intl_error_set_custom_msg
LBB0_4:
	mov	x0, x19
	bl	_zval_ptr_dtor
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _U_ILLEGAL_ARGUMENT_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _U_ILLEGAL_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	w3, #0
	bl	_intl_error_set
LBB0_6:
Lloh16:
	adrp	x8, _FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	ldr	x22, [sp, #24]
	ldr	w23, [sp, #20]
	bl	_TRANSLITERATOR_ERROR_CODE_P
	mov	x6, x0
	add	x5, sp, #8
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, #0
	mov	w4, #-1
	bl	_utrans_openU
	mov	x21, x0
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_efree
LBB0_10:
	bl	_TRANSLITERATOR_ERROR_CODE
	bl	_U_FAILURE
	cbz	x0, LBB0_13
; %bb.11:
	str	xzr, [sp]
	bl	_TRANSLITERATOR_ERROR_CODE
	mov	x1, x0
	mov	x0, #0
	bl	_intl_error_set_code
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, sp
	mov	w1, #0
	mov	x3, x20
	bl	_spprintf
	ldr	x1, [sp]
	cbz	x1, LBB0_15
; %bb.12:
	mov	x0, #0
	mov	w2, #1
	bl	_intl_error_set_custom_msg
	ldr	x0, [sp]
	bl	_efree
	b	LBB0_4
LBB0_13:
	bl	_TRANSLITERATOR_ERROR_CODE_P
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_transliterator_object_construct
	bl	_TRANSLITERATOR_ERROR_CODE
	bl	_U_FAILURE
	cbz	x0, LBB0_16
; %bb.14:
	bl	_TRANSLITERATOR_ERROR_CODE
	mov	x1, x0
	mov	x0, #0
	bl	_intl_error_set_code
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_15:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_16:
Lloh24:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSLITERATOR_FORWARD,8,3     ; @TRANSLITERATOR_FORWARD
	.comm	_TRANSLITERATOR_REVERSE,8,3     ; @TRANSLITERATOR_REVERSE
	.comm	_U_ILLEGAL_ARGUMENT_ERROR,4,2   ; @U_ILLEGAL_ARGUMENT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transliterator_create: invalid direction"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_Transliterator_ce_ptr,4,2      ; @Transliterator_ce_ptr
	.comm	_TRANSLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK,4,2 ; @TRANSLITERATOR_METHOD_FETCH_OBJECT_NO_CHECK
l_.str.1:                               ; @.str.1
	.asciz	"String conversion of id to UTF-16 failed"

l_.str.2:                               ; @.str.2
	.asciz	"transliterator_create: unable to open ICU transliterator with id \"%s\""

l_.str.3:                               ; @.str.3
	.asciz	"transliterator_create: unable to open ICU transliterator"

l_.str.4:                               ; @.str.4
	.asciz	"transliterator_create: internal constructor call failed"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_create_transliterator
.subsections_via_symbols
