	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_get_col
_odbc_stmt_get_col:                     ## @odbc_stmt_get_col
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rbx
	movslq	%esi, %r13
	shlq	$5, %r13
	leaq	(%rbx,%r13), %r8
	cmpq	$0, 24(%rbx,%r13)
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.1:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	incl	%esi
	cmpq	$0, 16(%rbx,%r13)
	jne	LBB0_2
## %bb.3:
	movq	_SQL_C_CHAR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_SQL_C_BINARY@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	movq	(%r8), %rcx
	leaq	(%rbx,%r13), %r14
	addq	$8, %r14
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r8, %r12
	movl	$256, %r8d                      ## imm = 0x100
	movq	%r14, %r9
	callq	_SQLGetData
	movq	%r12, %r8
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_5
LBB0_13:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movslq	8(%rbx,%r13), %r12
	movq	_SQL_NULL_DATA@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_14
## %bb.15:
	testl	%r12d, %r12d
	js	LBB0_14
## %bb.16:
	movq	(%r8), %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%r12d, (%r14)
	movq	16(%rbx,%r13), %rsi
	testq	%rsi, %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_18
	jmp	LBB0_22
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_12
LBB0_5:
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.6:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13), %rax
	addq	$16, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$256, %edi                      ## imm = 0x100
	movq	%r8, %rbx
	callq	_emalloc
	movq	%rax, %r13
	movq	(%rbx), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_estrndup
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rax, %r15
	movl	$255, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	leal	255(%r12), %ebx
	leal	256(%r12), %esi
	movq	%r15, %rdi
	callq	_erealloc
	movq	%rax, %r15
	movslq	%r12d, %rdi
	addq	%rax, %rdi
	movq	%r13, %rsi
	movl	$255, %edx
	callq	_memcpy
	movl	%ebx, %r12d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%r14)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	_SQL_C_CHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rcx
	movl	$256, %r8d                      ## imm = 0x100
	movq	%r14, %r9
	callq	_SQLGetData
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	%r12d, %rbx
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %eax
	leal	(%rbx,%rax), %esi
	incl	%esi
	movq	%r15, %rdi
	callq	_erealloc
	movq	%rax, %r15
	movq	%rbx, %rdi
	addq	%rax, %rdi
	movl	(%r14), %edx
	movq	%r13, %rsi
	callq	_memcpy
	movl	(%r14), %r12d
	addl	%ebx, %r12d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_7
LBB0_11:
	movq	$0, (%rdx)
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
LBB0_22:
	movl	$1, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%r13, %rdi
	callq	_efree
	movb	$0, (%r15,%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%ebx, (%r14)
	movq	%rax, %rbx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
LBB0_18:
	leaq	-68(%rbp), %r8
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_pdo_odbc_ucs22utf8
	cmpl	$128, %eax
	jne	LBB0_22
## %bb.19:
	cmpl	$0, (%rbx)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_21
## %bb.20:
	movq	(%r15), %rdi
	callq	_efree
LBB0_21:
	movl	-68(%rbp), %edi
	incl	%edi
	callq	_emalloc
	movq	%rax, (%r15)
	movl	-68(%rbp), %edx
	movl	%edx, (%r14)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rsi
	incl	%edx
	movq	%rax, %rdi
	callq	_memcpy
	movl	$1, (%rbx)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_C_BINARY,4,2               ## @SQL_C_BINARY
	.comm	_SQL_C_CHAR,4,2                 ## @SQL_C_CHAR
	.comm	_SQL_SUCCESS,8,3                ## @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ## @SQL_SUCCESS_WITH_INFO
	.comm	_SQL_NULL_DATA,8,3              ## @SQL_NULL_DATA
	.no_dead_strip	_odbc_stmt_get_col
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_get_col
_odbc_stmt_get_col:                     ; @odbc_stmt_get_col
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	stp	x2, x3, [sp, #24]               ; 16-byte Folded Spill
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x23, x0
	ldr	x28, [x0]
	ldr	x22, [x28, #16]
	sxtw	x27, w1
	add	x26, x22, x27, lsl #5
	ldr	x8, [x26, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x28, #8]
	mov	x10, x26
	ldr	x8, [x10, #16]!
Lloh0:
	adrp	x9, _SQL_C_BINARY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQL_C_BINARY@GOTPAGEOFF]
Lloh2:
	adrp	x19, _SQL_C_CHAR@GOTPAGE
Lloh3:
	ldr	x19, [x19, _SQL_C_CHAR@GOTPAGEOFF]
	add	w24, w1, #1
	cmp	x8, #0
	csel	x8, x19, x9, eq
	ldr	w2, [x8]
	ldr	x3, [x26]
	str	x10, [sp]                       ; 8-byte Folded Spill
	sub	x25, x10, #8
	mov	x1, x24
	mov	w4, #256
	mov	x5, x25
	bl	_SQLGetData
Lloh4:
	adrp	x21, _SQL_SUCCESS@GOTPAGE
Lloh5:
	ldr	x21, [x21, _SQL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_2:
	stp	x23, x20, [sp, #8]              ; 16-byte Folded Spill
	ldrsw	x23, [x26, #8]
Lloh6:
	adrp	x8, _SQL_NULL_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQL_NULL_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x23
	b.eq	LBB0_11
; %bb.3:
	tbnz	w23, #31, LBB0_11
; %bb.4:
	ldr	x26, [x26]
	ldp	x21, x19, [sp, #24]             ; 16-byte Folded Reload
	str	x26, [x21]
	str	w23, [x19]
	add	x8, x22, x27, lsl #5
	ldr	x1, [x8, #16]
	cbnz	x1, LBB0_14
	b	LBB0_12
LBB0_5:
Lloh9:
	adrp	x22, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh10:
	ldr	x22, [x22, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.6:
	stp	x23, x20, [sp, #8]              ; 16-byte Folded Spill
	mov	w0, #256
	bl	_emalloc
	mov	x27, x0
	ldr	x0, [x26]
	mov	w1, #256
	bl	_estrndup
	mov	x26, x0
	mov	w23, #255
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w20, w23, #255
	add	w1, w23, #256
	mov	x0, x26
	bl	_erealloc
	mov	x26, x0
	add	x0, x0, w23, sxtw
	mov	x1, x27
	mov	w2, #255
	bl	_memcpy
	mov	x23, x20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x25]
	ldr	w0, [x28, #8]
	ldr	w2, [x19]
	mov	x1, x24
	mov	x3, x27
	mov	w4, #256
	mov	x5, x25
	bl	_SQLGetData
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	add	w8, w23, w8
	add	w1, w8, #1
	mov	x0, x26
	bl	_erealloc
	mov	x26, x0
	add	x0, x0, w23, sxtw
	ldr	w2, [x25]
	mov	x1, x27
	bl	_memcpy
	ldr	w8, [x25]
	add	w23, w8, w23
	b	LBB0_8
LBB0_11:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	xzr, [x8]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	wzr, [x8]
LBB0_12:
	mov	w0, #1
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	mov	x0, x27
	bl	_efree
	strb	wzr, [x26, w23, sxtw]
	ldp	x9, x21, [sp, #16]              ; 16-byte Folded Reload
	str	x26, [x21]
	mov	w8, #1
	str	w8, [x9]
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	str	w23, [x19]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x1, [x8]
	cbz	x1, LBB0_12
LBB0_14:
	add	x4, sp, #44
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x26
	mov	x3, x23
	bl	_pdo_odbc_ucs22utf8
	cmp	w0, #128
	b.ne	LBB0_12
; %bb.15:
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [x20]
	cbz	w8, LBB0_17
; %bb.16:
	ldr	x0, [x21]
	bl	_efree
LBB0_17:
	ldr	w8, [sp, #44]
	add	w0, w8, #1
	bl	_emalloc
	str	x0, [x21]
	ldr	w8, [sp, #44]
	str	w8, [x19]
	ldr	x1, [x28]
	add	w2, w8, #1
	bl	_memcpy
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_C_BINARY,4,2               ; @SQL_C_BINARY
	.comm	_SQL_C_CHAR,4,2                 ; @SQL_C_CHAR
	.comm	_SQL_SUCCESS,8,3                ; @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ; @SQL_SUCCESS_WITH_INFO
	.comm	_SQL_NULL_DATA,8,3              ; @SQL_NULL_DATA
	.no_dead_strip	_odbc_stmt_get_col
.subsections_via_symbols
