	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_cert_usages
_show_cert_usages:                      ## @show_cert_usages
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	8(%rsi), %r13d
	movq	_IDC_CERTIFICATE_USAGES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	callq	_GetDlgItem
	movl	%eax, %ebx
	movq	_PurposeEnableAll@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	leaq	-96(%rbp), %rsi
	movl	%eax, %edi
	callq	_GetWindowRect
	movq	_LVCF_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	-88(%rbp), %rax
	subq	-96(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	_LVM_INSERTCOLUMNW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movq	_LVM_SETIMAGELIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LVSIL_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_SendMessageW
	movq	_CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rcx
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_CertGetEnhancedKeyUsage
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-48(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r14
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rcx
	movl	%r13d, %edi
	movq	%rax, %rdx
	callq	_CertGetEnhancedKeyUsage
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	_PurposeEnableSelected@GOTPCREL(%rip), %r12
	jmp	LBB0_3
LBB0_9:
	movq	_CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rcx
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_CertGetEnhancedKeyUsage
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-48(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r14
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rcx
	movl	%r13d, %edi
	movq	%rax, %rdx
	callq	_CertGetEnhancedKeyUsage
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.4:
	movq	_PurposeDisableAll@GOTPCREL(%rip), %r12
LBB0_5:
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_14
## %bb.6:
	xorl	%ebx, %ebx
	movq	_CRYPT_OID_INFO_OID_KEY@GOTPCREL(%rip), %r13
	movq	_CRYPT_ENHKEY_USAGE_OID_GROUP_ID@GOTPCREL(%rip), %r15
	movq	_CheckBitmapIndexDisabledChecked@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_add_purpose
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jae	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movl	(%r15), %edx
	callq	_CryptFindOIDInfo
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
	callq	_add_known_usage
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_11:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	jmp	LBB0_16
LBB0_15:
	movq	_PurposeEnableAll@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_16:
	movq	_CheckBitmapIndexDisabledChecked@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_add_known_usages_to_list
LBB0_17:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_select_purposes
	movq	_IDC_ENABLE_ALL_PURPOSES@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_GetDlgItem
	movq	_BM_CLICK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_CERTIFICATE_USAGES,8,3     ## @IDC_CERTIFICATE_USAGES
	.comm	_PurposeEnableAll,8,3           ## @PurposeEnableAll
	.comm	_LVCF_WIDTH,4,2                 ## @LVCF_WIDTH
	.comm	_LVM_INSERTCOLUMNW,4,2          ## @LVM_INSERTCOLUMNW
	.comm	_LVM_SETIMAGELIST,4,2           ## @LVM_SETIMAGELIST
	.comm	_LVSIL_STATE,4,2                ## @LVSIL_STATE
	.comm	_CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG,4,2 ## @CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG
	.comm	_PurposeEnableSelected,8,3      ## @PurposeEnableSelected
	.comm	_PurposeDisableAll,8,3          ## @PurposeDisableAll
	.comm	_CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG,4,2 ## @CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG
	.comm	_CRYPT_OID_INFO_OID_KEY,4,2     ## @CRYPT_OID_INFO_OID_KEY
	.comm	_CRYPT_ENHKEY_USAGE_OID_GROUP_ID,4,2 ## @CRYPT_ENHKEY_USAGE_OID_GROUP_ID
	.comm	_CheckBitmapIndexDisabledChecked,4,2 ## @CheckBitmapIndexDisabledChecked
	.comm	_IDC_ENABLE_ALL_PURPOSES,8,3    ## @IDC_ENABLE_ALL_PURPOSES
	.comm	_BM_CLICK,4,2                   ## @BM_CLICK
	.no_dead_strip	_show_cert_usages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_cert_usages
_show_cert_usages:                      ; @show_cert_usages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x22, x1
	mov	x19, x0
	ldr	w23, [x1, #8]
Lloh0:
	adrp	x8, _IDC_CERTIFICATE_USAGES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_CERTIFICATE_USAGES@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	bl	_GetDlgItem
	mov	x21, x0
Lloh3:
	adrp	x24, _PurposeEnableAll@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PurposeEnableAll@GOTPAGEOFF]
	ldr	x20, [x24]
	add	x1, sp, #24
	bl	_GetWindowRect
Lloh5:
	adrp	x8, _LVCF_WIDTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LVCF_WIDTH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldp	x9, x8, [sp, #24]
	sub	x8, x8, x9
	str	x8, [sp, #8]
Lloh8:
	adrp	x8, _LVM_INSERTCOLUMNW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LVM_INSERTCOLUMNW@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	w2, #0
	bl	_SendMessageW
Lloh11:
	adrp	x8, _LVM_SETIMAGELIST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LVM_SETIMAGELIST@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _LVSIL_STATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LVSIL_STATE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x0, x21
	bl	_SendMessageW
Lloh17:
	adrp	x25, _CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG@GOTPAGE
Lloh18:
	ldr	x25, [x25, _CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x3, sp, #40
	mov	x0, x23
	mov	x2, #0
	bl	_CertGetEnhancedKeyUsage
	cbz	x0, LBB0_3
; %bb.1:
	bl	_GetProcessHeap
	ldr	x2, [sp, #40]
	mov	w1, #0
	bl	_HeapAlloc
	mov	x22, x0
	ldr	w1, [x25]
	add	x3, sp, #40
	mov	x0, x23
	mov	x2, x22
	bl	_CertGetEnhancedKeyUsage
	cbz	x0, LBB0_13
; %bb.2:
Lloh19:
	adrp	x8, _PurposeEnableSelected@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PurposeEnableSelected@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh21:
	adrp	x25, _CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG@GOTPAGE
Lloh22:
	ldr	x25, [x25, _CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x3, sp, #40
	mov	x0, x23
	mov	x2, #0
	bl	_CertGetEnhancedKeyUsage
	cbz	x0, LBB0_14
; %bb.4:
	bl	_GetProcessHeap
	ldr	x2, [sp, #40]
	mov	w1, #0
	bl	_HeapAlloc
	mov	x22, x0
	ldr	w1, [x25]
	add	x3, sp, #40
	mov	x0, x23
	mov	x2, x22
	bl	_CertGetEnhancedKeyUsage
	cbz	x0, LBB0_13
; %bb.5:
Lloh23:
	adrp	x8, _PurposeEnableAll@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PurposeEnableAll@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x22]
Lloh25:
	adrp	x10, _PurposeDisableAll@GOTPAGE
Lloh26:
	ldr	x10, [x10, _PurposeDisableAll@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	x20, [x8]
	cbz	x9, LBB0_12
; %bb.7:
	mov	x23, #0
Lloh27:
	adrp	x24, _CRYPT_OID_INFO_OID_KEY@GOTPAGE
Lloh28:
	ldr	x24, [x24, _CRYPT_OID_INFO_OID_KEY@GOTPAGEOFF]
Lloh29:
	adrp	x25, _CRYPT_ENHKEY_USAGE_OID_GROUP_ID@GOTPAGE
Lloh30:
	ldr	x25, [x25, _CRYPT_ENHKEY_USAGE_OID_GROUP_ID@GOTPAGEOFF]
Lloh31:
	adrp	x26, _CheckBitmapIndexDisabledChecked@GOTPAGE
Lloh32:
	ldr	x26, [x26, _CheckBitmapIndexDisabledChecked@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x22, #8]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x19
	bl	_add_purpose
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x23, x23, #1
	ldr	x8, [x22]
	cmp	x23, x8
	b.hs	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldr	x8, [x22, #8]
	ldr	w1, [x8, x23, lsl #2]
	ldr	w2, [x25]
	bl	_CryptFindOIDInfo
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x1, x0
	ldr	w2, [x26]
	mov	x0, x21
	bl	_add_known_usage
	b	LBB0_9
LBB0_12:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
	b	LBB0_16
LBB0_13:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
	b	LBB0_15
LBB0_14:
	ldr	x20, [x24]
LBB0_15:
Lloh33:
	adrp	x8, _CheckBitmapIndexDisabledChecked@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CheckBitmapIndexDisabledChecked@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_add_known_usages_to_list
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	bl	_select_purposes
Lloh36:
	adrp	x8, _IDC_ENABLE_ALL_PURPOSES@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IDC_ENABLE_ALL_PURPOSES@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	add	x1, x8, x20
	mov	x0, x19
	bl	_GetDlgItem
Lloh39:
	adrp	x8, _BM_CLICK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _BM_CLICK@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_CERTIFICATE_USAGES,8,3     ; @IDC_CERTIFICATE_USAGES
	.comm	_PurposeEnableAll,8,3           ; @PurposeEnableAll
	.comm	_LVCF_WIDTH,4,2                 ; @LVCF_WIDTH
	.comm	_LVM_INSERTCOLUMNW,4,2          ; @LVM_INSERTCOLUMNW
	.comm	_LVM_SETIMAGELIST,4,2           ; @LVM_SETIMAGELIST
	.comm	_LVSIL_STATE,4,2                ; @LVSIL_STATE
	.comm	_CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG,4,2 ; @CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG
	.comm	_PurposeEnableSelected,8,3      ; @PurposeEnableSelected
	.comm	_PurposeDisableAll,8,3          ; @PurposeDisableAll
	.comm	_CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG,4,2 ; @CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG
	.comm	_CRYPT_OID_INFO_OID_KEY,4,2     ; @CRYPT_OID_INFO_OID_KEY
	.comm	_CRYPT_ENHKEY_USAGE_OID_GROUP_ID,4,2 ; @CRYPT_ENHKEY_USAGE_OID_GROUP_ID
	.comm	_CheckBitmapIndexDisabledChecked,4,2 ; @CheckBitmapIndexDisabledChecked
	.comm	_IDC_ENABLE_ALL_PURPOSES,8,3    ; @IDC_ENABLE_ALL_PURPOSES
	.comm	_BM_CLICK,4,2                   ; @BM_CLICK
	.no_dead_strip	_show_cert_usages
.subsections_via_symbols
