	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_date_is_valid
_x509_date_is_valid:                    ## @x509_date_is_valid
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_MBEDTLS_ERR_X509_INVALID_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rdi), %edx
	xorl	%edi, %edi
	movl	$9999, %esi                     ## imm = 0x270F
	callq	_CHECK_RANGE
	movl	4(%rbx), %edx
	xorl	%edi, %edi
	movl	$23, %esi
	callq	_CHECK_RANGE
	movl	8(%rbx), %edx
	xorl	%edi, %edi
	movl	$59, %esi
	callq	_CHECK_RANGE
	movl	12(%rbx), %edx
	xorl	%edi, %edi
	movl	$59, %esi
	callq	_CHECK_RANGE
	movl	16(%rbx), %eax
	cmpl	$12, %eax
	ja	LBB0_6
## %bb.1:
	movl	$31, %esi
	movl	$5546, %ecx                     ## imm = 0x15AA
	btl	%eax, %ecx
	jb	LBB0_5
## %bb.2:
	movl	$2640, %ecx                     ## imm = 0xA50
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.7:
	movl	$30, %esi
LBB0_5:
	movl	20(%rbx), %edx
	movl	$1, %edi
	callq	_CHECK_RANGE
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	cmpl	$2, %eax
	jne	LBB0_6
## %bb.4:
	xorl	%esi, %esi
	testb	$3, (%rbx)
	sete	%sil
	orl	$28, %esi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_X509_INVALID_DATE,4,2 ## @MBEDTLS_ERR_X509_INVALID_DATE
	.no_dead_strip	_x509_date_is_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_date_is_valid
_x509_date_is_valid:                    ; @x509_date_is_valid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_DATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_DATE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w2, [x0]
	mov	w0, #0
	mov	w1, #9999
	bl	_CHECK_RANGE
	ldr	w2, [x19, #4]
	mov	w0, #0
	mov	w1, #23
	bl	_CHECK_RANGE
	ldr	w2, [x19, #8]
	mov	w0, #0
	mov	w1, #59
	bl	_CHECK_RANGE
	ldr	w2, [x19, #12]
	mov	w0, #0
	mov	w1, #59
	bl	_CHECK_RANGE
	ldr	w8, [x19, #16]
	cmp	w8, #12
	b.hi	LBB0_6
; %bb.1:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #5546
	tst	w9, w10
	b.eq	LBB0_3
; %bb.2:
	mov	w1, #31
	b	LBB0_5
LBB0_3:
	mov	w10, #2640
	tst	w9, w10
	b.eq	LBB0_7
; %bb.4:
	mov	w1, #30
LBB0_5:
	ldr	w2, [x19, #20]
	mov	w0, #1
	bl	_CHECK_RANGE
	mov	w20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	cmp	w8, #2
	b.ne	LBB0_6
; %bb.8:
	ldrb	w8, [x19]
	tst	w8, #0x3
	mov	w8, #28
	cinc	w1, w8, eq
	b	LBB0_5
	.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_date_is_valid
.subsections_via_symbols
