	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LaunchHardwareWizard
_LaunchHardwareWizard:                  ## @LaunchHardwareWizard
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$40, -56(%rbp)
	movl	%ebx, -24(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	%rax, -32(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	%rax, -40(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movq	%rax, -48(%rbp)
	movq	%r14, %rdi
	callq	_ShellExecuteEx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rdi
	callq	__T
	movq	_MB_OK@GOTPCREL(%rip), %rdx
	movq	_MB_ICONERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	xorl	%edi, %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_MessageBox
LBB0_2:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"open"

L_.str.1:                               ## @.str.1
	.asciz	"rundll32.exe"

L_.str.2:                               ## @.str.2
	.asciz	"shell32.dll,Control_RunDLL hdwwiz.cpl"

L_.str.3:                               ## @.str.3
	.asciz	"Can't start hdwwiz.cpl"

	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_MB_ICONERROR,4,2               ## @MB_ICONERROR
	.no_dead_strip	_LaunchHardwareWizard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LaunchHardwareWizard
_LaunchHardwareWizard:                  ; @LaunchHardwareWizard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	mov	w20, #40
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	w20, [sp, #8]
	str	w19, [sp, #40]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	str	x0, [sp, #32]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	str	x0, [sp, #24]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	str	x0, [sp, #16]
	add	x0, sp, #8
	bl	_ShellExecuteEx
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__T
	mov	x1, x0
Lloh8:
	adrp	x8, _MB_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MB_OK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _MB_ICONERROR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MB_ICONERROR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, #0
	mov	x2, #0
	bl	_MessageBox
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"open"

l_.str.1:                               ; @.str.1
	.asciz	"rundll32.exe"

l_.str.2:                               ; @.str.2
	.asciz	"shell32.dll,Control_RunDLL hdwwiz.cpl"

l_.str.3:                               ; @.str.3
	.asciz	"Can't start hdwwiz.cpl"

	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_MB_ICONERROR,4,2               ; @MB_ICONERROR
	.no_dead_strip	_LaunchHardwareWizard
.subsections_via_symbols
