	.file	"extr_gss_generic_token.c_der_write_length.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	der_write_length, @function
der_write_length:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	esi, 127
	jg	.L2
.L4:
	mov	rax, QWORD PTR [rbx]
	lea	rdx, 1[rax]
	mov	QWORD PTR [rbx], rdx
	mov	BYTE PTR [rax], r12b
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, esi
	call	der_length_size@PLT
	mov	rdx, QWORD PTR [rbx]
	add	eax, 127
	lea	rcx, 1[rdx]
	mov	QWORD PTR [rbx], rcx
	mov	BYTE PTR [rdx], al
	cmp	r12d, 255
	jle	.L4
	mov	rax, QWORD PTR [rbx]
	mov	ecx, r12d
	lea	rdx, 1[rax]
	mov	QWORD PTR [rbx], rdx
	mov	BYTE PTR [rax], ch
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	der_write_length, .-der_write_length
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_gss_generic_token.c_der_write_length.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	der_write_length, %function
der_write_length:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #127
	push	{r4, r5, r6, lr}
	mov	r5, r0
	and	r6, r1, #255
	bgt	.L2
.L4:
	ldr	r3, [r5]
	add	r2, r3, #1
	str	r2, [r5]
	strb	r6, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r1
	mov	r4, r1
	bl	der_length_size
	ldr	r3, [r5]
	add	r0, r0, #127
	add	r2, r3, #1
	cmp	r4, #255
	str	r2, [r5]
	strb	r0, [r3]
	ldrgt	r3, [r5]
	asrgt	r4, r4, #8
	addgt	r2, r3, #1
	strgt	r2, [r5]
	strbgt	r4, [r3]
	b	.L4
	.size	der_write_length, .-der_write_length
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
