	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_mstring_get_utf8       ## -- Begin function archive_mstring_get_utf8
	.p2align	4, 0x90
_archive_mstring_get_utf8:              ## @archive_mstring_get_utf8
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	movq	_AES_SET_UTF8@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	addq	$8, %rbx
LBB0_8:
	movq	(%rbx), %rax
	movq	%rax, (%r14)
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	$0, (%r14)
	movq	_AES_SET_MBS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.3:
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	movl	$1, %edx
	callq	_archive_string_conversion_to_charset
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r13
	leaq	8(%rbx), %rdi
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	callq	_archive_strncpy_l
	testq	%r12, %r12
	je	LBB0_5
## %bb.6:
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_7
LBB0_5:
	movq	%r13, %rdi
	movl	%eax, %r12d
	callq	_free_sconv_object
	movl	%r12d, %eax
	testl	%eax, %eax
	jne	LBB0_10
LBB0_7:
	movq	_AES_SET_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_SET_UTF8,4,2               ## @AES_SET_UTF8
	.comm	_AES_SET_MBS,4,2                ## @AES_SET_MBS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UTF-8"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_mstring_get_utf8       ; -- Begin function archive_mstring_get_utf8
	.p2align	2
_archive_mstring_get_utf8:              ; @archive_mstring_get_utf8
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x25, _AES_SET_UTF8@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AES_SET_UTF8@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	add	x22, x20, #8
LBB0_2:
	mov	w0, #0
	ldr	x8, [x22]
	str	x8, [x19]
	b	LBB0_9
LBB0_3:
	str	xzr, [x19]
Lloh2:
	adrp	x9, _AES_SET_MBS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AES_SET_MBS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_archive_string_conversion_to_charset
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
	add	x22, x20, #8
	ldp	w2, w1, [x20, #16]
	mov	x0, x22
	mov	x3, x23
	bl	_archive_strncpy_l
	mov	x24, x0
	cbz	x21, LBB0_10
; %bb.6:
	cbz	w24, LBB0_11
LBB0_7:
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x23
	bl	_free_sconv_object
	cbnz	w24, LBB0_7
LBB0_11:
	ldr	w8, [x25]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_SET_UTF8,4,2               ; @AES_SET_UTF8
	.comm	_AES_SET_MBS,4,2                ; @AES_SET_MBS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UTF-8"

.subsections_via_symbols
