	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn_get_octetstring_raw        ## -- Begin function asn_get_octetstring_raw
	.p2align	4, 0x90
_asn_get_octetstring_raw:               ## @asn_get_octetstring_raw
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	%rsi, (%rcx)
	jge	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_asn_error
	movq	_ASN_ERR_RANGE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%r14)
	jl	LBB0_4
LBB0_5:
	movl	(%rax), %r13d
	movq	(%r15), %rdx
	movl	8(%r14), %esi
	cmpq	%rbx, %rdx
	cmovgeq	%rbx, %rdx
	movq	%r12, %rdi
	callq	_memcpy
	movq	%rbx, (%r15)
	addl	%ebx, 8(%r14)
	subq	%rbx, (%r14)
	jmp	LBB0_6
LBB0_1:
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%r14)
	jge	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_asn_error
	movq	_ASN_ERR_EOBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN_ERR_OK,4,2                 ## @ASN_ERR_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"octetstring truncated"

	.comm	_ASN_ERR_RANGE,4,2              ## @ASN_ERR_RANGE
L_.str.1:                               ## @.str.1
	.asciz	"truncatet octetstring"

	.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_octetstring_raw        ; -- Begin function asn_get_octetstring_raw
	.p2align	2
_asn_get_octetstring_raw:               ; @asn_get_octetstring_raw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x3]
	cmp	x8, x1
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_asn_error
Lloh2:
	adrp	x8, _ASN_ERR_RANGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ASN_ERR_RANGE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _ASN_ERR_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ASN_ERR_OK@GOTPAGEOFF]
LBB0_3:
	ldr	x9, [x19]
	cmp	x9, x20
	b.ge	LBB0_5
; %bb.4:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_asn_error
Lloh8:
	adrp	x8, _ASN_ERR_EOBUF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ASN_ERR_EOBUF@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	b	LBB0_6
LBB0_5:
	ldr	w23, [x8]
	ldr	x8, [x21]
	ldr	w1, [x19, #8]
	cmp	x8, x20
	csel	x2, x8, x20, lt
	mov	x0, x22
	bl	_memcpy
	str	x20, [x21]
	ldr	w8, [x19, #8]
	add	w8, w8, w20
	str	w8, [x19, #8]
	ldr	x8, [x19]
	sub	x8, x8, x20
	str	x8, [x19]
LBB0_6:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN_ERR_OK,4,2                 ; @ASN_ERR_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"octetstring truncated"

	.comm	_ASN_ERR_RANGE,4,2              ; @ASN_ERR_RANGE
l_.str.1:                               ; @.str.1
	.asciz	"truncatet octetstring"

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