	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_dblib_stmt_stringify_col
_pdo_dblib_stmt_stringify_col:          ## @pdo_dblib_stmt_stringify_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%edi, %r12d
	leal	(%r15,%r15), %eax
	addl	$32, %eax
	movl	%edi, %edx
	andl	$-2, %edx
	movq	_DATETIME_MAX_LEN@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	cmpl	%ebx, %eax
	cmovgl	%eax, %ebx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	cmpl	$128, %edx
	cmovnel	%eax, %ebx
	movl	%ebx, %edi
	callq	_emalloc
	movq	%rax, %r13
	movq	_SQLCHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%ebx, (%rsp)
	xorl	%edi, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%r13d, %r9d
	callq	_dbconvert
	movl	%eax, %r12d
	movl	$4, %edi
	callq	_emalloc
	movq	%rax, %r15
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.1:
	movl	%r12d, %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rdx, %rdx
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rdx
	movl	%edx, %eax
	cmpb	$32, (%r13,%rax)
	je	LBB0_2
## %bb.5:
	incl	%edx
	jmp	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	callq	_ZVAL_EMPTY_STRING
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_3:
	xorl	%edx, %edx
LBB0_6:
	movq	%r15, %rdi
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ZVAL_STRINGL
LBB0_8:
	movq	%r13, %rdi
	callq	_efree
	movq	%r15, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATETIME_MAX_LEN,4,2           ## @DATETIME_MAX_LEN
	.comm	_SQLCHAR,4,2                    ## @SQLCHAR
	.no_dead_strip	_pdo_dblib_stmt_stringify_col
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdo_dblib_stmt_stringify_col
_pdo_dblib_stmt_stringify_col:          ; @pdo_dblib_stmt_stringify_col
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	lsl	w8, w2, #1
	add	w8, w8, #32
Lloh0:
	adrp	x9, _DATETIME_MAX_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DATETIME_MAX_LEN@GOTPAGEOFF]
	and	w10, w0, #0xfffffffe
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w9, w8, w9, gt
	cmp	w10, #128
	csel	w24, w9, w8, eq
	mov	x0, x24
	bl	_emalloc
	mov	x20, x0
Lloh3:
	adrp	x8, _SQLCHAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLCHAR@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, #0
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x5, x20
	mov	x6, x24
	bl	_dbconvert
	mov	x22, x0
	mov	w0, #4
	bl	_emalloc
	mov	x21, x0
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w8, w22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	subs	x8, x8, #1
	b.lt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w9, [x20, w8, uxtw]
	cmp	w9, #32
	b.eq	LBB0_2
; %bb.4:
	add	w2, w8, #1
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	bl	_ZVAL_EMPTY_STRING
	b	LBB0_8
LBB0_6:
	mov	w2, #0
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	bl	_ZVAL_STRINGL
LBB0_8:
	mov	x0, x20
	bl	_efree
	str	x21, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DATETIME_MAX_LEN,4,2           ; @DATETIME_MAX_LEN
	.comm	_SQLCHAR,4,2                    ; @SQLCHAR
	.no_dead_strip	_pdo_dblib_stmt_stringify_col
.subsections_via_symbols
