	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_packet
_create_packet:                         ## @create_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ETH_ALEN@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_8
## %bb.1:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rdx
	movzbl	(%rdx,%rax,4), %edx
	movb	%dl, (%rsi,%rax)
	incq	%rax
	movslq	(%r8), %rdx
	cmpq	%rdx, %rax
	jl	LBB0_2
## %bb.3:
	testl	%edx, %edx
	jle	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rsi,%rdx), %r9
	movq	(%rdi), %rcx
	movzbl	(%rcx,%rdx,4), %ecx
	movb	%cl, (%rax,%r9)
	incq	%rdx
	movslq	(%r8), %rcx
	cmpq	%rcx, %rdx
	jl	LBB0_6
## %bb.7:
	addq	%rax, %rsi
	addq	%rdx, %rsi
	jmp	LBB0_8
LBB0_4:
	addq	%rax, %rsi
LBB0_8:
	movw	$256, (%rsi)                    ## imm = 0x100
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_create_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_packet
_create_packet:                         ; @create_packet
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0]
	ldr	w10, [x10, x9, lsl #2]
	strb	w10, [x1, x9]
	add	x9, x9, #1
	ldrsw	x10, [x8]
	cmp	x9, x10
	b.lt	LBB0_2
; %bb.3:
	cmp	w10, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x10, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0]
	ldr	w11, [x11, x10, lsl #2]
	add	x12, x1, x10
	strb	w11, [x12, x9]
	add	x10, x10, #1
	ldrsw	x11, [x8]
	cmp	x10, x11
	b.lt	LBB0_5
; %bb.6:
	add	x8, x1, x9
	add	x1, x8, x10
	b	LBB0_8
LBB0_7:
	add	x1, x1, x9
LBB0_8:
	mov	w8, #256
	strh	w8, [x1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_create_packet
.subsections_via_symbols
