	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateWindowCaption            ## -- Begin function UpdateWindowCaption
	.p2align	4, 0x90
_UpdateWindowCaption:                   ## @UpdateWindowCaption
	.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
	subq	$520, %rsp                      ## imm = 0x208
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	$259, %ebx                      ## imm = 0x103
	addl	(%rax), %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_wDeviceId@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movl	%r14d, %edi
	callq	_GetDeviceMode
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_12
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_STOP@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_1:
	movq	_szAppTitle@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.2:
	movl	%r14d, %edi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SetWindowText                  ## TAILCALL
LBB0_9:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_RECORD@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_PLAY@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_PAUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_SEEK@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_MODE_NOT_READY@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r13d
	leaq	-560(%rbp), %rdi
	callq	_ARRAYSIZE
	movl	%r12d, %edi
	movl	%r13d, %esi
	leaq	-560(%rbp), %rdx
	movl	%eax, %ecx
	callq	_LoadString
	shll	$2, %ebx
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	_szAppTitle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_szCurrentFile@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	leaq	-560(%rbp), %r9
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_StringCbPrintf
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_SetWindowText
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_wDeviceId,8,3                  ## @wDeviceId
	.comm	_szAppTitle,8,3                 ## @szAppTitle
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_IDS_MODE_PAUSE,4,2             ## @IDS_MODE_PAUSE
	.comm	_IDS_MODE_STOP,4,2              ## @IDS_MODE_STOP
	.comm	_IDS_MODE_PLAY,4,2              ## @IDS_MODE_PLAY
	.comm	_IDS_MODE_OPEN,4,2              ## @IDS_MODE_OPEN
	.comm	_IDS_MODE_RECORD,4,2            ## @IDS_MODE_RECORD
	.comm	_IDS_MODE_SEEK,4,2              ## @IDS_MODE_SEEK
	.comm	_IDS_MODE_NOT_READY,4,2         ## @IDS_MODE_NOT_READY
	.comm	_IDS_MODE_UNKNOWN,4,2           ## @IDS_MODE_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s - %s (%s)"

	.comm	_szCurrentFile,4,2              ## @szCurrentFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateWindowCaption            ; -- Begin function UpdateWindowCaption
	.p2align	2
_UpdateWindowCaption:                   ; @UpdateWindowCaption
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #528
	mov	x19, sp
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w24, w8, #259
	lsl	x8, x24, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _wDeviceId@GOTPAGE
Lloh9:
	ldr	x8, [x8, _wDeviceId@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_GetDeviceMode
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_9
; %bb.2:
Lloh11:
	adrp	x9, lJTI0_0@PAGE
Lloh12:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh13:
	adrp	x8, _hInstance@GOTPAGE
Lloh14:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
Lloh16:
	adrp	x8, _IDS_MODE_STOP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IDS_MODE_STOP@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
Lloh18:
	adrp	x8, _szAppTitle@GOTPAGE
Lloh19:
	ldr	x8, [x8, _szAppTitle@GOTPAGEOFF]
Lloh20:
	ldr	x1, [x8]
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.5:
	mov	x0, x20
	sub	sp, x29, #64
	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
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	b	_SetWindowText
LBB0_6:
Lloh24:
	adrp	x8, _hInstance@GOTPAGE
Lloh25:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh26:
	ldr	w22, [x8]
Lloh27:
	adrp	x8, _IDS_MODE_RECORD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IDS_MODE_RECORD@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
Lloh29:
	adrp	x8, _hInstance@GOTPAGE
Lloh30:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh31:
	ldr	w22, [x8]
Lloh32:
	adrp	x8, _IDS_MODE_PLAY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IDS_MODE_PLAY@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh34:
	adrp	x8, _hInstance@GOTPAGE
Lloh35:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh36:
	ldr	w22, [x8]
Lloh37:
	adrp	x8, _IDS_MODE_PAUSE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IDS_MODE_PAUSE@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh39:
	adrp	x8, _hInstance@GOTPAGE
Lloh40:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh41:
	ldr	w22, [x8]
Lloh42:
	adrp	x8, _IDS_MODE_UNKNOWN@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IDS_MODE_UNKNOWN@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh44:
	adrp	x8, _hInstance@GOTPAGE
Lloh45:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh46:
	ldr	w22, [x8]
Lloh47:
	adrp	x8, _IDS_MODE_SEEK@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IDS_MODE_SEEK@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh49:
	adrp	x8, _hInstance@GOTPAGE
Lloh50:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh51:
	ldr	w22, [x8]
Lloh52:
	adrp	x8, _IDS_MODE_OPEN@GOTPAGE
Lloh53:
	ldr	x8, [x8, _IDS_MODE_OPEN@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh54:
	adrp	x8, _hInstance@GOTPAGE
Lloh55:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh56:
	ldr	w22, [x8]
Lloh57:
	adrp	x8, _IDS_MODE_NOT_READY@GOTPAGE
Lloh58:
	ldr	x8, [x8, _IDS_MODE_NOT_READY@GOTPAGEOFF]
LBB0_13:
	ldr	w23, [x8]
	add	x0, x19, #8
	bl	_ARRAYSIZE
	mov	x3, x0
	add	x2, x19, #8
	mov	x0, x22
	mov	x1, x23
	bl	_LoadString
	lsl	w22, w24, #2
Lloh59:
	adrp	x0, l_.str@PAGE
Lloh60:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x2, x0
Lloh61:
	adrp	x8, _szAppTitle@GOTPAGE
Lloh62:
	ldr	x8, [x8, _szAppTitle@GOTPAGEOFF]
Lloh63:
	ldr	x3, [x8]
Lloh64:
	adrp	x8, _szCurrentFile@GOTPAGE
Lloh65:
	ldr	x8, [x8, _szCurrentFile@GOTPAGEOFF]
Lloh66:
	ldr	w4, [x8]
	add	x5, x19, #8
	mov	x0, x21
	mov	x1, x22
	bl	_StringCbPrintf
	mov	x0, x20
	mov	x1, x21
	bl	_SetWindowText
	ldur	x8, [x29, #-72]
Lloh67:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh68:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #64
	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
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_wDeviceId,8,3                  ; @wDeviceId
	.comm	_szAppTitle,8,3                 ; @szAppTitle
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_IDS_MODE_PAUSE,4,2             ; @IDS_MODE_PAUSE
	.comm	_IDS_MODE_STOP,4,2              ; @IDS_MODE_STOP
	.comm	_IDS_MODE_PLAY,4,2              ; @IDS_MODE_PLAY
	.comm	_IDS_MODE_OPEN,4,2              ; @IDS_MODE_OPEN
	.comm	_IDS_MODE_RECORD,4,2            ; @IDS_MODE_RECORD
	.comm	_IDS_MODE_SEEK,4,2              ; @IDS_MODE_SEEK
	.comm	_IDS_MODE_NOT_READY,4,2         ; @IDS_MODE_NOT_READY
	.comm	_IDS_MODE_UNKNOWN,4,2           ; @IDS_MODE_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s - %s (%s)"

	.comm	_szCurrentFile,4,2              ; @szCurrentFile
.subsections_via_symbols
