	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_time_scan       ## -- Begin function sldns_wire2str_time_scan
	.p2align	4, 0x90
_sldns_wire2str_time_scan:              ## @sldns_wire2str_time_scan
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$-1, %r12d
	cmpq	$4, (%r15)
	jb	LBB0_4
## %bb.1:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rdi
	callq	_sldns_read_uint32
	movl	%eax, %r14d
	movb	$0, -49(%rbp)
	xorl	%edi, %edi
	callq	_time
	leaq	-72(%rbp), %rdx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_sldns_serial_arithmetics_gmtime_r
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	movl	$15, %esi
	callq	_strftime
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	addq	$16, (%r13)
	addq	$-4, (%r15)
	leaq	L_.str.1(%rip), %rdx
	leaq	-64(%rbp), %rcx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_sldns_str_print
	movl	%eax, %r12d
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%Y%m%d%H%M%S"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_wire2str_time_scan       ; -- Begin function sldns_wire2str_time_scan
	.p2align	2
_sldns_wire2str_time_scan:              ; @sldns_wire2str_time_scan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x21]
	cmp	x8, #4
	b.lo	LBB0_4
; %bb.1:
	ldr	x0, [x22]
	bl	_sldns_read_uint32
	mov	x23, x0
	strb	wzr, [sp, #23]
	mov	x0, #0
	bl	_time
	mov	x1, x0
	mov	x2, sp
	mov	x0, x23
	bl	_sldns_serial_arithmetics_gmtime_r
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x3, sp
	mov	w1, #15
	bl	_strftime
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x22]
	add	x8, x8, #16
	str	x8, [x22]
	ldr	x8, [x21]
	sub	x8, x8, #4
	str	x8, [x21]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_sldns_str_print
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%Y%m%d%H%M%S"

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

.subsections_via_symbols
