	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NS_ReplyToEnumSessionsRequest  ## -- Begin function NS_ReplyToEnumSessionsRequest
	.p2align	4, 0x90
_NS_ReplyToEnumSessionsRequest:         ## @NS_ReplyToEnumSessionsRequest
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	movl	%eax, %r14d
	movq	(%r13), %rax
	movl	8(%rax), %eax
	leal	(%rax,%r14,4), %eax
	addl	$20, %eax
	movl	%eax, (%r12)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r12), %edx
	movl	%eax, %edi
	callq	_HeapAlloc
	movq	%rax, %rbx
	movq	%rax, (%r15)
	movq	(%r13), %rax
	movslq	8(%rax), %r15
	movq	_DPMSGMAGIC_DPLAYMSG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx,%r15,4)
	movq	_DPMSGCMD_ENUMSESSIONSREPLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx,%r15,4)
	movq	_DPMSGVER_DP6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx,%r15,4)
	leaq	(%rbx,%r15,4), %rdi
	addq	$4, %rdi
	movq	(%rax), %rsi
	movl	4(%rsi), %edx
	callq	_CopyMemory
	movl	$92, (%rbx,%r15,4)
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	(%rbx,%r15,4), %r8
	addq	$20, %r8
	xorl	%esi, %esi
	movl	$-1, %ecx
	movl	%r14d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MultiByteToWideChar            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": few fixed + need to check request for response, might need UNICODE input ability.\n"

	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_DPMSGMAGIC_DPLAYMSG,4,2        ## @DPMSGMAGIC_DPLAYMSG
	.comm	_DPMSGCMD_ENUMSESSIONSREPLY,4,2 ## @DPMSGCMD_ENUMSESSIONSREPLY
	.comm	_DPMSGVER_DP6,4,2               ## @DPMSGVER_DP6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NS_ReplyToEnumSessionsRequest  ; -- Begin function NS_ReplyToEnumSessionsRequest
	.p2align	2
_NS_ReplyToEnumSessionsRequest:         ; @NS_ReplyToEnumSessionsRequest
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
Lloh2:
	adrp	x23, _CP_ACP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CP_ACP@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	w1, #0
	mov	w3, #-1
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	mov	x22, x0
	ldr	x8, [x19]
	ldr	w8, [x8, #8]
	add	w8, w8, w0, lsl #2
	add	w8, w8, #20
	str	w8, [x20]
	bl	_GetProcessHeap
Lloh4:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w2, [x20]
	bl	_HeapAlloc
	str	x0, [x21]
	ldr	x8, [x19]
	ldrsw	x9, [x8, #8]
	add	x20, x0, x9, lsl #2
Lloh7:
	adrp	x9, _DPMSGMAGIC_DPLAYMSG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DPMSGMAGIC_DPLAYMSG@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w9, [x20, #16]
Lloh10:
	adrp	x9, _DPMSGCMD_ENUMSESSIONSREPLY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DPMSGCMD_ENUMSESSIONSREPLY@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _DPMSGVER_DP6@GOTPAGE
Lloh14:
	ldr	x10, [x10, _DPMSGVER_DP6@GOTPAGEOFF]
	str	w9, [x20, #12]
Lloh15:
	ldr	w9, [x10]
	str	w9, [x20, #8]
	add	x0, x20, #4
	ldr	x1, [x8]
	ldr	w2, [x1, #4]
	bl	_CopyMemory
	mov	w8, #92
	str	w8, [x20]
	ldr	w0, [x23]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w2, [x8]
	add	x4, x20, #20
	mov	w1, #0
	mov	w3, #-1
	mov	x5, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_MultiByteToWideChar
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": few fixed + need to check request for response, might need UNICODE input ability.\n"

	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_DPMSGMAGIC_DPLAYMSG,4,2        ; @DPMSGMAGIC_DPLAYMSG
	.comm	_DPMSGCMD_ENUMSESSIONSREPLY,4,2 ; @DPMSGCMD_ENUMSESSIONSREPLY
	.comm	_DPMSGVER_DP6,4,2               ; @DPMSGVER_DP6
.subsections_via_symbols
