	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initialize_purpose_selection
_initialize_purpose_selection:          ## @initialize_purpose_selection
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IDC_MGR_PURPOSE_SELECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %r15d
	movq	_MAX_STRING_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_IDS_PURPOSE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	movq	_CB_INSERTSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	movl	$-1, %edx
	movl	%ebx, %ecx
	callq	_SendMessageW
	movq	_CB_SETITEMDATA@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_PurposeFilterShowAll@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_SendMessageW
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_IDS_PURPOSE_ADVANCED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	movq	_CB_INSERTSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	movl	$-1, %edx
	movl	%ebx, %ecx
	callq	_SendMessageW
	movl	(%r13), %esi
	movq	_PurposeFilterShowAdvanced@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_SendMessageW
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	xorl	%eax, %eax
	callq	_get_cert_mgr_usages
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.2:
	movq	%r14, %rdi
	movl	$44, %esi
	callq	_strchr
	movq	%rax, %r12
	movq	_CRYPT_OID_INFO_OID_KEY@GOTPCREL(%rip), %r13
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%r12)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_CryptFindOIDInfo
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	_CB_INSERTSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_SendMessageW
	movq	_CB_SETITEMDATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r15d, %edi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_SendMessageW
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	cmpq	$0, 8(%r12)
	movq	%rax, %r12
	jne	LBB0_3
LBB0_9:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_MGR_PURPOSE_SELECTION,4,2  ## @IDC_MGR_PURPOSE_SELECTION
	.comm	_MAX_STRING_LEN,4,2             ## @MAX_STRING_LEN
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_IDS_PURPOSE_ALL,4,2            ## @IDS_PURPOSE_ALL
	.comm	_CB_INSERTSTRING,4,2            ## @CB_INSERTSTRING
	.comm	_CB_SETITEMDATA,4,2             ## @CB_SETITEMDATA
	.comm	_PurposeFilterShowAll,8,3       ## @PurposeFilterShowAll
	.comm	_IDS_PURPOSE_ADVANCED,4,2       ## @IDS_PURPOSE_ADVANCED
	.comm	_PurposeFilterShowAdvanced,8,3  ## @PurposeFilterShowAdvanced
	.comm	_CB_SETCURSEL,4,2               ## @CB_SETCURSEL
	.comm	_CRYPT_OID_INFO_OID_KEY,4,2     ## @CRYPT_OID_INFO_OID_KEY
	.no_dead_strip	_initialize_purpose_selection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initialize_purpose_selection
_initialize_purpose_selection:          ; @initialize_purpose_selection
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
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, _IDC_MGR_PURPOSE_SELECTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDC_MGR_PURPOSE_SELECTION@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x19, x0
Lloh6:
	adrp	x8, _MAX_STRING_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_STRING_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh11:
	adrp	x25, _hInstance@GOTPAGE
Lloh12:
	ldr	x25, [x25, _hInstance@GOTPAGEOFF]
	ldr	w21, [x25]
Lloh13:
	adrp	x8, _IDS_PURPOSE_ALL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IDS_PURPOSE_ALL@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_LoadStringW
Lloh16:
	adrp	x23, _CB_INSERTSTRING@GOTPAGE
Lloh17:
	ldr	x23, [x23, _CB_INSERTSTRING@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #-1
	mov	x3, x20
	bl	_SendMessageW
	mov	x2, x0
Lloh18:
	adrp	x24, _CB_SETITEMDATA@GOTPAGE
Lloh19:
	ldr	x24, [x24, _CB_SETITEMDATA@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh20:
	adrp	x8, _PurposeFilterShowAll@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PurposeFilterShowAll@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SendMessageW
	ldr	w21, [x25]
Lloh23:
	adrp	x8, _IDS_PURPOSE_ADVANCED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IDS_PURPOSE_ADVANCED@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_LoadStringW
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #-1
	mov	x3, x20
	bl	_SendMessageW
	mov	x2, x0
	ldr	w1, [x24]
Lloh26:
	adrp	x8, _PurposeFilterShowAdvanced@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PurposeFilterShowAdvanced@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SendMessageW
Lloh29:
	adrp	x8, _CB_SETCURSEL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CB_SETCURSEL@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	bl	_get_cert_mgr_usages
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x0, x20
	mov	w1, #44
	bl	_strchr
	mov	x21, x0
Lloh32:
	adrp	x25, _CRYPT_OID_INFO_OID_KEY@GOTPAGE
Lloh33:
	ldr	x25, [x25, _CRYPT_OID_INFO_OID_KEY@GOTPAGEOFF]
	mov	x22, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x21]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	mov	x1, x22
	mov	w2, #0
	bl	_CryptFindOIDInfo
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	ldr	w1, [x23]
	ldr	w3, [x0]
	mov	x0, x19
	mov	w2, #0
	bl	_SendMessageW
	mov	x2, x0
	ldr	w1, [x24]
	mov	x0, x19
	mov	x3, x22
	bl	_SendMessageW
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x21, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x21, #8
	mov	x0, x22
	mov	w1, #44
	bl	_strchr
	ldr	x8, [x21, #8]
	mov	x21, x0
	cbnz	x8, LBB0_3
LBB0_9:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
LBB0_10:
	ldur	x8, [x29, #-72]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_MGR_PURPOSE_SELECTION,4,2  ; @IDC_MGR_PURPOSE_SELECTION
	.comm	_MAX_STRING_LEN,4,2             ; @MAX_STRING_LEN
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_IDS_PURPOSE_ALL,4,2            ; @IDS_PURPOSE_ALL
	.comm	_CB_INSERTSTRING,4,2            ; @CB_INSERTSTRING
	.comm	_CB_SETITEMDATA,4,2             ; @CB_SETITEMDATA
	.comm	_PurposeFilterShowAll,8,3       ; @PurposeFilterShowAll
	.comm	_IDS_PURPOSE_ADVANCED,4,2       ; @IDS_PURPOSE_ADVANCED
	.comm	_PurposeFilterShowAdvanced,8,3  ; @PurposeFilterShowAdvanced
	.comm	_CB_SETCURSEL,4,2               ; @CB_SETCURSEL
	.comm	_CRYPT_OID_INFO_OID_KEY,4,2     ; @CRYPT_OID_INFO_OID_KEY
	.no_dead_strip	_initialize_purpose_selection
.subsections_via_symbols
