	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_asn1_get_sequence_of   ## -- Begin function mbedtls_asn1_get_sequence_of
	.p2align	4, 0x90
_mbedtls_asn1_get_sequence_of:          ## @mbedtls_asn1_get_sequence_of
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MBEDTLS_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	movq	_MBEDTLS_ASN1_SEQUENCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-40(%rbp), %rdx
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	(%rbx), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	cmpq	%r14, %rax
	je	LBB0_2
LBB0_8:
	movq	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rcx), %eax
	movb	%al, 8(%r12)
	leaq	16(%r12), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	callq	_mbedtls_asn1_get_tag
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movq	%rax, 24(%r12)
	movq	(%rbx), %rcx
	addq	16(%r12), %rcx
	movq	%rcx, (%rbx)
	cmpq	%r14, %rcx
	jae	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movl	$32, %esi
	callq	_mbedtls_calloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rcx
	movq	%rax, %r12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rcx
	jb	LBB0_3
## %bb.7:
	movq	$0, (%r12)
	xorl	%eax, %eax
	cmpq	%r14, (%rbx)
	jne	LBB0_8
	jmp	LBB0_10
LBB0_11:
	movq	_MBEDTLS_ERR_ASN1_ALLOC_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ## @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ## @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.comm	_MBEDTLS_ERR_ASN1_ALLOC_FAILED,4,2 ## @MBEDTLS_ERR_ASN1_ALLOC_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_asn1_get_sequence_of   ; -- Begin function mbedtls_asn1_get_sequence_of
	.p2align	2
_mbedtls_asn1_get_sequence_of:          ; @mbedtls_asn1_get_sequence_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ASN1_CONSTRUCTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MBEDTLS_ASN1_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MBEDTLS_ASN1_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x2, sp, #8
	bl	_mbedtls_asn1_get_tag
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [sp, #8]
	add	x9, x8, x9
	cmp	x9, x19
	b.eq	LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x8]
	strb	w8, [x22, #8]
	add	x2, x22, #16
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_mbedtls_asn1_get_tag
	cbnz	w0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	str	x8, [x22, #24]
	ldr	x8, [x22, #16]
	ldr	x9, [x20]
	add	x8, x9, x8
	cmp	x8, x19
	str	x8, [x20]
	b.hs	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	mov	w1, #32
	bl	_mbedtls_calloc
	str	x0, [x22]
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	mov	x22, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x19
	b.lo	LBB0_3
; %bb.8:
	str	xzr, [x22]
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	x8, x19
	csel	w0, wzr, w9, eq
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
Lloh12:
	adrp	x8, _MBEDTLS_ERR_ASN1_ALLOC_FAILED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MBEDTLS_ERR_ASN1_ALLOC_FAILED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ASN1_CONSTRUCTED,4,2   ; @MBEDTLS_ASN1_CONSTRUCTED
	.comm	_MBEDTLS_ASN1_SEQUENCE,4,2      ; @MBEDTLS_ASN1_SEQUENCE
	.comm	_MBEDTLS_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH
	.comm	_MBEDTLS_ERR_ASN1_ALLOC_FAILED,4,2 ; @MBEDTLS_ERR_ASN1_ALLOC_FAILED
.subsections_via_symbols
