	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps_fetch_datetime
_ps_fetch_datetime:                     ## @ps_fetch_datetime
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	movq	%r12, %rdi
	callq	_php_mysqlnd_net_field_length
	testl	%eax, %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	movl	%eax, %r13d
	movq	(%r12), %rbx
	movq	_MYSQLND_TIMESTAMP_DATETIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	%rbx, %rdi
	callq	_sint2korr
	movl	%eax, -112(%rbp)
	movdqu	16(%rbx), %xmm0
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	movq	%xmm0, -108(%rbp)
	cmpl	$4, %r13d
	jle	LBB0_2
## %bb.3:
	movdqu	32(%rbx), %xmm0
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	movq	%xmm0, -100(%rbp)
	movl	48(%rbx), %eax
	movl	%eax, -92(%rbp)
	xorl	%eax, %eax
	cmpl	$8, %r13d
	jb	LBB0_5
## %bb.4:
	addq	$56, %rbx
	movq	%rbx, %rdi
	callq	_sint4korr
	jmp	LBB0_5
LBB0_6:
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_MYSQLND_TIMESTAMP_DATETIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	jmp	LBB0_7
LBB0_2:
	movl	$0, -92(%rbp)
	movq	$0, -100(%rbp)
	xorl	%eax, %eax
LBB0_5:
	movl	%eax, -88(%rbp)
	movslq	%r13d, %rax
	shlq	$3, %rax
	addq	%rax, (%r12)
LBB0_7:
	movl	(%r15), %r14d
	leal	-1(%r14), %eax
	movl	-112(%rbp), %r13d
	movl	-108(%rbp), %r12d
	movl	-104(%rbp), %r15d
	movl	-100(%rbp), %r11d
	movl	-96(%rbp), %r10d
	movl	-92(%rbp), %ebx
	cmpl	$5, %eax
	ja	LBB0_9
## %bb.8:
	movl	-88(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$6, %esi
	subl	%r14d, %esi
	movl	$10, %edi
	movq	%r11, -128(%rbp)                ## 8-byte Spill
	movq	%r10, -120(%rbp)                ## 8-byte Spill
	callq	_pow
	movl	%eax, %ecx
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cltd
	idivl	%ecx
	movl	%eax, %r10d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r14
	pushq	%rbx
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	callq	_mnd_sprintf
	addq	$48, %rsp
	jmp	LBB0_10
LBB0_9:
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rdx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	pushq	%r11
	callq	_mnd_sprintf
	addq	$32, %rsp
LBB0_10:
	movl	%eax, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_DBG_INF_FMT
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_ZVAL_STRINGL
	movq	-48(%rbp), %rdi
	callq	_mnd_sprintf_free
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ps_fetch_datetime"

	.comm	_MYSQLND_TIMESTAMP_DATETIME,8,3 ## @MYSQLND_TIMESTAMP_DATETIME
L_.str.1:                               ## @.str.1
	.asciz	"%04u-%02u-%02u %02u:%02u:%02u.%0*u"

L_.str.2:                               ## @.str.2
	.asciz	"%04u-%02u-%02u %02u:%02u:%02u"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.comm	_DBG_VOID_RETURN,4,2            ## @DBG_VOID_RETURN
	.no_dead_strip	_ps_fetch_datetime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps_fetch_datetime
_ps_fetch_datetime:                     ; @ps_fetch_datetime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x3
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
	mov	x0, x21
	bl	_php_mysqlnd_net_field_length
	cbz	w0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	x23, [x21]
Lloh2:
	adrp	x8, _MYSQLND_TIMESTAMP_DATETIME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MYSQLND_TIMESTAMP_DATETIME@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x8, xzr, [sp, #64]
	mov	x0, x23
	bl	_sint2korr
	str	w0, [sp, #32]
	ldr	q0, [x23, #16]
	xtn.2s	v0, v0
	stur	d0, [sp, #36]
	cmp	w22, #4
	b.le	LBB0_5
; %bb.2:
	ldr	q0, [x23, #32]
	xtn.2s	v0, v0
	stur	d0, [sp, #44]
	ldr	x8, [x23, #48]
	str	w8, [sp, #52]
	cmp	w22, #8
	b.lo	LBB0_6
; %bb.3:
	add	x0, x23, #56
	bl	_sint4korr
	b	LBB0_7
LBB0_4:
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh5:
	adrp	x8, _MYSQLND_TIMESTAMP_DATETIME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MYSQLND_TIMESTAMP_DATETIME@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [sp, #64]
	b	LBB0_8
LBB0_5:
	mov	w0, #0
	str	xzr, [sp, #48]
	str	wzr, [sp, #44]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	str	w0, [sp, #56]
	ldr	x8, [x21]
	add	x8, x8, w22, sxtw #3
	str	x8, [x21]
LBB0_8:
	ldr	w25, [x20]
	sub	w8, w25, #1
	ldp	w20, w21, [sp, #32]
	ldp	w22, w23, [sp, #40]
	ldp	w24, w26, [sp, #48]
	cmp	w8, #5
	b.hi	LBB0_10
; %bb.9:
	ldr	w27, [sp, #56]
	mov	w8, #6
	sub	w1, w8, w25
	mov	w0, #10
	bl	_pow
	sdiv	w8, w27, w0
	stp	x25, x8, [sp, #8]
	str	w26, [sp]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
	str	w26, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_11:
	add	x0, sp, #24
	mov	w1, #0
	mov	x3, x20
	mov	x4, x21
	mov	x5, x22
	mov	x6, x23
	mov	x7, x24
	bl	_mnd_sprintf
	mov	x20, x0
	ldr	x1, [sp, #24]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DBG_INF_FMT
	ldr	x1, [sp, #24]
	mov	x0, x19
	mov	x2, x20
	bl	_ZVAL_STRINGL
	ldr	x0, [sp, #24]
	bl	_mnd_sprintf_free
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ps_fetch_datetime"

	.comm	_MYSQLND_TIMESTAMP_DATETIME,8,3 ; @MYSQLND_TIMESTAMP_DATETIME
l_.str.1:                               ; @.str.1
	.asciz	"%04u-%02u-%02u %02u:%02u:%02u.%0*u"

l_.str.2:                               ; @.str.2
	.asciz	"%04u-%02u-%02u %02u:%02u:%02u"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.comm	_DBG_VOID_RETURN,4,2            ; @DBG_VOID_RETURN
	.no_dead_strip	_ps_fetch_datetime
.subsections_via_symbols
