	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_set_param
_odbc_stmt_set_param:                   ## @odbc_stmt_set_param
	.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
	movq	%rdx, %r12
	movq	(%rdi), %rbx
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.2:
	movq	%r12, %rdi
	callq	_convert_to_string
	movl	20(%rbx), %r14d
	movq	%r12, %rdi
	callq	_Z_STRVAL_P
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_Z_STRLEN_P
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_SQLSetCursorName
	movl	%eax, %ecx
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_7
## %bb.3:
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_7
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_pdo_odbc_stmt_error
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	%r12, %rdi
	callq	_zval_is_true
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movl	12(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rbx)
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcpy
	movl	$-1, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_SUCCESS,4,2                ## @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,4,2      ## @SQL_SUCCESS_WITH_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQLSetCursorName"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown Attribute"

L_.str.2:                               ## @.str.2
	.asciz	"setAttribute"

L_.str.3:                               ## @.str.3
	.asciz	"IM001"

	.no_dead_strip	_odbc_stmt_set_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_set_param
_odbc_stmt_set_param:                   ; @odbc_stmt_set_param
	.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
	ldr	x20, [x0]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_convert_to_string
	ldr	w20, [x20, #20]
	mov	x0, x19
	bl	_Z_STRVAL_P
	mov	x21, x0
	mov	x0, x19
	bl	_Z_STRLEN_P
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_SQLSetCursorName
Lloh0:
	adrp	x8, _SQL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_6
; %bb.3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_zval_is_true
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #16]
	b	LBB0_7
LBB0_5:
	ldr	w0, [x20, #12]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x20]
	ldr	w0, [x20, #8]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcpy
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pdo_odbc_stmt_error
	mov	w0, #0
LBB0_7:
	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 AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_SUCCESS,4,2                ; @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,4,2      ; @SQL_SUCCESS_WITH_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQLSetCursorName"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown Attribute"

l_.str.2:                               ; @.str.2
	.asciz	"setAttribute"

l_.str.3:                               ; @.str.3
	.asciz	"IM001"

	.no_dead_strip	_odbc_stmt_set_param
.subsections_via_symbols
