	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_cert_stores
_show_cert_stores:                      ## @show_cert_stores
	.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	%rdx, %r12
	movl	%esi, %ebx
	movq	_IDC_MGR_STORES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %r14d
	movq	_CRYPTUI_CERT_MGR_PUBLISHER_TAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	jne	LBB0_1
## %bb.2:
	movq	_defaultStoreList@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_publisherStoreList@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movq	_CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movl	$1, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%r12)
	movq	%r15, 8(%r12)
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.4:
	movl	%ecx, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_CryptFindLocalizedName
	movq	%rax, %r13
	testq	%rax, %rax
	movq	(%r15,%rbx,8), %r8
	cmoveq	%r8, %r13
	movq	_CERT_STORE_PROV_SYSTEM_W@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CERT_SYSTEM_STORE_CURRENT_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CertOpenStore
	movq	_TCIF_PARAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_TCIF_TEXT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, -64(%rbp)
	movq	%r13, -48(%rbp)
	movq	%rax, -56(%rbp)
	movq	_TCM_INSERTITEMW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	%ebx, %edx
	leaq	-64(%rbp), %rcx
	callq	_SendMessageW
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_5
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_MGR_STORES,4,2             ## @IDC_MGR_STORES
	.comm	_CRYPTUI_CERT_MGR_PUBLISHER_TAB,4,2 ## @CRYPTUI_CERT_MGR_PUBLISHER_TAB
	.comm	_publisherStoreList,8,3         ## @publisherStoreList
	.comm	_defaultStoreList,8,3           ## @defaultStoreList
	.comm	_CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG,4,2 ## @CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG
	.comm	_CERT_STORE_PROV_SYSTEM_W,4,2   ## @CERT_STORE_PROV_SYSTEM_W
	.comm	_CERT_SYSTEM_STORE_CURRENT_USER,4,2 ## @CERT_SYSTEM_STORE_CURRENT_USER
	.comm	_TCIF_TEXT,4,2                  ## @TCIF_TEXT
	.comm	_TCIF_PARAM,4,2                 ## @TCIF_PARAM
	.comm	_TCM_INSERTITEMW,4,2            ## @TCM_INSERTITEMW
	.no_dead_strip	_show_cert_stores
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_cert_stores
_show_cert_stores:                      ; @show_cert_stores
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x8, _IDC_MGR_STORES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_MGR_STORES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x19, x0
Lloh3:
	adrp	x8, _CRYPTUI_CERT_MGR_PUBLISHER_TAB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPTUI_CERT_MGR_PUBLISHER_TAB@GOTPAGEOFF]
Lloh5:
	adrp	x9, _defaultStoreList@GOTPAGE
Lloh6:
	ldr	x9, [x9, _defaultStoreList@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _publisherStoreList@GOTPAGE
Lloh9:
	ldr	x10, [x10, _publisherStoreList@GOTPAGEOFF]
	tst	w8, w22
	csel	x8, x9, x10, eq
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
Lloh10:
	adrp	x8, _CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	csinc	w22, w0, wzr, eq
	str	w22, [x21]
	str	x20, [x21, #8]
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
Lloh13:
	adrp	x23, _CERT_STORE_PROV_SYSTEM_W@GOTPAGE
Lloh14:
	ldr	x23, [x23, _CERT_STORE_PROV_SYSTEM_W@GOTPAGEOFF]
Lloh15:
	adrp	x24, _CERT_SYSTEM_STORE_CURRENT_USER@GOTPAGE
Lloh16:
	ldr	x24, [x24, _CERT_SYSTEM_STORE_CURRENT_USER@GOTPAGEOFF]
Lloh17:
	adrp	x25, _TCIF_TEXT@GOTPAGE
Lloh18:
	ldr	x25, [x25, _TCIF_TEXT@GOTPAGEOFF]
Lloh19:
	adrp	x26, _TCIF_PARAM@GOTPAGE
Lloh20:
	ldr	x26, [x26, _TCIF_PARAM@GOTPAGEOFF]
Lloh21:
	adrp	x27, _TCM_INSERTITEMW@GOTPAGE
Lloh22:
	ldr	x27, [x27, _TCM_INSERTITEMW@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x28, x21, #3
	ldr	x0, [x20, x28]
	bl	_CryptFindLocalizedName
	ldr	x4, [x20, x28]
	cmp	x0, #0
	csel	x28, x4, x0, eq
	ldr	w0, [x23]
	ldr	w3, [x24]
	mov	w1, #0
	mov	w2, #0
	bl	_CertOpenStore
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	stp	x0, x28, [sp, #16]
	ldr	w1, [x27]
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_SendMessageW
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_MGR_STORES,4,2             ; @IDC_MGR_STORES
	.comm	_CRYPTUI_CERT_MGR_PUBLISHER_TAB,4,2 ; @CRYPTUI_CERT_MGR_PUBLISHER_TAB
	.comm	_publisherStoreList,8,3         ; @publisherStoreList
	.comm	_defaultStoreList,8,3           ; @defaultStoreList
	.comm	_CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG,4,2 ; @CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG
	.comm	_CERT_STORE_PROV_SYSTEM_W,4,2   ; @CERT_STORE_PROV_SYSTEM_W
	.comm	_CERT_SYSTEM_STORE_CURRENT_USER,4,2 ; @CERT_SYSTEM_STORE_CURRENT_USER
	.comm	_TCIF_TEXT,4,2                  ; @TCIF_TEXT
	.comm	_TCIF_PARAM,4,2                 ; @TCIF_PARAM
	.comm	_TCM_INSERTITEMW,4,2            ; @TCM_INSERTITEMW
	.no_dead_strip	_show_cert_stores
.subsections_via_symbols
