	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xml_convertdate
_xml_convertdate:                       ## @xml_convertdate
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	cmpb	$45, (%rdi)
	sete	%bl
	addq	%rdi, %rbx
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_strptime
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movb	(%rax), %al
	cmpb	$46, %al
	jne	LBB0_9
## %bb.4:
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	incq	%rbx
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_5
## %bb.8:
	movslq	-28(%rbp), %rcx
	movb	(%rbx,%rcx), %al
	addq	%rcx, %rbx
LBB0_9:
	cmpb	$45, %al
	je	LBB0_11
## %bb.10:
	cmpb	$43, %al
	jne	LBB0_17
LBB0_11:
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	movl	$0, -44(%rbp)
	leaq	1(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	leaq	-44(%rbp), %r8
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jg	LBB0_14
## %bb.12:
	movq	_verb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.13:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_7
LBB0_1:
	movq	_verb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_21
LBB0_14:
	cmpb	$43, (%rbx)
	movl	-32(%rbp), %ecx
	movl	-40(%rbp), %eax
	jne	LBB0_16
## %bb.15:
	addl	%ecx, %eax
	movl	%eax, -40(%rbp)
	movl	-28(%rbp), %eax
	addl	%eax, -36(%rbp)
	jmp	LBB0_17
LBB0_5:
	movq	_verb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
LBB0_7:
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_20
LBB0_16:
	subl	%ecx, %eax
	movl	%eax, -40(%rbp)
	movl	-28(%rbp), %eax
	subl	%eax, -36(%rbp)
LBB0_17:
	leaq	-40(%rbp), %rdi
	callq	_sldns_mktime_from_utc
	movq	%rax, %rbx
	cmpq	$-1, %rax
	jne	LBB0_21
## %bb.18:
	movq	_verb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.19:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_20:
	xorl	%ebx, %ebx
LBB0_21:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t"

	.comm	_verb,8,3                       ## @verb
L_.str.1:                               ## @.str.1
	.asciz	"xml_convertdate parse failure %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"%d%n"

L_.str.3:                               ## @.str.3
	.asciz	"xml_convertdate f failure %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"%d:%d%n"

L_.str.5:                               ## @.str.5
	.asciz	"xml_convertdate tz failure %s\n"

L_str:                                  ## @str
	.asciz	"xml_convertdate mktime failure"

	.no_dead_strip	_xml_convertdate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xml_convertdate
_xml_convertdate:                       ; @xml_convertdate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	mov	x8, x0
	ldrb	w9, [x8], #1
	cmp	w9, #45
	csel	x20, x0, x8, ne
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	mov	x0, x20
	bl	_strptime
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	ldrb	w8, [x0]
	cmp	w8, #46
	b.ne	LBB0_4
; %bb.2:
	str	xzr, [sp, #16]
	add	x20, x20, #1
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #20
	add	x3, sp, #16
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #0
	b.le	LBB0_13
; %bb.3:
	ldrsw	x8, [sp, #16]
	add	x20, x20, x8
	ldrb	w8, [x20]
LBB0_4:
	cmp	w8, #45
	b.eq	LBB0_6
; %bb.5:
	cmp	w8, #43
	b.ne	LBB0_17
LBB0_6:
	str	xzr, [sp, #16]
	add	x0, x20, #1
	str	wzr, [sp, #12]
	add	x8, sp, #12
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.4@PAGE
Lloh5:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #20
	add	x3, sp, #16
	bl	_sscanf
	cmp	w0, #1
	b.gt	LBB0_11
; %bb.7:
Lloh6:
	adrp	x8, _verb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.8:
	str	x19, [sp]
Lloh9:
	adrp	x0, l_.str.5@PAGE
Lloh10:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	b	LBB0_20
LBB0_9:
Lloh11:
	adrp	x8, _verb@GOTPAGE
Lloh12:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.10:
	str	x19, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	b	LBB0_20
LBB0_11:
	ldrb	w10, [x20]
	ldp	w8, w9, [sp, #20]
	cmp	w10, #43
	b.ne	LBB0_15
; %bb.12:
	add	w8, w9, w8
	ldr	w9, [sp, #16]
	ldr	w10, [sp, #28]
	add	w9, w10, w9
	b	LBB0_16
LBB0_13:
Lloh16:
	adrp	x8, _verb@GOTPAGE
Lloh17:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.14:
	str	x19, [sp]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	b	LBB0_20
LBB0_15:
	sub	w8, w9, w8
	ldr	w9, [sp, #16]
	ldr	w10, [sp, #28]
	sub	w9, w10, w9
LBB0_16:
	stp	w8, w9, [sp, #24]
LBB0_17:
	add	x0, sp, #24
	bl	_sldns_mktime_from_utc
	cmn	x0, #1
	b.ne	LBB0_21
; %bb.18:
Lloh21:
	adrp	x8, _verb@GOTPAGE
Lloh22:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:
Lloh24:
	adrp	x0, l_str@PAGE
Lloh25:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_20:
	mov	x0, #0
LBB0_21:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t"

	.comm	_verb,8,3                       ; @verb
l_.str.1:                               ; @.str.1
	.asciz	"xml_convertdate parse failure %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"%d%n"

l_.str.3:                               ; @.str.3
	.asciz	"xml_convertdate f failure %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"%d:%d%n"

l_.str.5:                               ; @.str.5
	.asciz	"xml_convertdate tz failure %s\n"

l_str:                                  ; @str
	.asciz	"xml_convertdate mktime failure"

	.no_dead_strip	_xml_convertdate
.subsections_via_symbols
