	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_RegReadFromReg
_CRYPT_RegReadFromReg:                  ## @CRYPT_RegReadFromReg
	.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
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	leaq	_CRYPT_RegReadFromReg.subKeys(%rip), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	addq	$8, %rbx
	cmpq	%rax, %r13
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r12), %rsi
	movq	_KEY_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	movl	%r15d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	%r14
	pushq	$0
	callq	_RegCreateKeyExW
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	leaq	_CRYPT_RegReadFromReg.contextFlags(%rip), %rax
	movq	(%rbx,%rax), %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_CRYPT_RegReadSerializedFromReg
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @CRYPT_RegReadFromReg.subKeys
_CRYPT_RegReadFromReg.subKeys:
	.quad	128
	.quad	130
	.quad	129

	.p2align	4                               ## @CRYPT_RegReadFromReg.contextFlags
_CRYPT_RegReadFromReg.contextFlags:
	.quad	133                             ## 0x85
	.quad	132                             ## 0x84
	.quad	131                             ## 0x83

	.comm	_KEY_READ,4,2                   ## @KEY_READ
	.no_dead_strip	_CRYPT_RegReadFromReg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_RegReadFromReg
_CRYPT_RegReadFromReg:                  ; @CRYPT_RegReadFromReg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _CRYPT_RegReadFromReg.subKeys@PAGE
Lloh1:
	add	x21, x21, _CRYPT_RegReadFromReg.subKeys@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _KEY_READ@GOTPAGE
Lloh3:
	ldr	x23, [x23, _KEY_READ@GOTPAGEOFF]
Lloh4:
	adrp	x24, _CRYPT_RegReadFromReg.contextFlags@PAGE
Lloh5:
	add	x24, x24, _CRYPT_RegReadFromReg.contextFlags@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21, x22, lsl #3]
	ldr	w5, [x23]
	str	xzr, [sp]
	add	x7, sp, #12
	mov	x0, x20
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	mov	x6, #0
	bl	_RegCreateKeyExW
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [sp, #12]
	ldr	x1, [x24, x22, lsl #3]
	mov	x2, x19
	bl	_CRYPT_RegReadSerializedFromReg
	ldr	w0, [sp, #12]
	bl	_RegCloseKey
	b	LBB0_2
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @CRYPT_RegReadFromReg.subKeys
_CRYPT_RegReadFromReg.subKeys:
	.quad	128
	.quad	130
	.quad	129

	.p2align	3                               ; @CRYPT_RegReadFromReg.contextFlags
_CRYPT_RegReadFromReg.contextFlags:
	.quad	133                             ; 0x85
	.quad	132                             ; 0x84
	.quad	131                             ; 0x83

	.comm	_KEY_READ,4,2                   ; @KEY_READ
	.no_dead_strip	_CRYPT_RegReadFromReg
.subsections_via_symbols
