	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_param_hook
_odbc_stmt_param_hook:                  ## @odbc_stmt_param_hook
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rdi), %r15
	movl	$0, -48(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -64(%rbp)
	movl	$0, -44(%rbp)
	movl	$1, %r14d
	cmpq	$0, 32(%rsi)
	je	LBB0_68
## %bb.1:
	addl	$-132, %edx
	cmpl	$5, %edx
	ja	LBB0_68
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_68
## %bb.4:
	callq	_efree
	jmp	LBB0_68
LBB0_5:
	movq	16(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%r12), %r13
	movl	8(%r12), %edi
	callq	_Z_ISREF
	testl	%eax, %eax
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.6:
	movl	(%r13), %edi
	callq	_Z_REFVAL
	movq	%rax, %r13
LBB0_7:
	movl	(%r12), %edi
	callq	_PDO_PARAM_TYPE
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_Z_TYPE_P
	cmpl	$130, %r15d
	jne	LBB0_18
## %bb.8:
	movq	_IS_RESOURCE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.9:
	movq	%r13, %rsi
	callq	_php_stream_from_zval_no_verify
	jmp	LBB0_67
LBB0_10:
	movq	16(%r12), %r13
	cmpq	$0, 8(%r13)
	je	LBB0_68
## %bb.11:
	movl	8(%r12), %edi
	addq	$8, %r12
	callq	_Z_ISREF
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	(%r12), %edi
	callq	_Z_REFVAL
	movq	%rax, %r12
LBB0_13:
	movq	%r12, %rdi
	callq	_zval_ptr_dtor
	movq	%r12, %rdi
	callq	_ZVAL_NULL
	movslq	(%r13), %rcx
	cmpq	$128, %rcx
	je	LBB0_68
## %bb.14:
	movl	16(%r13), %esi
	movq	8(%r13), %rdx
	leaq	-80(%rbp), %r8
	movq	%rbx, %rdi
	callq	_pdo_odbc_ucs22utf8
                                        ## kill: def $eax killed $eax def $rax
	leal	-139(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_39
## %bb.15:
	movq	8(%r13), %r15
	movslq	(%r13), %rbx
	jmp	LBB0_53
LBB0_16:
	movl	(%r12), %edi
	callq	_PDO_PARAM_TYPE
	cmpl	$129, %eax
	je	LBB0_67
## %bb.21:
	movl	8(%r15), %edi
	movl	24(%r12), %esi
	incl	%esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-60(%rbp), %r8
	leaq	-64(%rbp), %r9
	callq	_SQLDescribeParam
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rdx
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpl	(%rdx), %eax
	je	LBB0_30
## %bb.22:
	cmpl	(%rcx), %eax
	je	LBB0_30
## %bb.23:
	movl	(%r12), %edi
	callq	_PDO_PARAM_TYPE
	movq	_SQL_LONGVARBINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	cmpl	$130, %eax
	je	LBB0_25
## %bb.24:
	movq	_SQL_LONGVARCHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_25:
	movl	%ecx, -48(%rbp)
	movl	$4000, -44(%rbp)                ## imm = 0xFA0
	movl	$5, -60(%rbp)
	movl	$1, -64(%rbp)
	movl	4(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_31
## %bb.26:
	movl	%eax, -44(%rbp)
	jmp	LBB0_31
LBB0_18:
	movq	_IS_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.19:
	movl	(%r12), %edi
	callq	_PDO_PARAM_TYPE
	movq	_PDO_PARAM_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_41
LBB0_20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$128, (%rax)
	jmp	LBB0_68
LBB0_27:
	movq	%r13, %rdi
	callq	_convert_to_string
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %r15
	movq	%r13, %rdi
	callq	_Z_STRLEN_P
	testq	%r15, %r15
	je	LBB0_44
## %bb.28:
	movl	%eax, (%rbx)
	movq	8(%rbx), %r15
	movq	%r13, %rdi
	callq	_Z_STRVAL_P
	movslq	(%rbx), %rdx
	movq	%r15, %rdi
	jmp	LBB0_29
LBB0_30:
	movl	-48(%rbp), %ecx
	movq	_SQL_LONGVARBINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_31:
	movq	_SQL_BINARY@GOTPCREL(%rip), %rax
	movq	_SQL_VARBINARY@GOTPCREL(%rip), %rdi
	movq	_SQL_C_BINARY@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	cmpl	%edx, %ecx
	je	LBB0_33
## %bb.32:
	movq	_SQL_C_CHAR@GOTPCREL(%rip), %rsi
LBB0_33:
	cmpl	(%rdi), %ecx
	cmoveq	%rbx, %rsi
	cmpl	(%rax), %ecx
	cmoveq	%rbx, %rsi
	movl	(%rsi), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$24, %edi
	callq	_emalloc
	movq	%rax, %r13
	movq	%rax, 16(%r12)
	movl	$0, (%rax)
	movq	$0, 8(%rax)
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
	callq	_pdo_odbc_sqltype_is_unicode
	movl	%eax, 16(%r13)
	testl	%eax, %eax
	je	LBB0_35
## %bb.34:
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_35:
	movl	(%r12), %edi
	movq	_PDO_PARAM_INPUT_OUTPUT@GOTPCREL(%rip), %rax
	movl	%edi, %ecx
	notl	%ecx
	testl	%ecx, (%rax)
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_37
## %bb.36:
	movq	_SQL_PARAM_INPUT_OUTPUT@GOTPCREL(%rip), %rax
	jmp	LBB0_46
LBB0_37:
	cmpl	$0, 4(%r12)
	jle	LBB0_45
## %bb.38:
	movq	_SQL_PARAM_OUTPUT@GOTPCREL(%rip), %rax
	jmp	LBB0_46
LBB0_39:
	cmpl	$138, %eax
	jne	LBB0_52
## %bb.40:
	movq	(%r15), %r15
	movq	-80(%rbp), %rbx
	jmp	LBB0_53
LBB0_41:
	movq	%r13, %rdi
	callq	_convert_to_string
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	cmpq	$0, 8(%r15)
	je	LBB0_54
## %bb.42:
	movl	16(%r15), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_Z_STRLEN_P
	leaq	-80(%rbp), %r8
	movq	%rbx, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_pdo_odbc_utf82ucs2
                                        ## kill: def $eax killed $eax def $rax
	leal	-139(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_69
## %bb.43:
	movq	%r13, %rdi
	callq	_Z_STRLEN_P
	movl	%eax, (%r15)
	movq	8(%r15), %rbx
	movq	%r13, %rdi
	callq	_Z_STRVAL_P
	movslq	(%r15), %rdx
	movq	%rbx, %rdi
LBB0_29:
	movq	%rax, %rsi
	callq	_memcpy
	jmp	LBB0_68
LBB0_44:
	movq	%rax, %rdi
	callq	_SQL_LEN_DATA_AT_EXEC
	movl	%eax, (%rbx)
	jmp	LBB0_68
LBB0_45:
	movq	_SQL_PARAM_INPUT@GOTPCREL(%rip), %rax
LBB0_46:
	movl	(%rax), %eax
	movq	%r13, %r15
	addq	$20, %r15
	movl	%eax, 20(%r13)
	movq	_SQL_PARAM_INPUT@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	je	LBB0_57
## %bb.47:
	callq	_PDO_PARAM_TYPE
	movq	_PDO_PARAM_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_57
## %bb.48:
	movl	4(%r12), %edi
	testl	%edi, %edi
	jg	LBB0_50
## %bb.49:
	movl	-44(%rbp), %edi
LBB0_50:
	movl	%edi, (%r13)
	cmpl	$0, 16(%r13)
	je	LBB0_55
## %bb.51:
	addl	%edi, %edi
	movl	%edi, (%r13)
	movl	$2, %eax
	jmp	LBB0_56
LBB0_52:
	xorl	%ebx, %ebx
                                        ## implicit-def: $r15
LBB0_53:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_zend_string_alloc
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ZVAL_NEW_STR
	movq	%r12, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_Z_STRLEN_P
	movb	$0, (%rbx,%rax)
	jmp	LBB0_68
LBB0_54:
	movq	%r13, %rdi
	callq	_Z_STRLEN_P
	movq	%rax, %rdi
	callq	_SQL_LEN_DATA_AT_EXEC
	movl	%eax, (%r15)
	jmp	LBB0_68
LBB0_55:
	movl	$1, %eax
LBB0_56:
	addl	%eax, %edi
	callq	_emalloc
	movq	%rax, 8(%r13)
LBB0_57:
	movl	(%r12), %edi
	callq	_PDO_PARAM_TYPE
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	cmpl	$130, %eax
	jne	LBB0_60
## %bb.58:
	cmpl	%ecx, %edx
	movl	%edx, %ecx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_61
## %bb.59:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_66
LBB0_60:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_61:
	movl	8(%rax), %edi
	movl	24(%r12), %esi
	incl	%esi
	movl	-48(%rbp), %r8d
	movl	-44(%rbp), %r9d
	movl	-60(%rbp), %eax
	cmpl	%ecx, %edx
	je	LBB0_63
## %bb.62:
	movq	8(%r13), %r12
LBB0_63:
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	(%r13), %ebx
	pushq	%r13
	pushq	%rbx
	pushq	%r12
	pushq	%rax
	callq	_SQLBindParameter
	addq	$32, %rsp
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_68
## %bb.64:
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_68
## %bb.65:
	leaq	L_.str.1(%rip), %rdi
LBB0_66:
	callq	_pdo_odbc_stmt_error
LBB0_67:
	xorl	%r14d, %r14d
LBB0_68:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_69:
	cmpl	$138, %eax
	jne	LBB0_68
## %bb.70:
	movq	-80(%rbp), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	8(%rcx), %rdi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rsi
	movslq	%eax, %rdx
	callq	_memcpy
	jmp	LBB0_68
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_68, LBB0_68-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_68
	.long	L0_0_set_68
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_SQL_SUCCESS,4,2                ## @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,4,2      ## @SQL_SUCCESS_WITH_INFO
	.comm	_SQL_LONGVARBINARY,4,2          ## @SQL_LONGVARBINARY
	.comm	_SQL_LONGVARCHAR,4,2            ## @SQL_LONGVARCHAR
	.comm	_SQL_BINARY,4,2                 ## @SQL_BINARY
	.comm	_SQL_VARBINARY,4,2              ## @SQL_VARBINARY
	.comm	_SQL_C_BINARY,4,2               ## @SQL_C_BINARY
	.comm	_SQL_C_CHAR,4,2                 ## @SQL_C_CHAR
	.comm	_PDO_PARAM_INPUT_OUTPUT,4,2     ## @PDO_PARAM_INPUT_OUTPUT
	.comm	_SQL_PARAM_INPUT_OUTPUT,4,2     ## @SQL_PARAM_INPUT_OUTPUT
	.comm	_SQL_PARAM_INPUT,4,2            ## @SQL_PARAM_INPUT
	.comm	_SQL_PARAM_OUTPUT,4,2           ## @SQL_PARAM_OUTPUT
	.comm	_PDO_PARAM_NULL,4,2             ## @PDO_PARAM_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't bind a lob for output"

L_.str.1:                               ## @.str.1
	.asciz	"SQLBindParameter"

	.comm	_IS_RESOURCE,4,2                ## @IS_RESOURCE
	.comm	_IS_NULL,4,2                    ## @IS_NULL
	.no_dead_strip	_odbc_stmt_param_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_param_hook
_odbc_stmt_param_hook:                  ; @odbc_stmt_param_hook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x20, [x0]
	stp	xzr, xzr, [sp, #32]
	ldr	x8, [x1, #32]
	cbz	x8, LBB0_57
; %bb.1:
	mov	x21, x0
	mov	w0, #1
	sub	w8, w2, #132
	cmp	w8, #5
	b.hi	LBB0_58
; %bb.2:
	mov	x19, x1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_57
; %bb.4:
	bl	_efree
	b	LBB0_57
LBB0_5:
	mov	x22, x19
	ldr	w0, [x22, #8]!
	ldr	x24, [x22, #8]
	bl	_Z_ISREF
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w0, [x22]
	bl	_Z_REFVAL
	mov	x22, x0
LBB0_7:
	ldr	w0, [x19]
	bl	_PDO_PARAM_TYPE
	mov	x23, x0
	mov	x0, x22
	bl	_Z_TYPE_P
	cmp	w23, #130
	b.ne	LBB0_18
; %bb.8:
Lloh2:
	adrp	x8, _IS_RESOURCE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IS_RESOURCE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_23
; %bb.9:
	mov	x1, x22
	bl	_php_stream_from_zval_no_verify
	mov	w0, #0
	b	LBB0_58
LBB0_10:
	ldr	x22, [x19, #16]
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_57
; %bb.11:
	ldr	w0, [x19, #8]!
	bl	_Z_ISREF
	cbz	w0, LBB0_13
; %bb.12:
	ldr	w0, [x19]
	bl	_Z_REFVAL
	mov	x19, x0
LBB0_13:
	mov	x0, x19
	bl	_zval_ptr_dtor
	mov	x0, x19
	bl	_ZVAL_NULL
	ldrsw	x3, [x22]
	cmp	w3, #128
	b.eq	LBB0_57
; %bb.14:
	ldr	w1, [x22, #16]
	ldr	x2, [x22, #8]
	add	x4, sp, #24
	mov	x0, x21
	bl	_pdo_odbc_ucs22utf8
	sub	w8, w0, #139
	cmp	w8, #2
	b.hs	LBB0_35
; %bb.15:
	ldr	x20, [x22, #8]
	ldrsw	x21, [x22]
	b	LBB0_43
LBB0_16:
	ldr	w0, [x19]
	bl	_PDO_PARAM_TYPE
	cmp	w0, #129
	b.ne	LBB0_21
; %bb.17:
	mov	w0, #0
	b	LBB0_58
LBB0_18:
Lloh5:
	adrp	x8, _IS_NULL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IS_NULL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_20
; %bb.19:
	ldr	w0, [x19]
	bl	_PDO_PARAM_TYPE
Lloh8:
	adrp	x8, _PDO_PARAM_NULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PDO_PARAM_NULL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_37
LBB0_20:
	mov	w8, #128
	str	w8, [x24]
	b	LBB0_57
LBB0_21:
	ldr	w0, [x20, #8]
	ldr	w8, [x19, #24]
	add	w1, w8, #1
	add	x2, sp, #44
	add	x3, sp, #32
	add	x4, sp, #40
	add	x5, sp, #36
	bl	_SQLDescribeParam
Lloh11:
	adrp	x24, _SQL_SUCCESS@GOTPAGE
Lloh12:
	ldr	x24, [x24, _SQL_SUCCESS@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh13:
	adrp	x23, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh14:
	ldr	x23, [x23, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_24
; %bb.22:
	ldr	w9, [sp, #44]
Lloh15:
	adrp	x8, _SQL_LONGVARBINARY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SQL_LONGVARBINARY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	b	LBB0_26
LBB0_23:
	mov	x0, x22
	bl	_convert_to_string
	ldr	x19, [x24, #8]
	mov	x0, x22
	bl	_Z_STRLEN_P
	cbnz	x19, LBB0_40
	b	LBB0_56
LBB0_24:
	ldr	w0, [x19]
	bl	_PDO_PARAM_TYPE
Lloh18:
	adrp	x8, _SQL_LONGVARBINARY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SQL_LONGVARBINARY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _SQL_LONGVARCHAR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SQL_LONGVARCHAR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w0, #130
	csel	w9, w8, w9, eq
	mov	w11, #4000
	mov	w10, #5
	stp	w10, w9, [sp, #40]
	mov	w10, #1
	stp	w11, w10, [sp, #32]
	ldr	w10, [x19, #4]
	cmp	w10, #1
	b.lt	LBB0_26
; %bb.25:
	str	w10, [sp, #32]
LBB0_26:
Lloh24:
	adrp	x10, _SQL_BINARY@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SQL_BINARY@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x11, _SQL_VARBINARY@GOTPAGE
Lloh28:
	ldr	x11, [x11, _SQL_VARBINARY@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	cmp	w9, w8
	ccmp	w9, w11, #4, ne
	ccmp	w9, w10, #4, ne
Lloh30:
	adrp	x22, _SQL_C_BINARY@GOTPAGE
Lloh31:
	ldr	x22, [x22, _SQL_C_BINARY@GOTPAGEOFF]
Lloh32:
	adrp	x8, _SQL_C_CHAR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SQL_C_CHAR@GOTPAGEOFF]
	csel	x8, x22, x8, eq
	ldr	w25, [x8]
	mov	w0, #24
	bl	_emalloc
	mov	x21, x0
	str	x0, [x19, #16]
	str	wzr, [x0]
	str	xzr, [x0, #8]
	ldr	w1, [sp, #44]
	mov	x0, x20
	bl	_pdo_odbc_sqltype_is_unicode
	str	w0, [x21, #16]
	ldr	w8, [x22]
	cmp	w0, #0
	csel	w22, w25, w8, eq
	ldr	w0, [x19]
Lloh34:
	adrp	x8, _PDO_PARAM_INPUT_OUTPUT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PDO_PARAM_INPUT_OUTPUT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x25, _SQL_PARAM_INPUT@GOTPAGE
Lloh38:
	ldr	x25, [x25, _SQL_PARAM_INPUT@GOTPAGEOFF]
	bics	wzr, w8, w0
	b.ne	LBB0_28
; %bb.27:
Lloh39:
	adrp	x8, _SQL_PARAM_INPUT_OUTPUT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SQL_PARAM_INPUT_OUTPUT@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
	ldr	w8, [x19, #4]
	cmp	w8, #0
	b.le	LBB0_41
; %bb.29:
Lloh41:
	adrp	x8, _SQL_PARAM_OUTPUT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SQL_PARAM_OUTPUT@GOTPAGEOFF]
LBB0_30:
	ldr	w8, [x8]
LBB0_31:
	mov	x26, x21
	str	w8, [x26, #20]!
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_46
; %bb.32:
	bl	_PDO_PARAM_TYPE
Lloh43:
	adrp	x8, _PDO_PARAM_NULL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PDO_PARAM_NULL@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_46
; %bb.33:
	ldr	w8, [x19, #4]
	ldr	w9, [sp, #32]
	cmp	w8, #0
	csel	w8, w8, w9, gt
	str	w8, [x21]
	ldr	w9, [x21, #16]
	cbz	w9, LBB0_44
; %bb.34:
	lsl	w8, w8, #1
	str	w8, [x21]
	mov	w9, #2
	b	LBB0_45
LBB0_35:
	cmp	w0, #138
	b.ne	LBB0_42
; %bb.36:
	ldr	x20, [x20]
	ldr	x21, [sp, #24]
	b	LBB0_43
LBB0_37:
	mov	x0, x22
	bl	_convert_to_string
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_55
; %bb.38:
	ldr	w19, [x24, #16]
	mov	x0, x22
	bl	_Z_STRVAL_P
	mov	x23, x0
	mov	x0, x22
	bl	_Z_STRLEN_P
	mov	x3, x0
	add	x4, sp, #24
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_pdo_odbc_utf82ucs2
	sub	w8, w0, #139
	cmp	w8, #2
	b.hs	LBB0_59
; %bb.39:
	mov	x0, x22
	bl	_Z_STRLEN_P
LBB0_40:
	str	w0, [x24]
	ldr	x19, [x24, #8]
	mov	x0, x22
	bl	_Z_STRVAL_P
	mov	x1, x0
	ldrsw	x2, [x24]
	mov	x0, x19
	bl	_memcpy
	b	LBB0_57
LBB0_41:
	ldr	w8, [x25]
	b	LBB0_31
LBB0_42:
	mov	x21, #0
                                        ; implicit-def: $x20
LBB0_43:
	mov	x0, x21
	mov	w1, #0
	bl	_zend_string_alloc
	mov	x1, x0
	mov	x0, x19
	bl	_ZVAL_NEW_STR
	mov	x0, x19
	bl	_Z_STRVAL_P
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	mov	x0, x19
	bl	_Z_STRVAL_P
	mov	x20, x0
	mov	x0, x19
	bl	_Z_STRLEN_P
	strb	wzr, [x20, x0]
	b	LBB0_57
LBB0_44:
	mov	w9, #1
LBB0_45:
	add	w0, w8, w9
	bl	_emalloc
	str	x0, [x21, #8]
LBB0_46:
	ldr	w0, [x19]
	bl	_PDO_PARAM_TYPE
	ldr	w2, [x26]
	ldr	w8, [x25]
	cmp	w0, #130
	b.ne	LBB0_48
; %bb.47:
	cmp	w2, w8
	mov	x8, x2
	b.ne	LBB0_53
LBB0_48:
	ldr	w0, [x20, #8]
	ldr	w9, [x19, #24]
	add	w1, w9, #1
	ldp	w6, w4, [sp, #40]
	ldr	w5, [sp, #32]
	cmp	w2, w8
	b.eq	LBB0_50
; %bb.49:
	ldr	x19, [x21, #8]
LBB0_50:
	ldr	w8, [x21]
	str	x21, [sp, #8]
	str	w8, [sp]
	mov	x3, x22
	mov	x7, x19
	bl	_SQLBindParameter
	mov	x8, x0
	ldr	w9, [x24]
	mov	w0, #1
	cmp	w8, w9
	b.eq	LBB0_58
; %bb.51:
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_58
; %bb.52:
Lloh46:
	adrp	x0, l_.str.1@PAGE
Lloh47:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_54
LBB0_53:
Lloh48:
	adrp	x0, l_.str@PAGE
Lloh49:
	add	x0, x0, l_.str@PAGEOFF
LBB0_54:
	bl	_pdo_odbc_stmt_error
	mov	w0, #0
	b	LBB0_58
LBB0_55:
	mov	x0, x22
	bl	_Z_STRLEN_P
LBB0_56:
	bl	_SQL_LEN_DATA_AT_EXEC
	str	w0, [x24]
LBB0_57:
	mov	w0, #1
LBB0_58:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_59:
	cmp	w0, #138
	b.ne	LBB0_57
; %bb.60:
	ldr	x8, [sp, #24]
	str	w8, [x24]
	ldr	x0, [x24, #8]
	ldr	x1, [x20]
	sxtw	x2, w8
	bl	_memcpy
	b	LBB0_57
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_3-LBB0_3)>>2
	.short	(LBB0_58-LBB0_3)>>2
	.short	(LBB0_58-LBB0_3)>>2
	.short	(LBB0_5-LBB0_3)>>2
	.short	(LBB0_10-LBB0_3)>>2
	.short	(LBB0_16-LBB0_3)>>2
                                        ; -- End function
	.comm	_SQL_SUCCESS,4,2                ; @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,4,2      ; @SQL_SUCCESS_WITH_INFO
	.comm	_SQL_LONGVARBINARY,4,2          ; @SQL_LONGVARBINARY
	.comm	_SQL_LONGVARCHAR,4,2            ; @SQL_LONGVARCHAR
	.comm	_SQL_BINARY,4,2                 ; @SQL_BINARY
	.comm	_SQL_VARBINARY,4,2              ; @SQL_VARBINARY
	.comm	_SQL_C_BINARY,4,2               ; @SQL_C_BINARY
	.comm	_SQL_C_CHAR,4,2                 ; @SQL_C_CHAR
	.comm	_PDO_PARAM_INPUT_OUTPUT,4,2     ; @PDO_PARAM_INPUT_OUTPUT
	.comm	_SQL_PARAM_INPUT_OUTPUT,4,2     ; @SQL_PARAM_INPUT_OUTPUT
	.comm	_SQL_PARAM_INPUT,4,2            ; @SQL_PARAM_INPUT
	.comm	_SQL_PARAM_OUTPUT,4,2           ; @SQL_PARAM_OUTPUT
	.comm	_PDO_PARAM_NULL,4,2             ; @PDO_PARAM_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't bind a lob for output"

l_.str.1:                               ; @.str.1
	.asciz	"SQLBindParameter"

	.comm	_IS_RESOURCE,4,2                ; @IS_RESOURCE
	.comm	_IS_NULL,4,2                    ; @IS_NULL
	.no_dead_strip	_odbc_stmt_param_hook
.subsections_via_symbols
