	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_find_end
_asn1_find_end:                         ## @asn1_find_end
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movb	%dl, -41(%rbp)
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)
	testb	%dl, %dl
	je	LBB0_20
## %bb.1:
	testq	%rbx, %rbx
	jle	LBB0_8
## %bb.2:
	movl	$1, %r12d
	leaq	-56(%rbp), %r15
	jmp	LBB0_3
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax
	addq	-64(%rbp), %rax
	movq	%rax, -56(%rbp)
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%r13, %rbx
	subq	%rax, %rbx
	testq	%rbx, %rbx
	jle	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_asn1_check_eoc
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%r12d
	je	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$-2, %rbx
	testq	%rbx, %rbx
	jg	LBB0_3
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r13
	subq	$8, %rsp
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	leaq	-41(%rbp), %rcx
	xorl	%r8d, %r8d
	movq	%r15, %r9
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$-1
	pushq	%rbx
	callq	_asn1_check_tlen
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, -41(%rbp)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	movq	-56(%rbp), %rax
	jmp	LBB0_16
LBB0_20:
	addq	%rbx, %rax
	jmp	LBB0_18
LBB0_7:
	testl	%r12d, %r12d
	je	LBB0_17
LBB0_8:
	movq	_ASN1_F_ASN1_FIND_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_MISSING_EOC@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_17:
	movq	-56(%rbp), %rax
LBB0_18:
	movq	%rax, (%r14)
	movl	$1, %eax
	jmp	LBB0_19
LBB0_10:
	movq	_ASN1_F_ASN1_FIND_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_NESTED_ASN1_ERROR@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %esi
	callq	_ASN1err
	xorl	%eax, %eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_F_ASN1_FIND_END,4,2       ## @ASN1_F_ASN1_FIND_END
	.comm	_ERR_R_NESTED_ASN1_ERROR,4,2    ## @ERR_R_NESTED_ASN1_ERROR
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
	.comm	_ASN1_R_MISSING_EOC,4,2         ## @ASN1_R_MISSING_EOC
	.no_dead_strip	_asn1_find_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_find_end
_asn1_find_end:                         ; @asn1_find_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	strb	w2, [sp, #47]
	ldr	x8, [x0]
	str	x8, [sp, #24]
	cbz	w2, LBB0_12
; %bb.1:
	cmp	x20, #1
	b.lt	LBB0_14
; %bb.2:
	mov	w21, #1
Lloh0:
	adrp	x22, _UINT32_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UINT32_MAX@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x9, x8, [sp, #24]
	add	x8, x9, x8
	str	x8, [sp, #24]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x20, x23
	sub	x20, x9, x8
	cmp	x20, #0
	b.le	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	x1, x20
	bl	_asn1_check_eoc
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x20, x20, #2
	cmp	x20, #0
	b.gt	LBB0_5
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [sp, #24]
	stp	xzr, xzr, [sp]
	add	x0, sp, #32
	add	x3, sp, #47
	add	x5, sp, #24
	mov	x1, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, x20
	mov	w7, #-1
	bl	_asn1_check_tlen
	cbz	w0, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [sp, #47]
	cbz	w8, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	ldr	x8, [sp, #24]
	b	LBB0_4
LBB0_12:
	add	x8, x8, x20
	b	LBB0_16
LBB0_13:
	cbz	w21, LBB0_15
LBB0_14:
Lloh2:
	adrp	x8, _ASN1_F_ASN1_FIND_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ASN1_F_ASN1_FIND_END@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ASN1_R_MISSING_EOC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASN1_R_MISSING_EOC@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
	ldr	x8, [sp, #24]
LBB0_16:
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_19
LBB0_17:
Lloh7:
	adrp	x8, _ASN1_F_ASN1_FIND_END@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ASN1_F_ASN1_FIND_END@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _ERR_R_NESTED_ASN1_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_R_NESTED_ASN1_ERROR@GOTPAGEOFF]
LBB0_18:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_F_ASN1_FIND_END,4,2       ; @ASN1_F_ASN1_FIND_END
	.comm	_ERR_R_NESTED_ASN1_ERROR,4,2    ; @ERR_R_NESTED_ASN1_ERROR
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.comm	_ASN1_R_MISSING_EOC,4,2         ; @ASN1_R_MISSING_EOC
	.no_dead_strip	_asn1_find_end
.subsections_via_symbols
