	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecpg_init                      ## -- Begin function ecpg_init
	.p2align	4, 0x90
_ecpg_init:                             ## @ecpg_init
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ECPGget_sqlca
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_ecpg_init_sqlca
	movl	$1, %ebx
	testq	%r12, %r12
	jne	LBB0_6
## %bb.3:
	movq	_ECPG_NO_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ECPG_SQLSTATE_CONNECTION_DOES_NOT_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testq	%r15, %r15
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_ecpg_gettext
	movq	%rax, %r15
LBB0_5:
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_ecpg_raise
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_ECPG_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	callq	_ecpg_raise
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECPG_OUT_OF_MEMORY,4,2         ## @ECPG_OUT_OF_MEMORY
	.comm	_ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY,4,2 ## @ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY
	.comm	_ECPG_NO_CONN,4,2               ## @ECPG_NO_CONN
	.comm	_ECPG_SQLSTATE_CONNECTION_DOES_NOT_EXIST,4,2 ## @ECPG_SQLSTATE_CONNECTION_DOES_NOT_EXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NULL"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecpg_init                      ; -- Begin function ecpg_init
	.p2align	2
_ecpg_init:                             ; @ecpg_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_ECPGget_sqlca
	cbz	x0, LBB0_3
; %bb.1:
	bl	_ecpg_init_sqlca
	cbz	x21, LBB0_4
; %bb.2:
	mov	w0, #1
	b	LBB0_8
LBB0_3:
Lloh0:
	adrp	x8, _ECPG_OUT_OF_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECPG_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, #0
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x8, _ECPG_NO_CONN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ECPG_NO_CONN@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _ECPG_SQLSTATE_CONNECTION_DOES_NOT_EXIST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECPG_SQLSTATE_CONNECTION_DOES_NOT_EXIST@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	cbnz	x20, LBB0_6
; %bb.5:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ecpg_gettext
	mov	x20, x0
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
LBB0_7:
	bl	_ecpg_raise
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ECPG_OUT_OF_MEMORY,4,2         ; @ECPG_OUT_OF_MEMORY
	.comm	_ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY,4,2 ; @ECPG_SQLSTATE_ECPG_OUT_OF_MEMORY
	.comm	_ECPG_NO_CONN,4,2               ; @ECPG_NO_CONN
	.comm	_ECPG_SQLSTATE_CONNECTION_DOES_NOT_EXIST,4,2 ; @ECPG_SQLSTATE_CONNECTION_DOES_NOT_EXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NULL"

.subsections_via_symbols
