	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509_crl_parse_der     ## -- Begin function mbedtls_x509_crl_parse_der
	.p2align	4, 0x90
_mbedtls_x509_crl_parse_der:            ## @mbedtls_x509_crl_parse_der
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	cmpl	$0, (%rbx)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	104(%r13), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.6:
	movl	$112, %esi
	movl	$1, %edi
	callq	_mbedtls_calloc
	movq	%rax, 104(%r13)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rdi
	callq	_mbedtls_x509_crl_init
	movq	104(%r13), %r13
LBB0_9:
	movl	$1, %edi
	movq	%r14, %rsi
	callq	_mbedtls_calloc
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movq	-48(%rbp), %r15
	movq	%r15, 24(%r13)
	movq	%r14, 32(%r13)
	addq	%r14, %r15
	movq	_MBEDTLS_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rbx
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%rbx), %ecx
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
	movq	_MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_46
LBB0_2:
	movq	_MBEDTLS_ERR_X509_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_46
LBB0_13:
	movq	-48(%rbp), %rax
	movq	%r15, %rcx
	subq	%rax, %rcx
	cmpq	%rcx, -56(%rbp)
	jne	LBB0_44
## %bb.14:
	movq	%rax, 88(%r13)
	movl	(%r12), %ecx
	orl	(%rbx), %ecx
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	je	LBB0_16
LBB0_15:
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
	movq	_MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_7:
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
LBB0_10:
	movq	_MBEDTLS_ERR_X509_ALLOC_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_46
LBB0_16:
	movq	-48(%rbp), %r15
	addq	-56(%rbp), %r15
	movl	88(%r13), %eax
	movl	%r15d, %ecx
	subl	%eax, %ecx
	movl	%ecx, 96(%r13)
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_x509_crl_get_version
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	leaq	8(%r13), %rdx
	leaq	-48(%rbp), %rdi
	leaq	-80(%rbp), %rcx
	movq	%r15, %rsi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_mbedtls_x509_get_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_19
LBB0_18:
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
	jmp	LBB0_46
LBB0_19:
	movl	(%r13), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r13)
	cmpl	$2, %eax
	jl	LBB0_21
## %bb.20:
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
	movq	_MBEDTLS_ERR_X509_UNKNOWN_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_46
LBB0_21:
	leaq	84(%r13), %rdx
	leaq	80(%r13), %rcx
	leaq	76(%r13), %r8
	leaq	-80(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mbedtls_x509_get_sig_alg
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
	movq	_MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_46
LBB0_23:
	movq	-48(%rbp), %rax
	movq	%rax, 56(%r13)
	movl	(%r12), %ecx
	orl	(%rbx), %ecx
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	jne	LBB0_15
## %bb.24:
	movq	-48(%rbp), %rsi
	addq	-56(%rbp), %rsi
	leaq	72(%r13), %rdx
	leaq	-48(%rbp), %rdi
	callq	_mbedtls_x509_get_name
	testl	%eax, %eax
	jne	LBB0_25
## %bb.26:
	movl	-48(%rbp), %eax
	subl	56(%r13), %eax
	movl	%eax, 64(%r13)
	leaq	52(%r13), %rdx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_mbedtls_x509_get_time
	testl	%eax, %eax
	jne	LBB0_25
## %bb.27:
	leaq	48(%r13), %rdx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_mbedtls_x509_get_time
	testl	%eax, %eax
	je	LBB0_30
## %bb.28:
	movl	%eax, %r14d
	movq	_MBEDTLS_ERR_X509_INVALID_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmpl	%ecx, %r14d
	je	LBB0_30
## %bb.29:
	movq	_MBEDTLS_ERR_ASN1_OUT_OF_DATA@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	cmpl	%eax, %r14d
	jne	LBB0_18
LBB0_30:
	leaq	44(%r13), %rdx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_x509_get_entries
	testl	%eax, %eax
	je	LBB0_31
LBB0_25:
	movl	%eax, %r14d
	jmp	LBB0_18
LBB0_31:
	cmpl	$2, (%r13)
	jne	LBB0_33
## %bb.32:
	leaq	40(%r13), %rdx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_x509_get_crl_ext
	testl	%eax, %eax
	jne	LBB0_25
LBB0_33:
	cmpq	%r15, -48(%rbp)
	je	LBB0_34
LBB0_44:
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
	movq	_MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_45:
	addl	(%rax), %r14d
LBB0_46:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	24(%r13), %r15
	addq	32(%r13), %r15
	leaq	-48(%rbp), %rdi
	leaq	-96(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	movq	%r15, %rsi
	callq	_mbedtls_x509_get_alg
	testl	%eax, %eax
	jne	LBB0_25
## %bb.35:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	cmpq	-96(%rbp), %rdx
	jne	LBB0_40
## %bb.36:
	movl	16(%r13), %edi
	movl	-88(%rbp), %esi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_40
## %bb.37:
	movq	-80(%rbp), %rdx
	cmpq	-112(%rbp), %rdx
	jne	LBB0_40
## %bb.38:
	testq	%rdx, %rdx
	je	LBB0_41
## %bb.39:
	movl	-72(%rbp), %edi
	movl	-104(%rbp), %esi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_41
LBB0_40:
	movq	%r13, %rdi
	callq	_mbedtls_x509_crl_free
	movq	_MBEDTLS_ERR_X509_SIG_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_46
LBB0_41:
	leaq	4(%r13), %rdx
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_mbedtls_x509_get_sig
	testl	%eax, %eax
	jne	LBB0_25
## %bb.42:
	cmpq	%r15, -48(%rbp)
	jne	LBB0_44
## %bb.43:
	xorl	%r14d, %r14d
	jmp	LBB0_46
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_X509_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_X509_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_X509_ALLOC_FAILED,4,2 ## @MBEDTLS_ERR_X509_ALLOC_FAILED
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ## @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ## @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_X509_INVALID_FORMAT,4,2 ## @MBEDTLS_ERR_X509_INVALID_FORMAT
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.comm	_MBEDTLS_ERR_X509_UNKNOWN_VERSION,4,2 ## @MBEDTLS_ERR_X509_UNKNOWN_VERSION
	.comm	_MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG,4,2 ## @MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG
	.comm	_MBEDTLS_ERR_X509_INVALID_DATE,4,2 ## @MBEDTLS_ERR_X509_INVALID_DATE
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ## @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ERR_ASN1_OUT_OF_DATA,4,2 ## @MBEDTLS_ERR_ASN1_OUT_OF_DATA
	.comm	_MBEDTLS_ERR_X509_SIG_MISMATCH,4,2 ## @MBEDTLS_ERR_X509_SIG_MISMATCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509_crl_parse_der     ; -- Begin function mbedtls_x509_crl_parse_der
	.p2align	2
_mbedtls_x509_crl_parse_der:            ; @mbedtls_x509_crl_parse_der
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_10
; %bb.2:
	mov	x20, x2
	mov	x22, x0
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x22
	ldr	w8, [x22]
	cbz	w8, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x19, #104]
	cbnz	x22, LBB0_3
; %bb.5:
	mov	w0, #1
	mov	w1, #112
	bl	_mbedtls_calloc
	str	x0, [x19, #104]
	cbz	x0, LBB0_14
; %bb.6:
	bl	_mbedtls_x509_crl_init
	ldr	x19, [x19, #104]
LBB0_7:
	mov	w0, #1
	mov	x1, x20
	bl	_mbedtls_calloc
	str	x0, [sp, #48]
	cbz	x0, LBB0_15
; %bb.8:
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [sp, #48]
	stp	x8, x20, [x19, #24]
Lloh0:
	adrp	x23, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGEOFF]
	add	x20, x8, x20
	ldr	w8, [x23]
Lloh2:
	adrp	x24, _MBEDTLS_ASN1_SEQUENCE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MBEDTLS_ASN1_SEQUENCE@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w3, w9, w8
	add	x0, sp, #48
	add	x2, sp, #56
	mov	x1, x20
	bl	_mbedtls_asn1_get_tag
	cbz	w0, LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
Lloh4:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh6:
	adrp	x8, _MBEDTLS_ERR_X509_BAD_INPUT_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_BAD_INPUT_DATA@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
	ldp	x8, x9, [sp, #48]
	sub	x10, x20, x8
	cmp	x9, x10
	b.ne	LBB0_37
; %bb.12:
	str	x8, [x19, #88]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w3, w9, w8
	add	x0, sp, #48
	add	x2, sp, #56
	mov	x1, x20
	bl	_mbedtls_asn1_get_tag
	cbz	w0, LBB0_18
; %bb.13:
	mov	x20, x0
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
Lloh8:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w22, w8, w20
	b	LBB0_17
LBB0_14:
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
LBB0_15:
Lloh11:
	adrp	x8, _MBEDTLS_ERR_X509_ALLOC_FAILED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_ALLOC_FAILED@GOTPAGEOFF]
LBB0_16:
	ldr	w22, [x8]
LBB0_17:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_18:
	ldp	x8, x9, [sp, #48]
	ldr	w10, [x19, #88]
	add	x21, x8, x9
	sub	w8, w21, w10
	str	w8, [x19, #96]
	add	x0, sp, #48
	mov	x1, x21
	mov	x2, x19
	bl	_x509_crl_get_version
	mov	x22, x0
	cbnz	w0, LBB0_20
; %bb.19:
	add	x20, x19, #8
	add	x0, sp, #48
	add	x3, sp, #32
	mov	x1, x21
	mov	x2, x20
	bl	_mbedtls_x509_get_alg
	mov	x22, x0
	cbz	w0, LBB0_21
LBB0_20:
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
	b	LBB0_17
LBB0_21:
	ldr	w8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	cmp	w8, #2
	b.lt	LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
Lloh13:
	adrp	x8, _MBEDTLS_ERR_X509_UNKNOWN_VERSION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_UNKNOWN_VERSION@GOTPAGEOFF]
	b	LBB0_16
LBB0_23:
	add	x2, x19, #84
	add	x3, x19, #80
	add	x4, x19, #76
	add	x1, sp, #32
	mov	x0, x20
	bl	_mbedtls_x509_get_sig_alg
	cbz	w0, LBB0_25
; %bb.24:
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
Lloh15:
	adrp	x8, _MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG@GOTPAGEOFF]
	b	LBB0_16
LBB0_25:
	ldr	x8, [sp, #48]
	str	x8, [x19, #56]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w3, w9, w8
	add	x0, sp, #48
	add	x2, sp, #56
	mov	x1, x21
	bl	_mbedtls_asn1_get_tag
	cbz	w0, LBB0_27
; %bb.26:
	mov	x22, x0
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
Lloh17:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w22, w8, w22
	b	LBB0_17
LBB0_27:
	ldp	x8, x9, [sp, #48]
	add	x1, x8, x9
	add	x2, x19, #72
	add	x0, sp, #48
	bl	_mbedtls_x509_get_name
	cbnz	w0, LBB0_33
; %bb.28:
	ldr	w8, [sp, #48]
	ldr	w9, [x19, #56]
	sub	w8, w8, w9
	str	w8, [x19, #64]
	add	x2, x19, #52
	add	x0, sp, #48
	mov	x1, x21
	bl	_mbedtls_x509_get_time
	cbnz	w0, LBB0_33
; %bb.29:
	add	x2, x19, #48
	add	x0, sp, #48
	mov	x1, x21
	bl	_mbedtls_x509_get_time
	cbz	w0, LBB0_32
; %bb.30:
	mov	x22, x0
Lloh20:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_DATE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_DATE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_UNEXPECTED_TAG@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	add	w9, w9, w8
	cmp	w0, w9
	b.eq	LBB0_32
; %bb.31:
Lloh26:
	adrp	x9, _MBEDTLS_ERR_ASN1_OUT_OF_DATA@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_OUT_OF_DATA@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	add	w8, w9, w8
	cmp	w22, w8
	b.ne	LBB0_20
LBB0_32:
	add	x2, x19, #44
	add	x0, sp, #48
	mov	x1, x21
	bl	_x509_get_entries
	cbz	w0, LBB0_34
LBB0_33:
	mov	x22, x0
	b	LBB0_20
LBB0_34:
	ldr	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_36
; %bb.35:
	add	x2, x19, #40
	add	x0, sp, #48
	mov	x1, x21
	bl	_x509_get_crl_ext
	cbnz	w0, LBB0_33
LBB0_36:
	ldr	x8, [sp, #48]
	cmp	x8, x21
	b.eq	LBB0_38
LBB0_37:
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
Lloh29:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_FORMAT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	add	w22, w9, w8
	b	LBB0_17
LBB0_38:
	ldp	x8, x9, [x19, #24]
	add	x21, x8, x9
	add	x0, sp, #48
	mov	x2, sp
	add	x3, sp, #16
	mov	x1, x21
	bl	_mbedtls_x509_get_alg
	cbnz	w0, LBB0_33
; %bb.39:
	ldr	x2, [x20]
	ldr	x8, [sp]
	cmp	x2, x8
	b.ne	LBB0_44
; %bb.40:
	ldr	w0, [x19, #16]
	ldr	w1, [sp, #8]
	bl	_memcmp
	cbnz	x0, LBB0_44
; %bb.41:
	ldr	x2, [sp, #32]
	ldr	x8, [sp, #16]
	cmp	x2, x8
	b.ne	LBB0_44
; %bb.42:
	cbz	x2, LBB0_45
; %bb.43:
	ldr	w0, [sp, #40]
	ldr	w1, [sp, #24]
	bl	_memcmp
	cbz	x0, LBB0_45
LBB0_44:
	mov	x0, x19
	bl	_mbedtls_x509_crl_free
Lloh35:
	adrp	x8, _MBEDTLS_ERR_X509_SIG_MISMATCH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_SIG_MISMATCH@GOTPAGEOFF]
	b	LBB0_16
LBB0_45:
	add	x2, x19, #4
	add	x0, sp, #48
	mov	x1, x21
	bl	_mbedtls_x509_get_sig
	cbnz	w0, LBB0_33
; %bb.46:
	ldr	x8, [sp, #48]
	cmp	x8, x21
	b.ne	LBB0_37
; %bb.47:
	mov	w22, #0
	b	LBB0_17
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_X509_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_X509_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_X509_ALLOC_FAILED,4,2 ; @MBEDTLS_ERR_X509_ALLOC_FAILED
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ; @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ; @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_X509_INVALID_FORMAT,4,2 ; @MBEDTLS_ERR_X509_INVALID_FORMAT
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.comm	_MBEDTLS_ERR_X509_UNKNOWN_VERSION,4,2 ; @MBEDTLS_ERR_X509_UNKNOWN_VERSION
	.comm	_MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG,4,2 ; @MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG
	.comm	_MBEDTLS_ERR_X509_INVALID_DATE,4,2 ; @MBEDTLS_ERR_X509_INVALID_DATE
	.comm	_MBEDTLS_ERR_ASN1_UNEXPECTED_TAG,4,2 ; @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG
	.comm	_MBEDTLS_ERR_ASN1_OUT_OF_DATA,4,2 ; @MBEDTLS_ERR_ASN1_OUT_OF_DATA
	.comm	_MBEDTLS_ERR_X509_SIG_MISMATCH,4,2 ; @MBEDTLS_ERR_X509_SIG_MISMATCH
.subsections_via_symbols
