	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_put_length
_asn1_put_length:                       ## @asn1_put_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r9
	cmpl	$128, %esi
	jge	LBB0_1
## %bb.12:
	movb	%sil, (%r9)
	incq	%r9
	jmp	LBB0_11
LBB0_1:
	movb	$1, %cl
	xorl	%r10d, %r10d
	movl	%esi, %eax
	movl	%esi, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %r11d
	shrl	$8, %edx
	leal	1(%r11), %ecx
	incq	%r10
	cmpl	$255, %eax
	movl	%edx, %eax
	ja	LBB0_2
## %bb.3:
	movl	%r10d, %eax
	orb	$-128, %al
	movb	%al, (%r9)
	leaq	-1(%r10), %r8
	testb	$3, %r10b
	je	LBB0_4
## %bb.5:
	movzbl	%r11b, %eax
	andl	$3, %eax
	movq	%r10, %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movb	%sil, (%r9,%rdx)
	decq	%rdx
	sarl	$8, %esi
	decq	%rax
	jne	LBB0_6
## %bb.7:
	cmpq	$3, %r8
	jae	LBB0_8
	jmp	LBB0_10
LBB0_4:
	movq	%r10, %rdx
	cmpq	$3, %r8
	jb	LBB0_10
LBB0_8:
	incq	%rdx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %eax
	bswapl	%eax
	movl	%eax, -4(%r9,%rdx)
	sarl	$31, %esi
	addq	$-4, %rdx
	cmpq	$1, %rdx
	ja	LBB0_9
LBB0_10:
	addq	%r10, %r9
	incq	%r9
LBB0_11:
	movq	%r9, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_asn1_put_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_put_length
_asn1_put_length:                       ; @asn1_put_length
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cmp	w1, #128
	b.ge	LBB0_2
; %bb.1:
	strb	w1, [x8], #1
	str	x8, [x0]
	ret
LBB0_2:
	mov	x9, #0
	mov	x10, x1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w11, w10, #8
	add	x9, x9, #1
	cmp	w10, #255
	mov	x10, x11
	b.hi	LBB0_3
; %bb.4:
	orr	w10, w9, #0x80
	strb	w10, [x8]
	mov	x10, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	strb	w1, [x8, x10]
	asr	w1, w1, #8
	subs	x10, x10, #1
	b.hi	LBB0_5
; %bb.6:
	add	x8, x8, x9
	add	x8, x8, #1
	str	x8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_asn1_put_length
.subsections_via_symbols
