	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FD31_UpdateFileTitle
_FD31_UpdateFileTitle:                  ## @FD31_UpdateFileTitle
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r15
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	(%rdi), %edi
	movq	_lst1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_LB_GETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movl	(%rbx), %edi
	movl	(%r12), %esi
	movq	_LB_GETTEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r15), %r8d
	movl	%eax, %ecx
	callq	_SendDlgItemMessageW
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	movq	8(%r14), %r8
	movl	(%r14), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	movl	$-1, %ecx
	callq	_WideCharToMultiByte
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	movslq	(%r14), %rcx
	movq	$0, -8(%rax,%rcx,8)
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lst1,4,2                       ## @lst1
	.comm	_LB_GETCURSEL,4,2               ## @LB_GETCURSEL
	.comm	_LB_GETTEXT,4,2                 ## @LB_GETTEXT
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.no_dead_strip	_FD31_UpdateFileTitle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FD31_UpdateFileTitle
_FD31_UpdateFileTitle:                  ; @FD31_UpdateFileTitle
	.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
	ldr	x21, [x0, #16]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x0]
Lloh0:
	adrp	x22, _lst1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lst1@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _LB_GETCURSEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LB_GETCURSEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
	mov	x3, x0
	ldr	w0, [x19]
	ldr	w1, [x22]
Lloh5:
	adrp	x8, _LB_GETTEXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LB_GETTEXT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w4, [x21]
	bl	_SendDlgItemMessageW
	cbz	x20, LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _CP_ACP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CP_ACP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x2, [x21]
	ldr	x4, [x20, #8]
	ldr	w5, [x20]
	mov	w1, #0
	mov	w3, #-1
	mov	x6, #0
	mov	x7, #0
	bl	_WideCharToMultiByte
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #3
	stur	xzr, [x8, #-8]
LBB0_4:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_lst1,4,2                       ; @lst1
	.comm	_LB_GETCURSEL,4,2               ; @LB_GETCURSEL
	.comm	_LB_GETTEXT,4,2                 ; @LB_GETTEXT
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.no_dead_strip	_FD31_UpdateFileTitle
.subsections_via_symbols
