	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_ping
_handle_ping:                           ## @handle_ping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pktbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_EAD_DATA
	movq	%rax, %r15
	movq	_dev_name@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_strlen
	cmpl	$1024, %eax                     ## imm = 0x400
	movl	$1024, %ecx                     ## imm = 0x400
	cmovll	%eax, %ecx
	movslq	%ecx, %rbx
	leal	16(%rbx), %edi
	callq	_htonl
	movl	%eax, (%r14)
	movq	8(%r15), %rdi
	movl	(%r12), %esi
	movl	%ebx, %edx
	callq	_strncpy
	movq	8(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movq	_EAD_AUTH_MD5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%r15)
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pktbuf,8,3                     ## @pktbuf
	.comm	_dev_name,4,2                   ## @dev_name
	.comm	_EAD_AUTH_MD5,4,2               ## @EAD_AUTH_MD5
	.comm	_pong,8,3                       ## @pong
	.no_dead_strip	_handle_ping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_ping
_handle_ping:                           ; @handle_ping
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _pktbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pktbuf@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	mov	x0, x19
	bl	_EAD_DATA
	mov	x20, x0
Lloh3:
	adrp	x22, _dev_name@GOTPAGE
Lloh4:
	ldr	x22, [x22, _dev_name@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_strlen
	mov	w8, #1024
	cmp	w0, #1024
	csel	w21, w0, w8, lt
	add	w0, w21, #16
	bl	_htonl
	str	w0, [x19]
	ldr	x0, [x20, #8]
	ldr	w1, [x22]
	mov	x2, x21
	bl	_strncpy
	ldr	x8, [x20, #8]
	str	xzr, [x8, w21, sxtw #3]
Lloh5:
	adrp	x8, _EAD_AUTH_MD5@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAD_AUTH_MD5@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x20]
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pktbuf,8,3                     ; @pktbuf
	.comm	_dev_name,4,2                   ; @dev_name
	.comm	_EAD_AUTH_MD5,4,2               ; @EAD_AUTH_MD5
	.comm	_pong,8,3                       ; @pong
	.no_dead_strip	_handle_ping
.subsections_via_symbols
