	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_packet_id_write_short
_test_packet_id_write_short:            ## @test_packet_id_write_short
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	_now@GOTPCREL(%rip), %rax
	movl	$5010, (%rax)                   ## imm = 0x1392
	leaq	16(%rbx), %rdi
	leaq	20(%rbx), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_packet_id_write
	movl	%eax, %edi
	callq	_assert_true
	xorl	%edi, %edi
	cmpl	$1, 16(%rbx)
	sete	%dil
	callq	_assert_true
	movq	(%rbx), %r14
	movl	$1, %edi
	callq	_htonl
	xorl	%edi, %edi
	cmpq	%rax, %r14
	sete	%dil
	callq	_assert_true
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_assert_true                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_now,4,2                        ## @now
	.no_dead_strip	_test_packet_id_write_short
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_packet_id_write_short
_test_packet_id_write_short:            ; @test_packet_id_write_short
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _now@GOTPAGE
Lloh1:
	ldr	x8, [x8, _now@GOTPAGEOFF]
	mov	w9, #5010
Lloh2:
	str	w9, [x8]
	add	x0, x19, #16
	add	x1, x19, #20
	mov	w2, #0
	mov	w3, #0
	bl	_packet_id_write
	bl	_assert_true
	ldr	w8, [x19, #16]
	cmp	w8, #1
	cset	w0, eq
	bl	_assert_true
	ldr	x20, [x19]
	mov	w0, #1
	bl	_htonl
	cmp	x20, x0
	cset	w0, eq
	bl	_assert_true
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_assert_true
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_now,4,2                        ; @now
	.no_dead_strip	_test_packet_id_write_short
.subsections_via_symbols
