	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_filedlg_infoW
_init_filedlg_infoW:                    ## @init_filedlg_infoW
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$8, -32(%rbp)
	movq	_ICC_USEREX_CLASSES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_InitCommonControlsEx
	xorl	%edi, %edi
	callq	_COMDLG32_SetCommDlgExtendedError
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%rbx, 40(%r14)
	movups	24(%rbx), %xmm0
	movups	%xmm0, 24(%r14)
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_heap_alloc
	movq	%rax, 16(%r14)
	movq	16(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%rax, %rdi
	callq	_lstrcpynW
LBB0_2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ExpandEnvironmentStringsW
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r15d
	movl	%eax, %edi
	shll	$2, %edi
	callq	_heap_alloc
	movq	%rax, 8(%r14)
	movq	8(%rbx), %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_ExpandEnvironmentStringsW
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICC_USEREX_CLASSES,4,2         ## @ICC_USEREX_CLASSES
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_init_filedlg_infoW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_filedlg_infoW
_init_filedlg_infoW:                    ; @init_filedlg_infoW
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ICC_USEREX_CLASSES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICC_USEREX_CLASSES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #8
	stp	w9, w8, [sp, #8]
	add	x0, sp, #8
	bl	_InitCommonControlsEx
	mov	w0, #0
	bl	_COMDLG32_SetCommDlgExtendedError
	mov	x0, x19
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	x20, [x19, #40]
	ldur	q0, [x20, #24]
	stur	q0, [x19, #24]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_heap_alloc
	str	x0, [x19, #16]
	ldr	x1, [x20, #16]
	ldr	w2, [x20]
	bl	_lstrcpynW
LBB0_2:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_5
; %bb.3:
	mov	x1, #0
	mov	w2, #0
	bl	_ExpandEnvironmentStringsW
	cbz	w0, LBB0_5
; %bb.4:
	mov	x21, x0
	lsl	w0, w0, #2
	bl	_heap_alloc
	mov	x1, x0
	str	x0, [x19, #8]
	ldr	x0, [x20, #8]
	mov	x2, x21
	bl	_ExpandEnvironmentStringsW
LBB0_5:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ICC_USEREX_CLASSES,4,2         ; @ICC_USEREX_CLASSES
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_init_filedlg_infoW
.subsections_via_symbols
