	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctl_set_translit1
_ctl_set_translit1:                     ## @ctl_set_translit1
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, -28(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_iconv_open
	movl	$-1, %r14d
	cmpq	$-1, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	_ICONV_SET_TRANSLITERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_iconvctl
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_iconv_close
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	xorl	%r14d, %r14d
	negq	%r15
	sbbl	%r14d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASCII"

L_.str.1:                               ## @.str.1
	.asciz	"UTF-8"

	.comm	_ICONV_SET_TRANSLITERATE,4,2    ## @ICONV_SET_TRANSLITERATE
	.no_dead_strip	_ctl_set_translit1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctl_set_translit1
_ctl_set_translit1:                     ; @ctl_set_translit1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w8, #1
	str	w8, [sp, #12]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_iconv_open
	cmn	x0, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x8, _ICONV_SET_TRANSLITERATE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICONV_SET_TRANSLITERATE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_iconvctl
	mov	x20, x0
	mov	x0, x19
	bl	_iconv_close
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	cmp	x20, #0
	csetm	w0, ne
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASCII"

l_.str.1:                               ; @.str.1
	.asciz	"UTF-8"

	.comm	_ICONV_SET_TRANSLITERATE,4,2    ; @ICONV_SET_TRANSLITERATE
	.no_dead_strip	_ctl_set_translit1
.subsections_via_symbols
