	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FindHTMLHelpSetting
_FindHTMLHelpSetting:                   ## @FindHTMLHelpSetting
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	8(%rax), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdi
	callq	_lstrlenW
	movl	%eax, %ebx
	leaq	_FindHTMLHelpSetting.periodW(%rip), %r13
	movq	%r13, %rdi
	callq	_lstrlenW
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %r14d
	leal	(%rax,%r14), %edi
	incl	%edi
	callq	_heap_alloc
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_lstrcpyW
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_lstrcatW
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_lstrcatW
	movq	_STGM_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %r9
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_IStorage_OpenStream
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_heap_free
	leaq	L_.str(%rip), %rdi
	callq	_strdupAtoW
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_2:
	movq	-56(%rbp), %rdi
	callq	_IStream_Release
LBB0_3:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_FindHTMLHelpSetting.periodW:           ## @FindHTMLHelpSetting.periodW
	.asciz	"."

	.comm	_STGM_READ,4,2                  ## @STGM_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_FindHTMLHelpSetting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FindHTMLHelpSetting
_FindHTMLHelpSetting:                   ; @FindHTMLHelpSetting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldp	x0, x22, [x8]
	bl	_lstrlenW
	mov	x19, x0
Lloh0:
	adrp	x23, _FindHTMLHelpSetting.periodW@PAGE
Lloh1:
	add	x23, x23, _FindHTMLHelpSetting.periodW@PAGEOFF
	mov	x0, x23
	bl	_lstrlenW
	mov	x24, x0
	mov	x0, x20
	bl	_lstrlenW
	add	w8, w19, w24
	add	w8, w8, w0
	add	w0, w8, #1
	bl	_heap_alloc
	mov	x19, x0
	ldr	x8, [x21]
	ldr	x1, [x8]
	bl	_lstrcpyW
	mov	x0, x19
	mov	x1, x23
	bl	_lstrcatW
	mov	x0, x19
	mov	x1, x20
	bl	_lstrcatW
Lloh2:
	adrp	x8, _STGM_READ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STGM_READ@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	add	x5, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, #0
	mov	w4, #0
	bl	_IStorage_OpenStream
	bl	_FAILED
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_heap_free
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strdupAtoW
	mov	x19, x0
	b	LBB0_3
LBB0_2:
	ldr	x0, [sp, #8]
	bl	_IStream_Release
LBB0_3:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_FindHTMLHelpSetting.periodW:           ; @FindHTMLHelpSetting.periodW
	.asciz	"."

	.comm	_STGM_READ,4,2                  ; @STGM_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_FindHTMLHelpSetting
.subsections_via_symbols
