	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _citrus_iconv_std_iconv_init_shared
__citrus_iconv_std_iconv_init_shared:   ## @_citrus_iconv_std_iconv_init_shared
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$20, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	-80(%rbp), %rdi
	movq	%rbx, %rsi
	callq	__citrus_esdb_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	__citrus_esdb_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:
	movl	-64(%rbp), %esi
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %edx
	movq	%r15, %rdi
	callq	__stdenc_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	leaq	4(%r15), %r12
	movl	-40(%rbp), %esi
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	callq	__stdenc_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movl	-52(%rbp), %eax
	movl	%eax, 16(%r15)
	movl	-56(%rbp), %eax
	movl	%eax, 12(%r15)
	movq	%r15, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_TAILQ_INIT
	leaq	-80(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_open_srcs
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	__stdenc_close
LBB0_9:
	movl	(%r15), %edi
	callq	__stdenc_close
LBB0_10:
	leaq	-56(%rbp), %rdi
	callq	__esdb_close
LBB0_11:
	leaq	-80(%rbp), %rdi
	callq	__esdb_close
LBB0_12:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_13
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	-80(%rbp), %rdi
	callq	__esdb_close
	leaq	-56(%rbp), %rdi
	callq	__esdb_close
	movq	%r15, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	__citrus_iconv_std_iconv_init_shared
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _citrus_iconv_std_iconv_init_shared
__citrus_iconv_std_iconv_init_shared:   ; @_citrus_iconv_std_iconv_init_shared
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #20
	bl	_malloc
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x0, sp
	mov	x1, x21
	bl	__citrus_esdb_open
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.2:
	add	x0, sp, #24
	mov	x1, x22
	bl	__citrus_esdb_open
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.3:
	ldp	w2, w1, [sp, #12]
	ldr	w3, [sp, #8]
	mov	x0, x19
	bl	__stdenc_open
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.4:
	add	x22, x19, #4
	ldp	w2, w1, [sp, #36]
	ldr	w3, [sp, #32]
	mov	x0, x22
	bl	__stdenc_open
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	d0, [sp, #24]
	stur	d0, [x19, #12]
	add	x21, x19, #8
	mov	x0, x21
	bl	_TAILQ_INIT
	mov	x1, sp
	add	x2, sp, #24
	mov	x0, x21
	bl	_open_srcs
	mov	x21, x0
	cbz	w0, LBB0_13
; %bb.6:
	ldr	w0, [x22]
	bl	__stdenc_close
LBB0_7:
	ldr	w0, [x19]
	bl	__stdenc_close
LBB0_8:
	add	x0, sp, #24
	bl	__esdb_close
LBB0_9:
	mov	x0, sp
	bl	__esdb_close
LBB0_10:
	mov	x0, x19
	bl	_free
	b	LBB0_12
LBB0_11:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_12:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
LBB0_13:
	mov	x0, sp
	bl	__esdb_close
	add	x0, sp, #24
	bl	__esdb_close
	str	x19, [x20]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	__citrus_iconv_std_iconv_init_shared
.subsections_via_symbols
