	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_describe
_odbc_stmt_describe:                    ## @odbc_stmt_describe
	.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	(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	movslq	%esi, %r14
	movl	16(%r15), %edi
	leal	1(%r14), %esi
	movq	8(%r15), %r9
	leaq	(%r14,%r14,2), %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	shlq	$4, %rbx
	movl	40(%r9,%rbx), %edx
	addq	%rbx, %r9
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsp)
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-56(%rbp), %r8
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	$3, %ecx
	callq	_SQLDescribeCol
	movq	%rax, %r12
	cmpl	$0, -44(%rbp)
	jne	LBB0_6
## %bb.1:
	movq	8(%r15), %rax
	movq	(%rax,%rbx), %rax
	movq	_SQL_VARCHAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	_SQL_LONGVARCHAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movq	_SQL_VARBINARY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_SQL_LONGVARBINARY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_5:
	movl	$1, (%r15)
LBB0_6:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	callq	_pdo_odbc_stmt_error
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpq	(%rax), %r12
	jne	LBB0_18
LBB0_8:
	movl	16(%r15), %edi
	movq	_SQL_DESC_DISPLAY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %rax
	movq	%rax, (%rsp)
	xorl	%r13d, %r13d
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SQLColAttribute
	movq	%rax, %rbx
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	callq	_pdo_odbc_stmt_error
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_18
LBB0_10:
	movl	-52(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	8(%r15), %rcx
	shlq	$4, %r14
	leaq	(%r14,%r14,2), %rbx
	movl	%eax, 8(%rcx,%rbx)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, (%r14,%r12,4)
	movl	40(%rcx,%rbx), %edi
	movl	-56(%rbp), %esi
	xorl	%edx, %edx
	callq	_zend_string_init
	movl	%eax, 8(%r14,%r12,4)
	movq	8(%r15), %rax
	movq	(%rax,%rbx), %rsi
	movq	%r15, %rdi
	callq	_pdo_odbc_sqltype_is_unicode
	movq	8(%r15), %rcx
	movq	%rax, 32(%rcx,%rbx)
	movq	_PDO_PARAM_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14,%r12,4)
	movl	-44(%rbp), %edi
	cmpl	$255, %edi
	jg	LBB0_17
## %bb.11:
	cmpl	$0, (%r15)
	je	LBB0_12
LBB0_17:
	movl	$256, %edi                      ## imm = 0x100
	callq	_emalloc
	movq	8(%r15), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, 16(%rcx,%rdx)
	movl	$1, (%r15)
	movl	$1, 12(%rcx,%rdx)
	movl	$1, %r13d
LBB0_18:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	incl	%edi
	callq	_emalloc
	movq	8(%r15), %rcx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, 16(%rcx,%rsi)
	movl	$0, 12(%rcx,%rsi)
	movl	16(%r15), %edi
	cmpq	$0, 32(%rcx,%rsi)
	jne	LBB0_13
## %bb.14:
	movq	_SQL_C_CHAR@GOTPCREL(%rip), %rdx
	jmp	LBB0_15
LBB0_13:
	movq	_SQL_C_BINARY@GOTPCREL(%rip), %rdx
LBB0_15:
	movl	(%rdx), %edx
	movl	8(%rcx,%rsi), %r8d
	incl	%r8d
	leaq	(%rcx,%rsi), %r9
	addq	$24, %r9
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%rax, %rcx
	callq	_SQLBindCol
	movl	$1, %r13d
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.16:
	leaq	L_.str.2(%rip), %rdi
	callq	_pdo_odbc_stmt_error
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_VARCHAR,8,3                ## @SQL_VARCHAR
	.comm	_SQL_LONGVARCHAR,8,3            ## @SQL_LONGVARCHAR
	.comm	_SQL_VARBINARY,8,3              ## @SQL_VARBINARY
	.comm	_SQL_LONGVARBINARY,8,3          ## @SQL_LONGVARBINARY
	.comm	_SQL_SUCCESS,8,3                ## @SQL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQLDescribeCol"

	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ## @SQL_SUCCESS_WITH_INFO
	.comm	_SQL_DESC_DISPLAY_SIZE,4,2      ## @SQL_DESC_DISPLAY_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"SQLColAttribute"

	.comm	_PDO_PARAM_STR,4,2              ## @PDO_PARAM_STR
	.comm	_SQL_C_BINARY,4,2               ## @SQL_C_BINARY
	.comm	_SQL_C_CHAR,4,2                 ## @SQL_C_CHAR
L_.str.2:                               ## @.str.2
	.asciz	"SQLBindCol"

	.comm	_SQL_WLONGVARCHAR,8,3           ## @SQL_WLONGVARCHAR
	.comm	_SQL_WVARCHAR,8,3               ## @SQL_WVARCHAR
	.no_dead_strip	_odbc_stmt_describe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_describe
_odbc_stmt_describe:                    ; @odbc_stmt_describe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
                                        ; kill: def $w1 killed $w1 def $x1
	ldp	x24, x19, [x0]
	sxtw	x22, w1
	ldr	w0, [x19, #16]
	add	w20, w1, #1
	ldr	x8, [x19, #8]
	mov	w9, #48
	smaddl	x5, w1, w9, x8
	ldr	w2, [x5, #40]
	str	xzr, [sp]
	add	x4, sp, #28
	add	x6, sp, #24
	mov	x1, x20
	mov	w3, #3
	mov	x7, #0
	bl	_SQLDescribeCol
	mov	x21, x0
	ldr	w8, [sp, #24]
	cbnz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	mov	w9, #48
	mul	x9, x22, x9
	ldr	x8, [x8, x9]
Lloh0:
	adrp	x9, _SQL_VARCHAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQL_VARCHAR@GOTPAGEOFF]
Lloh2:
	adrp	x10, _SQL_LONGVARCHAR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SQL_LONGVARCHAR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _SQL_VARBINARY@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SQL_VARBINARY@GOTPAGEOFF]
Lloh8:
	adrp	x12, _SQL_LONGVARBINARY@GOTPAGE
Lloh9:
	ldr	x12, [x12, _SQL_LONGVARBINARY@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	ldr	x12, [x12]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
Lloh12:
	adrp	x23, _SQL_SUCCESS@GOTPAGE
Lloh13:
	ldr	x23, [x23, _SQL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x21, x8
	b.eq	LBB0_5
; %bb.4:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pdo_odbc_stmt_error
Lloh16:
	adrp	x8, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_13
LBB0_5:
	ldr	w0, [x19, #16]
Lloh19:
	adrp	x8, _SQL_DESC_DISPLAY_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SQL_DESC_DISPLAY_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x6, sp, #20
	mov	x1, x20
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_SQLColAttribute
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	mov	x21, x0
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pdo_odbc_stmt_error
Lloh24:
	adrp	x8, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_13
LBB0_7:
	ldr	w8, [sp, #20]
	str	w8, [sp, #24]
	ldr	x9, [x19, #8]
	add	x10, x22, x22, lsl #1
	lsl	x21, x10, #4
	add	x9, x9, x21
	str	w8, [x9, #8]
	mov	w10, #12
	madd	x24, x22, x10, x24
	str	w8, [x24]
	ldr	w0, [x9, #40]
	ldr	w1, [sp, #28]
	mov	w2, #0
	bl	_zend_string_init
	str	w0, [x24, #8]
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x21]
	mov	x0, x19
	bl	_pdo_odbc_sqltype_is_unicode
	ldr	x8, [x19, #8]
	add	x8, x8, x21
	str	x0, [x8, #32]
Lloh27:
	adrp	x8, _PDO_PARAM_STR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PDO_PARAM_STR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x24, #4]
	ldr	w8, [sp, #24]
	cmp	w8, #255
	b.gt	LBB0_9
; %bb.8:
	ldr	w9, [x19]
	cbz	w9, LBB0_10
LBB0_9:
	mov	w0, #256
	bl	_emalloc
	ldr	x8, [x19, #8]
	mov	w9, #48
	madd	x8, x22, x9, x8
	str	x0, [x8, #16]
	mov	w0, #1
	str	w0, [x19]
	str	w0, [x8, #12]
	b	LBB0_14
LBB0_10:
	add	w0, w8, #1
	bl	_emalloc
	mov	x3, x0
	ldr	x8, [x19, #8]
	mov	w9, #48
	madd	x8, x22, x9, x8
	str	x0, [x8, #16]
	str	wzr, [x8, #12]
	ldr	w0, [x19, #16]
	ldr	x9, [x8, #32]
Lloh30:
	adrp	x10, _SQL_C_BINARY@GOTPAGE
Lloh31:
	ldr	x10, [x10, _SQL_C_BINARY@GOTPAGEOFF]
Lloh32:
	adrp	x11, _SQL_C_CHAR@GOTPAGE
Lloh33:
	ldr	x11, [x11, _SQL_C_CHAR@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x10, eq
	ldr	w2, [x9]
	ldr	w9, [x8, #8]
	add	w4, w9, #1
	add	x5, x8, #24
	mov	x1, x20
	bl	_SQLBindCol
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #1
	b	LBB0_14
LBB0_12:
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pdo_odbc_stmt_error
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_VARCHAR,8,3                ; @SQL_VARCHAR
	.comm	_SQL_LONGVARCHAR,8,3            ; @SQL_LONGVARCHAR
	.comm	_SQL_VARBINARY,8,3              ; @SQL_VARBINARY
	.comm	_SQL_LONGVARBINARY,8,3          ; @SQL_LONGVARBINARY
	.comm	_SQL_SUCCESS,8,3                ; @SQL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQLDescribeCol"

	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ; @SQL_SUCCESS_WITH_INFO
	.comm	_SQL_DESC_DISPLAY_SIZE,4,2      ; @SQL_DESC_DISPLAY_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"SQLColAttribute"

	.comm	_PDO_PARAM_STR,4,2              ; @PDO_PARAM_STR
	.comm	_SQL_C_BINARY,4,2               ; @SQL_C_BINARY
	.comm	_SQL_C_CHAR,4,2                 ; @SQL_C_CHAR
l_.str.2:                               ; @.str.2
	.asciz	"SQLBindCol"

	.comm	_SQL_WLONGVARCHAR,8,3           ; @SQL_WLONGVARCHAR
	.comm	_SQL_WVARCHAR,8,3               ; @SQL_WVARCHAR
	.no_dead_strip	_odbc_stmt_describe
.subsections_via_symbols
