	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_registered_oid_info
_init_registered_oid_info:              ## @init_registered_oid_info
	.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	$40, %rsp
	.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	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KEY_ALL_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %r8
	xorl	%edx, %edx
	callq	_RegOpenKeyExA
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.1:
	movq	%rsp, %r12
	movq	_MAX_PATH@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	-52(%rbp), %edi
	movl	(%r15), %ecx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_RegEnumKeyA
	movq	_ERROR_NO_MORE_ITEMS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_10:
	movq	%r12, %rsp
	movl	-52(%rbp), %edi
	callq	_RegCloseKey
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %r13d
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_oidInfo@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_list_add_tail
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r14
	movq	_MAX_PATH@GOTPCREL(%rip), %r15
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rsp
	movq	%rsp, %r12
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	-52(%rbp), %edi
	movl	(%r15), %ecx
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_RegEnumKeyA
	incl	%r13d
	movq	_ERROR_NO_MORE_ITEMS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r14), %rax
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %edi
	movq	%rbx, %rsi
	leaq	-80(%rbp), %rdx
	callq	_read_oid_info
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movl	28(%rax), %edi
	callq	_debugstr_a
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	24(%rbx), %edi
	callq	_debugstr_w
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	20(%rbx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	16(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %edi
	movl	12(%rbx), %r14d
	callq	_debugstr_w
	movl	%eax, %r15d
	movl	4(%rbx), %edi
	callq	_debugstr_w
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.1(%rip), %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r15
	callq	_TRACE
	addq	$16, %rsp
	movq	_CRYPT_INSTALL_OID_INFO_BEFORE_FLAG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, -80(%rbp)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_oidInfo@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_list_add_head
	jmp	LBB0_8
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CryptDllFindOIDInfo"

	.comm	_KEY_ALL_ACCESS,4,2             ## @KEY_ALL_ACCESS
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_ERROR_NO_MORE_ITEMS,8,3        ## @ERROR_NO_MORE_ITEMS
L_.str.1:                               ## @.str.1
	.asciz	"adding oid %s, name %s, groupid %u, algid %u, extra %u, CNG algid %s, CNG extra %s\n"

	.comm	_CRYPT_INSTALL_OID_INFO_BEFORE_FLAG,8,3 ## @CRYPT_INSTALL_OID_INFO_BEFORE_FLAG
	.comm	_oidInfo,4,2                    ## @oidInfo
	.no_dead_strip	_init_registered_oid_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_registered_oid_info
_init_registered_oid_info:              ; @init_registered_oid_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _KEY_ALL_ACCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_ALL_ACCESS@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	sub	x4, x29, #92
	mov	w2, #0
	bl	_RegOpenKeyExA
Lloh11:
	adrp	x23, _ERROR_SUCCESS@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	mov	x21, sp
Lloh13:
	adrp	x20, _MAX_PATH@GOTPAGE
Lloh14:
	ldr	x20, [x20, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x20]
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldur	w0, [x29, #-92]
	ldr	w3, [x20]
	mov	w1, #0
	mov	x2, x22
	bl	_RegEnumKeyA
Lloh17:
	adrp	x24, _ERROR_NO_MORE_ITEMS@GOTPAGE
Lloh18:
	ldr	x24, [x24, _ERROR_NO_MORE_ITEMS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_2:
	mov	sp, x21
	ldur	w0, [x29, #-92]
	bl	_RegCloseKey
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.4:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w19, #1
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_list_add_tail
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, x20
Lloh22:
	adrp	x20, _MAX_PATH@GOTPAGE
Lloh23:
	ldr	x20, [x20, _MAX_PATH@GOTPAGEOFF]
Lloh24:
	adrp	x24, _ERROR_NO_MORE_ITEMS@GOTPAGE
Lloh25:
	ldr	x24, [x24, _ERROR_NO_MORE_ITEMS@GOTPAGEOFF]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	sp, x21
	mov	x21, sp
	ldr	w8, [x20]
	mov	x9, x8
Lloh26:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh27:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldur	w0, [x29, #-92]
	ldr	w3, [x20]
	mov	x1, x19
	mov	x2, x22
	bl	_RegEnumKeyA
	ldr	x8, [x24]
	add	w19, w19, #1
	cmp	x0, x8
	b.eq	LBB0_2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldur	w0, [x29, #-92]
	sub	x2, x29, #104
	mov	x1, x22
	bl	_read_oid_info
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x0
	mov	x20, x23
	ldr	w0, [x0, #28]
	bl	_debugstr_a
	mov	x23, x0
	ldr	w0, [x22, #24]
	bl	_debugstr_w
	mov	x24, x0
	ldp	w26, w25, [x22, #16]
	ldp	w0, w27, [x22, #8]
	bl	_debugstr_w
	mov	x28, x0
	ldr	w0, [x22, #4]
	bl	_debugstr_w
	mov	x7, x0
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x26
	mov	x5, x27
	mov	x6, x28
	bl	_TRACE
	ldur	x8, [x29, #-104]
Lloh30:
	adrp	x9, _CRYPT_INSTALL_OID_INFO_BEFORE_FLAG@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CRYPT_INSTALL_OID_INFO_BEFORE_FLAG@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
Lloh33:
	adrp	x0, _oidInfo@GOTPAGE
Lloh34:
	ldr	x0, [x0, _oidInfo@GOTPAGEOFF]
	mov	x1, x22
	tst	x9, x8
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_list_add_head
	b	LBB0_7
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CryptDllFindOIDInfo"

	.comm	_KEY_ALL_ACCESS,4,2             ; @KEY_ALL_ACCESS
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_ERROR_NO_MORE_ITEMS,8,3        ; @ERROR_NO_MORE_ITEMS
l_.str.1:                               ; @.str.1
	.asciz	"adding oid %s, name %s, groupid %u, algid %u, extra %u, CNG algid %s, CNG extra %s\n"

	.comm	_CRYPT_INSTALL_OID_INFO_BEFORE_FLAG,8,3 ; @CRYPT_INSTALL_OID_INFO_BEFORE_FLAG
	.comm	_oidInfo,4,2                    ; @oidInfo
	.no_dead_strip	_init_registered_oid_info
.subsections_via_symbols
