	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdp_send_data
_rdp_send_data:                         ## @rdp_send_data
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_rdp_hdr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_s_pop_layer
	movl	(%rbx), %r15d
	subl	4(%rbx), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_out_uint16_le
	movq	_RDP_PDU_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	$16, %esi
	movq	%rbx, %rdi
	callq	_out_uint16_le
	movq	_g_mcs_userid@GOTPCREL(%rip), %rax
	movl	$1001, %esi                     ## imm = 0x3E9
	addl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_out_uint16_le
	movq	_g_rdp_shareid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_out_uint32_le
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_out_uint8
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_out_uint8
	addl	$-14, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_out_uint16_le
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_out_uint8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_out_uint8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_out_uint16
	movq	_g_encryption@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_SEC_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_2:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sec_send                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rdp_hdr,4,2                    ## @rdp_hdr
	.comm	_RDP_PDU_DATA,4,2               ## @RDP_PDU_DATA
	.comm	_g_mcs_userid,4,2               ## @g_mcs_userid
	.comm	_g_rdp_shareid,4,2              ## @g_rdp_shareid
	.comm	_g_encryption,8,3               ## @g_encryption
	.comm	_SEC_ENCRYPT,4,2                ## @SEC_ENCRYPT
	.no_dead_strip	_rdp_send_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdp_send_data
_rdp_send_data:                         ; @rdp_send_data
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _rdp_hdr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rdp_hdr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_s_pop_layer
	ldp	w8, w9, [x19]
	sub	w21, w8, w9
	mov	x0, x19
	mov	x1, x21
	bl	_out_uint16_le
Lloh3:
	adrp	x8, _RDP_PDU_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDP_PDU_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w1, w8, #0x10
	mov	x0, x19
	bl	_out_uint16_le
Lloh6:
	adrp	x8, _g_mcs_userid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_mcs_userid@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w1, w8, #1001
	mov	x0, x19
	bl	_out_uint16_le
Lloh9:
	adrp	x8, _g_rdp_shareid@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_rdp_shareid@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_out_uint32_le
	mov	x0, x19
	mov	w1, #0
	bl	_out_uint8
	mov	x0, x19
	mov	w1, #1
	bl	_out_uint8
	sub	w1, w21, #14
	mov	x0, x19
	bl	_out_uint16_le
	mov	x0, x19
	mov	x1, x20
	bl	_out_uint8
	mov	x0, x19
	mov	w1, #0
	bl	_out_uint8
	mov	x0, x19
	mov	w1, #0
	bl	_out_uint16
Lloh12:
	adrp	x8, _g_encryption@GOTPAGE
Lloh13:
	ldr	x8, [x8, _g_encryption@GOTPAGEOFF]
Lloh14:
	adrp	x9, _SEC_ENCRYPT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SEC_ENCRYPT@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w1, wzr, w9, eq
	mov	x0, x19
	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	_sec_send
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_rdp_hdr,4,2                    ; @rdp_hdr
	.comm	_RDP_PDU_DATA,4,2               ; @RDP_PDU_DATA
	.comm	_g_mcs_userid,4,2               ; @g_mcs_userid
	.comm	_g_rdp_shareid,4,2              ; @g_rdp_shareid
	.comm	_g_encryption,8,3               ; @g_encryption
	.comm	_SEC_ENCRYPT,4,2                ; @SEC_ENCRYPT
	.no_dead_strip	_rdp_send_data
.subsections_via_symbols
