	.file	"extr_asym_tpm.c_encode_tag_length.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	encode_tag_length, @function
encode_tag_length:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	DWORD PTR [rdi], esi
	cmp	edx, 127
	jle	.L7
	cmp	edx, 255
	jg	.L4
	mov	DWORD PTR 4[rdi], 129
	lea	rax, 12[rdi]
	mov	DWORD PTR 8[rdi], edx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	DWORD PTR 4[rdi], 130
	lea	rsi, 8[rdi]
	mov	edi, edx
	call	put_unaligned_be16@PLT
	lea	rax, 16[rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	DWORD PTR 4[rdi], edx
	lea	rax, 8[rdi]
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	encode_tag_length, .-encode_tag_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_asym_tpm.c_encode_tag_length.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode_tag_length, %function
encode_tag_length:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #127
	push	{r4, lr}
	mov	r4, r0
	str	r1, [r0]
	ble	.L7
	cmp	r2, #255
	bgt	.L4
	mov	r3, #129
	str	r2, [r0, #8]
	str	r3, [r0, #4]
	add	r0, r0, #12
	pop	{r4, pc}
.L4:
	mov	r3, #130
	mov	r0, r2
	str	r3, [r4, #4]
	add	r1, r4, #8
	bl	put_unaligned_be16
	add	r0, r4, #16
	pop	{r4, pc}
.L7:
	str	r2, [r0, #4]
	add	r0, r0, #8
	pop	{r4, pc}
	.size	encode_tag_length, .-encode_tag_length
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
