	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitProgressDialog
_InitProgressDialog:                    ## @InitProgressDialog
	.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
	movslq	%ecx, %r14
	movl	%edi, 4(%r14)
	movq	_IDC_SERVCON_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, (%r14)
	movq	_FALSE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	movq	_PBM_SETRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_PROGRESS_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_MAKELPARAM
	movl	%ebx, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_SendMessageW
	movl	(%r14), %edi
	movq	_PBM_SETSTEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_ActionThread@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__beginthreadex
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_CloseHandle
	movq	_TRUE@GOTPCREL(%rip), %r12
LBB0_3:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_SERVCON_PROGRESS,4,2       ## @IDC_SERVCON_PROGRESS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_PBM_SETRANGE,4,2               ## @PBM_SETRANGE
	.comm	_PROGRESS_RANGE,4,2             ## @PROGRESS_RANGE
	.comm	_PBM_SETSTEP,4,2                ## @PBM_SETSTEP
	.comm	_ActionThread,4,2               ## @ActionThread
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_InitProgressDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InitProgressDialog
_InitProgressDialog:                    ; @InitProgressDialog
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	sxtw	x19, w3
	str	w0, [x19, #4]
Lloh0:
	adrp	x8, _IDC_SERVCON_PROGRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_SERVCON_PROGRESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	str	w0, [x19]
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _PBM_SETRANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PBM_SETRANGE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _PROGRESS_RANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PROGRESS_RANGE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_MAKELPARAM
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_SendMessageW
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _PBM_SETSTEP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PBM_SETSTEP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #0
	bl	_SendMessageW
Lloh12:
	adrp	x2, _ActionThread@GOTPAGE
Lloh13:
	ldr	x2, [x2, _ActionThread@GOTPAGEOFF]
	mov	x0, #0
	mov	w1, #0
	mov	x3, x19
	mov	w4, #0
	mov	x5, #0
	bl	__beginthreadex
	cbz	x0, LBB0_3
; %bb.2:
	bl	_CloseHandle
Lloh14:
	adrp	x8, _TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_SERVCON_PROGRESS,4,2       ; @IDC_SERVCON_PROGRESS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_PBM_SETRANGE,4,2               ; @PBM_SETRANGE
	.comm	_PROGRESS_RANGE,4,2             ; @PROGRESS_RANGE
	.comm	_PBM_SETSTEP,4,2                ; @PBM_SETSTEP
	.comm	_ActionThread,4,2               ; @ActionThread
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_InitProgressDialog
.subsections_via_symbols
