	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitializeDirectPlayDialog
_InitializeDirectPlayDialog:            ## @InitializeDirectPlayDialog
	.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
	movl	%edi, %ebx
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_KEY_READ@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	l_.str(%rip), %rsi
	leaq	-44(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.1:
	movq	_IDC_LIST_PROVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_GetDlgItem
	movl	%eax, %r14d
	movq	_LVM_SETEXTENDEDLISTVIEWSTYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LVS_EX_FULLROWSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_SendMessage
	movl	%r14d, %edi
	callq	_InitListViewColumns
	movl	-44(%rbp), %edi
	movq	_DirectPlay8SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_EnumerateServiceProviders
	movq	%rax, %rbx
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movl	(%r15), %edi
	movl	(%r12), %ecx
	leaq	l_.str.1(%rip), %rsi
	leaq	-44(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExW
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.3:
	movl	-44(%rbp), %edi
	movq	_DirectPlaySP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	callq	_EnumerateServiceProviders
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	83                              ## 0x53
	.long	79                              ## 0x4f
	.long	70                              ## 0x46
	.long	84                              ## 0x54
	.long	87                              ## 0x57
	.long	65                              ## 0x41
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	92                              ## 0x5c
	.long	77                              ## 0x4d
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	115                             ## 0x73
	.long	111                             ## 0x6f
	.long	102                             ## 0x66
	.long	116                             ## 0x74
	.long	92                              ## 0x5c
	.long	68                              ## 0x44
	.long	105                             ## 0x69
	.long	114                             ## 0x72
	.long	101                             ## 0x65
	.long	99                              ## 0x63
	.long	116                             ## 0x74
	.long	80                              ## 0x50
	.long	108                             ## 0x6c
	.long	97                              ## 0x61
	.long	121                             ## 0x79
	.long	56                              ## 0x38
	.long	92                              ## 0x5c
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	80                              ## 0x50
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	100                             ## 0x64
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_IDC_LIST_PROVIDER,4,2          ## @IDC_LIST_PROVIDER
	.comm	_LVM_SETEXTENDEDLISTVIEWSTYLE,4,2 ## @LVM_SETEXTENDEDLISTVIEWSTYLE
	.comm	_LVS_EX_FULLROWSELECT,4,2       ## @LVS_EX_FULLROWSELECT
	.comm	_DirectPlay8SP,4,2              ## @DirectPlay8SP
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	83                              ## 0x53
	.long	79                              ## 0x4f
	.long	70                              ## 0x46
	.long	84                              ## 0x54
	.long	87                              ## 0x57
	.long	65                              ## 0x41
	.long	82                              ## 0x52
	.long	69                              ## 0x45
	.long	92                              ## 0x5c
	.long	77                              ## 0x4d
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	115                             ## 0x73
	.long	111                             ## 0x6f
	.long	102                             ## 0x66
	.long	116                             ## 0x74
	.long	92                              ## 0x5c
	.long	68                              ## 0x44
	.long	105                             ## 0x69
	.long	114                             ## 0x72
	.long	101                             ## 0x65
	.long	99                              ## 0x63
	.long	116                             ## 0x74
	.long	80                              ## 0x50
	.long	108                             ## 0x6c
	.long	97                              ## 0x61
	.long	121                             ## 0x79
	.long	92                              ## 0x5c
	.long	83                              ## 0x53
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	80                              ## 0x50
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	118                             ## 0x76
	.long	105                             ## 0x69
	.long	100                             ## 0x64
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.comm	_DirectPlaySP,4,2               ## @DirectPlaySP
	.no_dead_strip	_InitializeDirectPlayDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InitializeDirectPlayDialog
_InitializeDirectPlayDialog:            ; @InitializeDirectPlayDialog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
Lloh0:
	adrp	x21, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _KEY_READ@GOTPAGE
Lloh3:
	ldr	x22, [x22, _KEY_READ@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	add	x4, sp, #12
	mov	w2, #0
	bl	_RegOpenKeyExW
Lloh6:
	adrp	x23, _ERROR_SUCCESS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
Lloh8:
	adrp	x8, _IDC_LIST_PROVIDER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IDC_LIST_PROVIDER@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	mov	x19, x0
Lloh11:
	adrp	x8, _LVM_SETEXTENDEDLISTVIEWSTYLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LVM_SETEXTENDEDLISTVIEWSTYLE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _LVS_EX_FULLROWSELECT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LVS_EX_FULLROWSELECT@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_SendMessage
	mov	x0, x19
	bl	_InitListViewColumns
	ldr	w0, [sp, #12]
Lloh17:
	adrp	x8, _DirectPlay8SP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DirectPlay8SP@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_EnumerateServiceProviders
	mov	x20, x0
	ldr	w0, [sp, #12]
	bl	_RegCloseKey
	cbz	x20, LBB0_4
; %bb.2:
	ldr	w0, [x21]
	ldr	w3, [x22]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x4, sp, #12
	mov	w2, #0
	bl	_RegOpenKeyExW
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
Lloh22:
	adrp	x8, _DirectPlaySP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DirectPlaySP@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_EnumerateServiceProviders
	ldr	w0, [sp, #12]
	bl	_RegCloseKey
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	83                              ; 0x53
	.long	79                              ; 0x4f
	.long	70                              ; 0x46
	.long	84                              ; 0x54
	.long	87                              ; 0x57
	.long	65                              ; 0x41
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	92                              ; 0x5c
	.long	77                              ; 0x4d
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	115                             ; 0x73
	.long	111                             ; 0x6f
	.long	102                             ; 0x66
	.long	116                             ; 0x74
	.long	92                              ; 0x5c
	.long	68                              ; 0x44
	.long	105                             ; 0x69
	.long	114                             ; 0x72
	.long	101                             ; 0x65
	.long	99                              ; 0x63
	.long	116                             ; 0x74
	.long	80                              ; 0x50
	.long	108                             ; 0x6c
	.long	97                              ; 0x61
	.long	121                             ; 0x79
	.long	56                              ; 0x38
	.long	92                              ; 0x5c
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	80                              ; 0x50
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	100                             ; 0x64
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_IDC_LIST_PROVIDER,4,2          ; @IDC_LIST_PROVIDER
	.comm	_LVM_SETEXTENDEDLISTVIEWSTYLE,4,2 ; @LVM_SETEXTENDEDLISTVIEWSTYLE
	.comm	_LVS_EX_FULLROWSELECT,4,2       ; @LVS_EX_FULLROWSELECT
	.comm	_DirectPlay8SP,4,2              ; @DirectPlay8SP
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	83                              ; 0x53
	.long	79                              ; 0x4f
	.long	70                              ; 0x46
	.long	84                              ; 0x54
	.long	87                              ; 0x57
	.long	65                              ; 0x41
	.long	82                              ; 0x52
	.long	69                              ; 0x45
	.long	92                              ; 0x5c
	.long	77                              ; 0x4d
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	115                             ; 0x73
	.long	111                             ; 0x6f
	.long	102                             ; 0x66
	.long	116                             ; 0x74
	.long	92                              ; 0x5c
	.long	68                              ; 0x44
	.long	105                             ; 0x69
	.long	114                             ; 0x72
	.long	101                             ; 0x65
	.long	99                              ; 0x63
	.long	116                             ; 0x74
	.long	80                              ; 0x50
	.long	108                             ; 0x6c
	.long	97                              ; 0x61
	.long	121                             ; 0x79
	.long	92                              ; 0x5c
	.long	83                              ; 0x53
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	80                              ; 0x50
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	118                             ; 0x76
	.long	105                             ; 0x69
	.long	100                             ; 0x64
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.comm	_DirectPlaySP,4,2               ; @DirectPlaySP
	.no_dead_strip	_InitializeDirectPlayDialog
.subsections_via_symbols
