	.file	"extr_test_packet_id.c_test_packet_id_write_short_prepend.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	test_packet_id_write_short_prepend, @function
test_packet_id_write_short_prepend:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	edx, edx
	mov	ecx, 1
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	mov	DWORD PTR now[rip], 5010
	mov	DWORD PTR 20[rbx], 4
	lea	rsi, 20[rbx]
	lea	rdi, 16[rbx]
	call	packet_id_write@PLT
	mov	edi, eax
	call	assert_true@PLT
	xor	edi, edi
	cmp	DWORD PTR 16[rbx], 1
	sete	dil
	call	assert_true@PLT
	mov	rbp, QWORD PTR [rbx]
	mov	edi, 1
	call	htonl@PLT
	xor	edi, edi
	cmp	rbp, rax
	sete	dil
	call	assert_true@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rbx], 0
	sete	dil
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	assert_true@PLT
	.cfi_endproc
.LFE0:
	.size	test_packet_id_write_short_prepend, .-test_packet_id_write_short_prepend
	.comm	now,4,4
	.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_test_packet_id.c_test_packet_id_write_short_prepend.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_packet_id_write_short_prepend, %function
test_packet_id_write_short_prepend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	mov	r3, #4
	mov	r1, r4
	ldr	ip, .L4
	ldr	r2, .L4+4
	str	r3, [r1, #12]!
	str	ip, [r2]
	mov	r3, #1
	mov	r2, #0
	add	r0, r4, #8
	bl	packet_id_write
	bl	assert_true
	ldr	r0, [r4, #8]
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert_true
	mov	r0, #1
	ldr	r5, [r4]
	bl	htonl
	sub	r0, r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert_true
	ldr	r0, [r4, #4]
	pop	{r4, r5, r6, lr}
	clz	r0, r0
	lsr	r0, r0, #5
	b	assert_true
.L5:
	.align	2
.L4:
	.word	5010
	.word	now
	.size	test_packet_id_write_short_prepend, .-test_packet_id_write_short_prepend
	.comm	now,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
