	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetFindFlags
_GetFindFlags:                          ## @GetFindFlags
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RSF_LOOKATKEYS@GOTPCREL(%rip), %rax
	movq	_RSF_LOOKATVALUES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	orq	(%rax), %rbx
	movq	_RSF_LOOKATDATA@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_HKEY_CURRENT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_g_szGeneralRegKey@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_RegOpenKeyW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.1:
	movq	$8, -40(%rbp)
	movl	-28(%rbp), %edi
	movq	_s_szFindFlags@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %r14
	leaq	-48(%rbp), %rcx
	leaq	-40(%rbp), %r9
	xorl	%edx, %edx
	movl	%r14d, %r8d
	callq	_RegQueryValueExW
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rax
	movq	_REG_DWORD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	andq	$-65536, %rbx                   ## imm = 0xFFFF0000
	movzwl	-56(%rbp), %eax
	orq	%rax, %rbx
LBB0_4:
	movq	$8, -40(%rbp)
	movl	-28(%rbp), %edi
	movq	_s_szFindFlagsR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	leaq	-40(%rbp), %r9
	xorl	%edx, %edx
	movl	%r14d, %r8d
	callq	_RegQueryValueExW
	cmpq	(%r15), %rax
	jne	LBB0_7
## %bb.5:
	movq	-48(%rbp), %rax
	movq	_REG_DWORD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movzwl	%bx, %eax
	movl	-56(%rbp), %ebx
	shll	$16, %ebx
	orq	%rax, %rbx
LBB0_7:
	movl	-28(%rbp), %edi
	callq	_RegCloseKey
LBB0_8:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSF_LOOKATKEYS,8,3             ## @RSF_LOOKATKEYS
	.comm	_RSF_LOOKATVALUES,8,3           ## @RSF_LOOKATVALUES
	.comm	_RSF_LOOKATDATA,8,3             ## @RSF_LOOKATDATA
	.comm	_HKEY_CURRENT_USER,4,2          ## @HKEY_CURRENT_USER
	.comm	_g_szGeneralRegKey,4,2          ## @g_szGeneralRegKey
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_s_szFindFlags,4,2              ## @s_szFindFlags
	.comm	_REG_DWORD,8,3                  ## @REG_DWORD
	.comm	_s_szFindFlagsR,4,2             ## @s_szFindFlagsR
	.no_dead_strip	_GetFindFlags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetFindFlags
_GetFindFlags:                          ; @GetFindFlags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, _RSF_LOOKATKEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSF_LOOKATKEYS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RSF_LOOKATVALUES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RSF_LOOKATVALUES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh6:
	adrp	x9, _RSF_LOOKATDATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RSF_LOOKATDATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x19, x8, x9
Lloh9:
	adrp	x8, _HKEY_CURRENT_USER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HKEY_CURRENT_USER@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _g_szGeneralRegKey@GOTPAGE
Lloh13:
	ldr	x8, [x8, _g_szGeneralRegKey@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #28
	bl	_RegOpenKeyW
Lloh15:
	adrp	x20, _ERROR_SUCCESS@GOTPAGE
Lloh16:
	ldr	x20, [x20, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	mov	w8, #8
	str	x8, [sp]
	ldr	w0, [sp, #28]
Lloh17:
	adrp	x8, _s_szFindFlags@GOTPAGE
Lloh18:
	ldr	x8, [x8, _s_szFindFlags@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	bl	_RegQueryValueExW
	ldr	x8, [x20]
Lloh20:
	adrp	x21, _REG_DWORD@GOTPAGE
Lloh21:
	ldr	x21, [x21, _REG_DWORD@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [sp, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	and	x8, x19, #0xffffffffffff0000
	ldrh	w9, [sp, #8]
	orr	x19, x9, x8
LBB0_4:
	mov	w8, #8
	str	x8, [sp]
	ldr	w0, [sp, #28]
Lloh22:
	adrp	x8, _s_szFindFlagsR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _s_szFindFlagsR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	bl	_RegQueryValueExW
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [sp, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	w8, [sp, #8]
	lsl	w8, w8, #16
	bfxil	x8, x19, #0, #16
	mov	x19, x8
LBB0_7:
	ldr	w0, [sp, #28]
	bl	_RegCloseKey
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_RSF_LOOKATKEYS,8,3             ; @RSF_LOOKATKEYS
	.comm	_RSF_LOOKATVALUES,8,3           ; @RSF_LOOKATVALUES
	.comm	_RSF_LOOKATDATA,8,3             ; @RSF_LOOKATDATA
	.comm	_HKEY_CURRENT_USER,4,2          ; @HKEY_CURRENT_USER
	.comm	_g_szGeneralRegKey,4,2          ; @g_szGeneralRegKey
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_s_szFindFlags,4,2              ; @s_szFindFlags
	.comm	_REG_DWORD,8,3                  ; @REG_DWORD
	.comm	_s_szFindFlagsR,4,2             ; @s_szFindFlagsR
	.no_dead_strip	_GetFindFlags
.subsections_via_symbols
