	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn_get_sequence               ## -- Begin function asn_get_sequence
	.p2align	4, 0x90
_asn_get_sequence:                      ## @asn_get_sequence
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_asn_get_header
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.1:
	movl	-20(%rbp), %edx
	movq	_ASN_TYPE_SEQUENCE@GOTPCREL(%rip), %rcx
	movq	_ASN_TYPE_CONSTRUCTED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	cmpl	%esi, %edx
	jne	LBB0_2
## %bb.3:
	movq	(%rbx), %rcx
	cmpq	(%r14), %rcx
	jle	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_asn_error
	movq	_ASN_ERR_EOBUF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_asn_error
	movq	_ASN_ERR_TAG@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN_ERR_OK,4,2                 ## @ASN_ERR_OK
	.comm	_ASN_TYPE_SEQUENCE,4,2          ## @ASN_TYPE_SEQUENCE
	.comm	_ASN_TYPE_CONSTRUCTED,4,2       ## @ASN_TYPE_CONSTRUCTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad sequence type %u"

	.comm	_ASN_ERR_TAG,4,2                ## @ASN_ERR_TAG
L_.str.1:                               ## @.str.1
	.asciz	"truncated sequence"

	.comm	_ASN_ERR_EOBUF,4,2              ## @ASN_ERR_EOBUF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn_get_sequence               ; -- Begin function asn_get_sequence
	.p2align	2
_asn_get_sequence:                      ; @asn_get_sequence
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #12
	mov	x2, x20
	bl	_asn_get_header
Lloh0:
	adrp	x8, _ASN_ERR_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN_ERR_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _ASN_TYPE_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASN_TYPE_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ASN_TYPE_CONSTRUCTED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ASN_TYPE_CONSTRUCTED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.le	LBB0_6
; %bb.3:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_asn_error
Lloh11:
	adrp	x8, _ASN_ERR_EOBUF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASN_ERR_EOBUF@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_asn_error
Lloh15:
	adrp	x8, _ASN_ERR_TAG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ASN_ERR_TAG@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN_ERR_OK,4,2                 ; @ASN_ERR_OK
	.comm	_ASN_TYPE_SEQUENCE,4,2          ; @ASN_TYPE_SEQUENCE
	.comm	_ASN_TYPE_CONSTRUCTED,4,2       ; @ASN_TYPE_CONSTRUCTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad sequence type %u"

	.comm	_ASN_ERR_TAG,4,2                ; @ASN_ERR_TAG
l_.str.1:                               ; @.str.1
	.asciz	"truncated sequence"

	.comm	_ASN_ERR_EOBUF,4,2              ; @ASN_ERR_EOBUF
.subsections_via_symbols
