	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_parse_time
_x509_parse_time:                       ## @x509_parse_time
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	8(%rdx), %rax
	cmpq	%rsi, %rax
	ja	LBB0_1
## %bb.2:
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	subq	%rax, %r12
	movl	%ebx, %esi
	movq	%rcx, %rdx
	callq	_x509_parse_int
	movl	%eax, %edi
	callq	_CHECK
	cmpq	$2, %rbx
	jne	LBB0_4
## %bb.3:
	movl	(%r15), %eax
	leal	100(%rax), %ecx
	cmpl	$50, %eax
	cmovgel	%eax, %ecx
	addl	$1900, %ecx                     ## imm = 0x76C
	movl	%ecx, (%r15)
LBB0_4:
	leaq	4(%r15), %rdx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_x509_parse_int
	movl	%eax, %edi
	callq	_CHECK
	leaq	8(%r15), %rdx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_x509_parse_int
	movl	%eax, %edi
	callq	_CHECK
	leaq	12(%r15), %rdx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_x509_parse_int
	movl	%eax, %edi
	callq	_CHECK
	leaq	16(%r15), %rdx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_x509_parse_int
	movl	%eax, %edi
	callq	_CHECK
	cmpq	$2, %r12
	jb	LBB0_1
## %bb.5:
	leaq	20(%r15), %rdx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_x509_parse_int
	movl	%eax, %edi
	callq	_CHECK
	cmpq	$2, %r12
	je	LBB0_9
## %bb.6:
	cmpq	$3, %r12
	jne	LBB0_1
## %bb.7:
	movq	(%r14), %rax
	cmpb	$90, (%rax)
	jne	LBB0_1
## %bb.8:
	incq	%rax
	movq	%rax, (%r14)
LBB0_9:
	movq	%r15, %rdi
	callq	_x509_date_is_valid
	movl	%eax, %edi
	callq	_CHECK
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_1:
	movq	_MBEDTLS_ERR_X509_INVALID_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_X509_INVALID_DATE,4,2 ## @MBEDTLS_ERR_X509_INVALID_DATE
	.no_dead_strip	_x509_parse_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_parse_time
_x509_parse_time:                       ; @x509_parse_time
	.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
	add	x8, x2, #8
	cmp	x8, x1
	b.hi	LBB0_9
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
	sub	x22, x1, x8
	mov	x1, x21
	mov	x2, x3
	bl	_x509_parse_int
	bl	_CHECK
	cmp	x21, #2
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x19]
	add	w9, w8, #100
	cmp	w8, #50
	csel	w8, w9, w8, lt
	add	w8, w8, #1900
	str	w8, [x19]
LBB0_3:
	add	x2, x19, #4
	mov	x0, x20
	mov	w1, #2
	bl	_x509_parse_int
	bl	_CHECK
	add	x2, x19, #8
	mov	x0, x20
	mov	w1, #2
	bl	_x509_parse_int
	bl	_CHECK
	add	x2, x19, #12
	mov	x0, x20
	mov	w1, #2
	bl	_x509_parse_int
	bl	_CHECK
	add	x2, x19, #16
	mov	x0, x20
	mov	w1, #2
	bl	_x509_parse_int
	bl	_CHECK
	cmp	x22, #2
	b.lo	LBB0_9
; %bb.4:
	add	x2, x19, #20
	mov	x0, x20
	mov	w1, #2
	bl	_x509_parse_int
	bl	_CHECK
	cmp	x22, #2
	b.eq	LBB0_8
; %bb.5:
	cmp	x22, #3
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [x20]
	ldrb	w9, [x8]
	cmp	w9, #90
	b.ne	LBB0_9
; %bb.7:
	add	x8, x8, #1
	str	x8, [x20]
LBB0_8:
	mov	x0, x19
	bl	_x509_date_is_valid
	bl	_CHECK
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_DATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_DATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_X509_INVALID_DATE,4,2 ; @MBEDTLS_ERR_X509_INVALID_DATE
	.no_dead_strip	_x509_parse_time
.subsections_via_symbols
