	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function conv_ret
_conv_ret:                              ## @conv_ret
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$80, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movabsq	$1584842932561, %rax            ## imm = 0x17100000151
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_iconv_open
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %rcx
	movq	%rcx, -56(%rbp)
	leaq	-32(%rbp), %rcx
	movq	%rcx, -48(%rbp)
	movq	$8, -72(%rbp)
	movq	$16, -64(%rbp)
	leaq	-56(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movl	%eax, %edi
	callq	_iconv
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$2, %ecx
	setne	%al
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$80, %rsp
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASCII"

L_.str.1:                               ## @.str.1
	.asciz	"UTF-32LE"

	.no_dead_strip	_conv_ret
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function conv_ret
_conv_ret:                              ; @conv_ret
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	mov	x8, #337
	movk	x8, #369, lsl #32
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_iconv_open
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x8, sp
	str	x8, [sp, #16]
	sub	x8, x29, #24
	str	x8, [sp, #8]
	mov	w9, #8
	mov	w8, #16
	stp	x8, x9, [sp, #24]
	add	x1, sp, #16
	add	x2, sp, #32
	add	x3, sp, #8
	add	x4, sp, #24
	bl	_iconv
	cmp	w0, #2
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldur	x8, [x29, #-8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASCII"

l_.str.1:                               ; @.str.1
	.asciz	"UTF-32LE"

	.no_dead_strip	_conv_ret
.subsections_via_symbols
