	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DATETIME_Char
_DATETIME_Char:                         ## @DATETIME_Char
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_DTHT_DATEFIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	cltq
	movq	8(%rdi), %rcx
	movl	(%rcx,%rax,4), %eax
	movq	_ONELETTERAMPM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_TWOLETTERAMPM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.3:
	leal	-48(%rsi), %ecx
	cmpb	$9, %cl
	ja	LBB0_6
## %bb.4:
	movq	16(%rdi), %r8
	movslq	24(%rdi), %rdx
	leal	1(%rdx), %ecx
	movl	%ecx, 24(%rdi)
	movb	%sil, (%r8,%rdx)
	movq	_INVALIDFULLYEAR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%cl
	movq	_FULLYEAR@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%dl
	orb	%cl, %dl
	movzbl	%dl, %ecx
	addl	%ecx, %ecx
	addl	$2, %ecx
	movq	_ONEDIGIT12HOUR@GOTPCREL(%rip), %r8
	movq	_TWODIGIT12HOUR@GOTPCREL(%rip), %r9
	movq	_ONEDIGIT24HOUR@GOTPCREL(%rip), %r10
	movq	_TWODIGIT24HOUR@GOTPCREL(%rip), %r11
	movl	24(%rdi), %edx
	cmpl	$1, %edx
	movl	%ecx, %ebx
	cmovel	%edx, %ebx
	cmpb	$51, %sil
	cmovbl	%ecx, %ebx
	cmpl	(%r11), %eax
	cmovel	%ebx, %ecx
	cmpl	(%r10), %eax
	cmovel	%ebx, %ecx
	cmpl	(%r9), %eax
	cmovel	%ebx, %ecx
	cmpl	(%r8), %eax
	cmovel	%ebx, %ecx
	cmpl	%edx, %ecx
	je	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movq	16(%rdi), %rax
	movb	%sil, (%rax)
	movl	$1, 24(%rdi)
LBB0_5:
	callq	_DATETIME_ApplySelectedField
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTHT_DATEFIELD,4,2             ## @DTHT_DATEFIELD
	.comm	_ONELETTERAMPM,4,2              ## @ONELETTERAMPM
	.comm	_TWOLETTERAMPM,4,2              ## @TWOLETTERAMPM
	.comm	_INVALIDFULLYEAR,4,2            ## @INVALIDFULLYEAR
	.comm	_FULLYEAR,4,2                   ## @FULLYEAR
	.comm	_ONEDIGIT12HOUR,4,2             ## @ONEDIGIT12HOUR
	.comm	_TWODIGIT12HOUR,4,2             ## @TWODIGIT12HOUR
	.comm	_ONEDIGIT24HOUR,4,2             ## @ONEDIGIT24HOUR
	.comm	_TWODIGIT24HOUR,4,2             ## @TWODIGIT24HOUR
	.no_dead_strip	_DATETIME_Char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DATETIME_Char
_DATETIME_Char:                         ; @DATETIME_Char
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	and	w8, w1, #0xff
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _DTHT_DATEFIELD@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DTHT_DATEFIELD@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
	ldr	x10, [x0, #8]
	ldr	w9, [x10, w9, sxtw #2]
Lloh3:
	adrp	x10, _ONELETTERAMPM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ONELETTERAMPM@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _TWOLETTERAMPM@GOTPAGE
Lloh7:
	ldr	x11, [x11, _TWOLETTERAMPM@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x0, #16]
	strb	w8, [x9]
	mov	w8, #1
	str	w8, [x0, #24]
	b	LBB0_4
LBB0_2:
	sub	w10, w8, #48
	cmp	w10, #9
	b.hi	LBB0_5
; %bb.3:
	ldr	x10, [x0, #16]
	ldrsw	x11, [x0, #24]
	add	w12, w11, #1
	str	w12, [x0, #24]
	strb	w8, [x10, x11]
Lloh9:
	adrp	x10, _INVALIDFULLYEAR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _INVALIDFULLYEAR@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _FULLYEAR@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FULLYEAR@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	w9, w11
	ccmp	w9, w10, #4, ne
	mov	w10, #2
	mov	w11, #4
	csel	w10, w11, w10, eq
Lloh15:
	adrp	x11, _ONEDIGIT12HOUR@GOTPAGE
Lloh16:
	ldr	x11, [x11, _ONEDIGIT12HOUR@GOTPAGEOFF]
Lloh17:
	adrp	x12, _TWODIGIT12HOUR@GOTPAGE
Lloh18:
	ldr	x12, [x12, _TWODIGIT12HOUR@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
Lloh20:
	ldr	w12, [x12]
Lloh21:
	adrp	x13, _ONEDIGIT24HOUR@GOTPAGE
Lloh22:
	ldr	x13, [x13, _ONEDIGIT24HOUR@GOTPAGEOFF]
Lloh23:
	adrp	x14, _TWODIGIT24HOUR@GOTPAGE
Lloh24:
	ldr	x14, [x14, _TWODIGIT24HOUR@GOTPAGEOFF]
Lloh25:
	ldr	w13, [x13]
Lloh26:
	ldr	w14, [x14]
	cmp	w9, w14
	ccmp	w9, w13, #4, ne
	ccmp	w9, w12, #4, ne
	ccmp	w9, w11, #4, ne
	ldr	w9, [x0, #24]
	ccmp	w9, #1, #0, eq
	mov	w11, #50
	ccmp	w8, w11, #0, eq
	csinc	w8, w10, wzr, ls
	cmp	w8, w9
	b.ne	LBB0_5
LBB0_4:
	bl	_DATETIME_ApplySelectedField
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DTHT_DATEFIELD,4,2             ; @DTHT_DATEFIELD
	.comm	_ONELETTERAMPM,4,2              ; @ONELETTERAMPM
	.comm	_TWOLETTERAMPM,4,2              ; @TWOLETTERAMPM
	.comm	_INVALIDFULLYEAR,4,2            ; @INVALIDFULLYEAR
	.comm	_FULLYEAR,4,2                   ; @FULLYEAR
	.comm	_ONEDIGIT12HOUR,4,2             ; @ONEDIGIT12HOUR
	.comm	_TWODIGIT12HOUR,4,2             ; @TWODIGIT12HOUR
	.comm	_ONEDIGIT24HOUR,4,2             ; @ONEDIGIT24HOUR
	.comm	_TWODIGIT24HOUR,4,2             ; @TWODIGIT24HOUR
	.no_dead_strip	_DATETIME_Char
.subsections_via_symbols
