	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConvertDateToXMDate            ## -- Begin function ConvertDateToXMDate
	.p2align	4, 0x90
_ConvertDateToXMDate:                   ## @ConvertDateToXMDate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	cmpl	$15, %eax
	jle	LBB0_1
## %bb.4:
	cmpb	$68, (%rbx)
	jne	LBB0_1
## %bb.5:
	cmpb	$58, 1(%rbx)
	jne	LBB0_1
## %bb.6:
	leaq	2(%rbx), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_HPDF_Stream_Write
	movq	_HPDF_OK@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.8:
	leaq	6(%rbx), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.10:
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.12:
	leaq	10(%rbx), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.14:
	leaq	12(%rbx), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.15:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.16:
	leaq	14(%rbx), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.17:
	movb	16(%rbx), %al
	cmpb	$45, %al
	je	LBB0_22
## %bb.18:
	cmpb	$43, %al
	je	LBB0_22
## %bb.19:
	testb	%al, %al
	jne	LBB0_25
## %bb.20:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	jmp	LBB0_21
LBB0_1:
	movq	_HPDF_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	leaq	16(%rbx), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.23:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_HPDF_Stream_Write
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.24:
	addq	$20, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HPDF_Stream_Write              ## TAILCALL
LBB0_25:
	movl	(%r14), %edi
	movq	_HPDF_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HPDF_SetError                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_INVALID_PARAMETER,8,3     ## @HPDF_INVALID_PARAMETER
	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

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

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConvertDateToXMDate            ; -- Begin function ConvertDateToXMDate
	.p2align	2
_ConvertDateToXMDate:                   ; @ConvertDateToXMDate
	.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
	cbz	x1, LBB0_19
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	cmp	w0, #15
	b.le	LBB0_19
; %bb.2:
	ldrb	w8, [x20]
	cmp	w8, #68
	b.ne	LBB0_19
; %bb.3:
	ldrb	w8, [x20, #1]
	cmp	w8, #58
	b.ne	LBB0_19
; %bb.4:
	add	x1, x20, #2
	mov	x0, x19
	mov	w2, #4
	bl	_HPDF_Stream_Write
Lloh0:
	adrp	x21, _HPDF_OK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HPDF_OK@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.5:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.6:
	add	x1, x20, #6
	mov	x0, x19
	mov	w2, #2
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.7:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.8:
	add	x1, x20, #8
	mov	x0, x19
	mov	w2, #2
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.9:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.10:
	add	x1, x20, #10
	mov	x0, x19
	mov	w2, #2
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.11:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.12:
	add	x1, x20, #12
	mov	x0, x19
	mov	w2, #2
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.13:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.14:
	add	x1, x20, #14
	mov	x0, x19
	mov	w2, #2
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.15:
	mov	x1, x20
	ldrb	w8, [x1, #16]!
	cmp	w8, #45
	b.eq	LBB0_21
; %bb.16:
	cmp	w8, #43
	b.eq	LBB0_21
; %bb.17:
	cbnz	w8, LBB0_25
; %bb.18:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	b	LBB0_24
LBB0_19:
Lloh14:
	adrp	x8, _HPDF_INVALID_PARAMETER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HPDF_INVALID_PARAMETER@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
LBB0_20:
	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
LBB0_21:
	mov	x0, x19
	mov	w2, #3
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.22:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_HPDF_Stream_Write
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.23:
	add	x1, x20, #20
	mov	x0, x19
	mov	w2, #2
LBB0_24:
	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
	b	_HPDF_Stream_Write
LBB0_25:
	ldr	w0, [x19]
Lloh19:
	adrp	x8, _HPDF_INVALID_PARAMETER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HPDF_INVALID_PARAMETER@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
	mov	w2, #0
	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
	b	_HPDF_SetError
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_INVALID_PARAMETER,8,3     ; @HPDF_INVALID_PARAMETER
	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

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

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

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

.subsections_via_symbols
