	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509write_crt_der      ## -- Begin function mbedtls_x509write_crt_der
	.p2align	4, 0x90
_mbedtls_x509write_crt_der:             ## @mbedtls_x509write_crt_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	$2216, %rsp                     ## imm = 0x8A8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -2240(%rbp)                ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -2192(%rbp)
	movq	_MBEDTLS_MPI_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -2176(%rbp)               ## 8-byte Spill
	leaq	-112(%rbp), %rax
	movq	%rax, -2168(%rbp)
	movl	4(%r14), %edi
	callq	_mbedtls_pk_get_type
	movq	_MBEDTLS_PK_ECKEY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_MBEDTLS_PK_ECDSA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_2:
	movl	(%r14), %esi
	leaq	-2200(%rbp), %rdx
	leaq	-2192(%rbp), %rcx
	movq	%rax, %rdi
	callq	_mbedtls_oid_get_oid_by_sig_alg
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	36(%r14), %edx
	movq	%rbx, -2232(%rbp)               ## 8-byte Spill
	movq	%r12, -2208(%rbp)               ## 8-byte Spill
	leaq	-2168(%rbp), %r12
	movq	%r13, -2224(%rbp)               ## 8-byte Spill
	leaq	-2160(%rbp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_x509_write_extensions
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_mbedtls_asn1_write_len
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	%r15, -2216(%rbp)               ## 8-byte Spill
	movq	_MBEDTLS_ASN1_CONSTRUCTED@GOTPCREL(%rip), %r15
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_asn1_write_tag
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_mbedtls_asn1_write_len
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	_MBEDTLS_ASN1_CONTEXT_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	orl	$3, %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_asn1_write_tag
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	32(%r14), %edi
	movl	-2168(%rbp), %edx
	subl	%r13d, %edx
	movq	%r13, %rsi
	callq	_mbedtls_pk_write_pubkey_der
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	28(%r14), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_x509_write_names
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	24(%r14), %edx
	movq	_MBEDTLS_X509_RFC5280_UTC_TIME_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_x509_write_time
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	20(%r14), %edx
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_x509_write_time
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_mbedtls_asn1_write_len
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_asn1_write_tag
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	16(%r14), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_x509_write_names
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	-2200(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_mbedtls_asn1_write_algorithm_identifier
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	leaq	12(%r14), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_asn1_write_mpi
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	8(%r14), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_asn1_write_int
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_mbedtls_asn1_write_len
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	(%r15), %edx
	movq	_MBEDTLS_ASN1_CONTEXT_SPECIFIC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_mbedtls_asn1_write_tag
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_mbedtls_asn1_write_len
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	movq	-2216(%rbp), %r15               ## 8-byte Reload
	movq	%r12, %rdi
	movq	-2232(%rbp), %r12               ## 8-byte Reload
	movq	%r13, %rsi
	movq	-2224(%rbp), %r13               ## 8-byte Reload
	callq	_mbedtls_asn1_write_tag
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movl	(%r14), %edi
	callq	_mbedtls_md_info_from_type
	movq	-2168(%rbp), %rsi
	leaq	-112(%rbp), %rbx
	movl	%eax, %edi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_mbedtls_md
	movl	(%r14), %esi
	movl	4(%r14), %edi
	leaq	-2248(%rbp), %r9
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	-2176(%rbp), %r8                ## 8-byte Reload
	pushq	-2240(%rbp)                     ## 8-byte Folded Reload
	pushq	-2208(%rbp)                     ## 8-byte Folded Reload
	callq	_mbedtls_pk_sign
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	addq	%r12, %r13
	movq	%r13, -2184(%rbp)
	movq	-2200(%rbp), %rdx
	movq	-2192(%rbp), %rcx
	movq	-2248(%rbp), %r9
	leaq	-2184(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-2176(%rbp), %r8                ## 8-byte Reload
	callq	_mbedtls_x509_write_sig
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	-2184(%rbp), %rdi
	movq	-2168(%rbp), %rsi
	xorl	%edx, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_mbedtls_asn1_write_len
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MBEDTLS_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mbedtls_asn1_write_tag
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MBEDTLS_ASN1_CHK_ADD
	xorl	%eax, %eax
LBB0_5:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_MPI_MAX_SIZE,4,2       ## @MBEDTLS_MPI_MAX_SIZE
	.comm	_MBEDTLS_PK_ECKEY,8,3           ## @MBEDTLS_PK_ECKEY
	.comm	_MBEDTLS_PK_ECDSA,8,3           ## @MBEDTLS_PK_ECDSA
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ## @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ## @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ASN1_CONTEXT_SPECIFIC,4,2 ## @MBEDTLS_ASN1_CONTEXT_SPECIFIC
	.comm	_MBEDTLS_X509_RFC5280_UTC_TIME_LEN,4,2 ## @MBEDTLS_X509_RFC5280_UTC_TIME_LEN
	.comm	_MBEDTLS_ERR_ASN1_BUF_TOO_SMALL,4,2 ## @MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509write_crt_der      ; -- Begin function mbedtls_x509write_crt_der
	.p2align	2
_mbedtls_x509write_crt_der:             ; @mbedtls_x509write_crt_der
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2176
	mov	x19, sp
	mov	x22, x4
	mov	x24, x3
	mov	x28, x2
	mov	x20, x1
	mov	x25, x0
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	xzr, [x19, #32]
Lloh3:
	adrp	x8, _MBEDTLS_MPI_MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBEDTLS_MPI_MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	add	x8, x19, #48
	add	x8, x8, #2048
	str	x8, [x19, #24]
	ldr	w0, [x0, #4]
	bl	_mbedtls_pk_get_type
Lloh8:
	adrp	x8, _MBEDTLS_PK_ECKEY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MBEDTLS_PK_ECKEY@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _MBEDTLS_PK_ECDSA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MBEDTLS_PK_ECDSA@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x0, x9, x0, eq
	ldr	w1, [x25]
	add	x2, x19, #40
	add	x3, x19, #32
	bl	_mbedtls_oid_get_oid_by_sig_alg
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w2, [x25, #36]
	add	x26, x19, #48
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_x509_write_extensions
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	add	x0, x19, #24
	add	x1, x19, #48
	mov	x2, #0
	bl	_mbedtls_asn1_write_len
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	str	x22, [x19]                      ; 8-byte Folded Spill
	mov	x22, x20
Lloh14:
	adrp	x20, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGE
Lloh15:
	ldr	x20, [x20, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh16:
	adrp	x21, _MBEDTLS_ASN1_SEQUENCE@GOTPAGE
Lloh17:
	ldr	x21, [x21, _MBEDTLS_ASN1_SEQUENCE@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w2, w9, w8
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_asn1_write_tag
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	add	x0, x19, #24
	add	x1, x19, #48
	mov	x2, #0
	bl	_mbedtls_asn1_write_len
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
Lloh18:
	adrp	x8, _MBEDTLS_ASN1_CONTEXT_SPECIFIC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MBEDTLS_ASN1_CONTEXT_SPECIFIC@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w8, w9
	orr	w2, w8, #0x3
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_asn1_write_tag
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w0, [x25, #32]
	ldr	w8, [x19, #24]
	sub	w2, w8, w26
	add	x1, x19, #48
	bl	_mbedtls_pk_write_pubkey_der
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w2, [x25, #28]
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_x509_write_names
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w2, [x25, #24]
Lloh21:
	adrp	x26, _MBEDTLS_X509_RFC5280_UTC_TIME_LEN@GOTPAGE
Lloh22:
	ldr	x26, [x26, _MBEDTLS_X509_RFC5280_UTC_TIME_LEN@GOTPAGEOFF]
	ldr	w3, [x26]
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_x509_write_time
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w2, [x25, #20]
	ldr	w3, [x26]
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_x509_write_time
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	add	x0, x19, #24
	add	x1, x19, #48
	mov	x2, #0
	bl	_mbedtls_asn1_write_len
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w2, w9, w8
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_asn1_write_tag
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w2, [x25, #16]
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_x509_write_names
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	x26, [x19, #40]
	mov	x0, x26
	bl	_strlen
	mov	x3, x0
	add	x0, x19, #24
	add	x1, x19, #48
	mov	x2, x26
	mov	x26, x21
	mov	x21, x20
	mov	w4, #0
	bl	_mbedtls_asn1_write_algorithm_identifier
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	add	x2, x25, #12
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_asn1_write_mpi
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w2, [x25, #8]
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_asn1_write_int
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	add	x0, x19, #24
	add	x1, x19, #48
	mov	x2, #0
	bl	_mbedtls_asn1_write_len
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
Lloh23:
	adrp	x8, _MBEDTLS_ASN1_CONTEXT_SPECIFIC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MBEDTLS_ASN1_CONTEXT_SPECIFIC@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w2, w9, w8
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_asn1_write_tag
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	add	x0, x19, #24
	add	x1, x19, #48
	mov	x2, #0
	bl	_mbedtls_asn1_write_len
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w8, [x20]
	ldr	w9, [x26]
	orr	w2, w9, w8
	add	x0, x19, #24
	add	x1, x19, #48
	bl	_mbedtls_asn1_write_tag
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w0, [x25]
	bl	_mbedtls_md_info_from_type
	ldr	x1, [x19, #24]
	sub	x3, x29, #160
	mov	x2, #0
	bl	_mbedtls_md
	ldp	w1, w0, [x25]
	sub	x2, x29, #160
	add	x5, x19, #8
	mov	w3, #0
	mov	x4, x23
	mov	x6, x24
	ldr	x7, [x19]                       ; 8-byte Folded Reload
	bl	_mbedtls_pk_sign
	cbnz	w0, LBB0_3
; %bb.2:
	add	x8, x22, x28
	str	x8, [x19, #16]
	ldp	x3, x2, [x19, #32]
	ldr	x5, [x19, #8]
	add	x0, x19, #16
	mov	x1, x22
	mov	x4, x23
	bl	_mbedtls_x509_write_sig
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldp	x0, x1, [x19, #16]
	mov	x2, #0
	bl	_memcpy
	add	x0, x19, #16
	mov	x1, x22
	mov	x2, #0
	bl	_mbedtls_asn1_write_len
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	ldr	w8, [x21]
	ldr	w9, [x26]
	orr	w2, w9, w8
	add	x0, x19, #16
	mov	x1, x22
	bl	_mbedtls_asn1_write_tag
	mov	x1, x0
	mov	x0, #0
	bl	_MBEDTLS_ASN1_CHK_ADD
	mov	w0, #0
LBB0_3:
	mov	sp, x27
	ldur	x8, [x29, #-96]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_MPI_MAX_SIZE,4,2       ; @MBEDTLS_MPI_MAX_SIZE
	.comm	_MBEDTLS_PK_ECKEY,8,3           ; @MBEDTLS_PK_ECKEY
	.comm	_MBEDTLS_PK_ECDSA,8,3           ; @MBEDTLS_PK_ECDSA
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ; @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ; @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ASN1_CONTEXT_SPECIFIC,4,2 ; @MBEDTLS_ASN1_CONTEXT_SPECIFIC
	.comm	_MBEDTLS_X509_RFC5280_UTC_TIME_LEN,4,2 ; @MBEDTLS_X509_RFC5280_UTC_TIME_LEN
	.comm	_MBEDTLS_ERR_ASN1_BUF_TOO_SMALL,4,2 ; @MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
.subsections_via_symbols
