	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_convert_timeval            ## -- Begin function cfg_convert_timeval
	.p2align	4, 0x90
_cfg_convert_timeval:                   ## @cfg_convert_timeval
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$14, %eax
	jl	LBB0_9
## %bb.1:
	leaq	-36(%rbp), %rcx
	leaq	-32(%rbp), %r8
	leaq	-28(%rbp), %r9
	leaq	-24(%rbp), %r10
	leaq	-20(%rbp), %rax
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	pushq	%rax
	pushq	%r10
	callq	_sscanf
	addq	$16, %rsp
	cmpl	$6, %eax
	jne	LBB0_9
## %bb.2:
	movl	-40(%rbp), %ecx
	movl	-36(%rbp), %eax
	leal	-1900(%rcx), %edx
	movl	%edx, -40(%rbp)
	leal	-1(%rax), %edx
	movl	%edx, -36(%rbp)
	cmpl	$1970, %ecx                     ## imm = 0x7B2
	jl	LBB0_9
## %bb.3:
	addl	$-13, %eax
	cmpl	$-12, %eax
	jb	LBB0_9
## %bb.4:
	movl	-32(%rbp), %eax
	addl	$-32, %eax
	cmpl	$-31, %eax
	jb	LBB0_9
## %bb.5:
	cmpl	$23, -28(%rbp)
	ja	LBB0_9
## %bb.6:
	cmpl	$59, -24(%rbp)
	ja	LBB0_9
## %bb.7:
	cmpl	$59, -20(%rbp)
	ja	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rdi
	callq	_sldns_mktime_from_utc
	movl	%eax, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%4d%2d%2d%2d%2d%2d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_convert_timeval            ; -- Begin function cfg_convert_timeval
	.p2align	2
_cfg_convert_timeval:                   ; @cfg_convert_timeval
	.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
	add	x20, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x0, x19
	bl	_strlen
	mov	x8, x0
	mov	w0, #0
	cmp	w8, #14
	b.lt	LBB0_10
; %bb.1:
	orr	x3, x20, #0x4
	add	x4, x20, #8
	add	x5, x20, #12
	add	x6, x20, #16
	add	x7, x20, #20
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #6
	b.ne	LBB0_9
; %bb.2:
	mov	w0, #0
	ldp	w9, w8, [sp, #8]
	sub	w10, w9, #1900
	sub	w11, w8, #1
	stp	w10, w11, [sp, #8]
	cmp	w9, #1970
	b.lt	LBB0_10
; %bb.3:
	sub	w8, w8, #13
	cmn	w8, #12
	b.lo	LBB0_10
; %bb.4:
	mov	w0, #0
	ldr	w8, [sp, #16]
	sub	w8, w8, #32
	cmn	w8, #31
	b.lo	LBB0_10
; %bb.5:
	ldr	w8, [sp, #20]
	cmp	w8, #23
	b.hi	LBB0_10
; %bb.6:
	ldr	w8, [sp, #24]
	cmp	w8, #59
	b.hi	LBB0_10
; %bb.7:
	ldr	w8, [sp, #28]
	cmp	w8, #59
	b.hi	LBB0_10
; %bb.8:
	add	x0, sp, #8
	bl	_sldns_mktime_from_utc
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%4d%2d%2d%2d%2d%2d"

.subsections_via_symbols
