	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_command
_send_command:                          ## @send_command
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_msg@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_EAD_ENC_DATA
	movq	%rax, %rbx
	movq	_EAD_TYPE_SEND_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movq	_EAD_CMD_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 16(%rbx)
	movl	$10, %edi
	callq	_htons
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_strncpy
	movq	(%r15), %rbx
	movq	%r14, %rdi
	callq	_strlen
	leaq	25(%rax), %rsi
	movq	%rbx, %rdi
	callq	_ead_encrypt_message
	movq	_EAD_TYPE_RESULT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_handle_cmd_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_packet                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_msg,8,3                        ## @msg
	.comm	_EAD_TYPE_SEND_CMD,4,2          ## @EAD_TYPE_SEND_CMD
	.comm	_EAD_CMD_NORMAL,4,2             ## @EAD_CMD_NORMAL
	.comm	_EAD_TYPE_RESULT_CMD,4,2        ## @EAD_TYPE_RESULT_CMD
	.comm	_handle_cmd_data,4,2            ## @handle_cmd_data
	.comm	_cmd,8,3                        ## @cmd
	.no_dead_strip	_send_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_command
_send_command:                          ; @send_command
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _msg@GOTPAGE
Lloh1:
	ldr	x21, [x21, _msg@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_EAD_ENC_DATA
	mov	x20, x0
Lloh2:
	adrp	x8, _EAD_TYPE_SEND_CMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAD_TYPE_SEND_CMD@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htonl
	ldr	x8, [x21]
	str	w0, [x8]
Lloh5:
	adrp	x8, _EAD_CMD_NORMAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAD_CMD_NORMAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x20, #16]
	mov	w0, #10
	bl	_htons
	str	x0, [x20, #8]
	ldr	x0, [x20]
	mov	x1, x19
	mov	w2, #1024
	bl	_strncpy
	ldr	x20, [x21]
	mov	x0, x19
	bl	_strlen
	add	x1, x0, #25
	mov	x0, x20
	bl	_ead_encrypt_message
Lloh8:
	adrp	x8, _EAD_TYPE_RESULT_CMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAD_TYPE_RESULT_CMD@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _handle_cmd_data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _handle_cmd_data@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w2, #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
	b	_send_packet
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_msg,8,3                        ; @msg
	.comm	_EAD_TYPE_SEND_CMD,4,2          ; @EAD_TYPE_SEND_CMD
	.comm	_EAD_CMD_NORMAL,4,2             ; @EAD_CMD_NORMAL
	.comm	_EAD_TYPE_RESULT_CMD,4,2        ; @EAD_TYPE_RESULT_CMD
	.comm	_handle_cmd_data,4,2            ; @handle_cmd_data
	.comm	_cmd,8,3                        ; @cmd
	.no_dead_strip	_send_command
.subsections_via_symbols
