	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_protect_data
_fill_protect_data:                     ## @fill_protect_data
	.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	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	_FALSE@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	callq	_lstrlenW
	movl	%eax, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$104, %edx
	callq	_memset
	movl	$1, (%rbx)
	movq	_crypt_magic_str@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	52(%rbx), %rsi
	callq	_convert_str_to_blob
	movl	$1, 4(%rbx)
	movl	(%r14), %edi
	leaq	48(%rbx), %r15
	movq	%r15, %rsi
	callq	_convert_str_to_blob
	movl	$0, 8(%rbx)
	leal	4(,%r13,4), %r13d
	movl	%r13d, %edi
	callq	_CryptMemAlloc
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_memcpy
LBB0_3:
	movq	_CRYPT32_PROTECTDATA_KEY_CALG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rbx)
	movq	_CRYPT32_PROTECTDATA_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movl	(%r14), %edi
	leaq	32(%rbx), %r12
	movq	%r12, %rsi
	callq	_convert_str_to_blob
	movl	$0, 12(%rbx)
	movq	_CRYPT32_PROTECTDATA_HASH_CALG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	movq	_CRYPT32_PROTECTDATA_HASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	_CRYPT32_PROTECTDATA_SALT_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_CryptMemAlloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	(%r14), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rdx
	callq	_CryptGenRandom
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	leaq	16(%rbx), %rdi
	movl	(%r14), %eax
	movl	%eax, (%rdi)
	callq	_TRACE_DATA_BLOB
LBB0_8:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%rbx)
	movups	%xmm0, 56(%rbx)
	leaq	L_.str.2(%rip), %rdi
	cmpl	$0, 52(%rbx)
	je	LBB0_6
## %bb.9:
	cmpl	$0, (%r15)
	je	LBB0_6
## %bb.10:
	cmpq	$0, 40(%rbx)
	je	LBB0_6
## %bb.11:
	cmpl	$0, (%r12)
	je	LBB0_6
## %bb.12:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.13:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	callq	_ERR
	movq	%rbx, %rdi
	callq	_free_protect_data
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"called\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_crypt_magic_str,4,2            ## @crypt_magic_str
	.comm	_CRYPT32_PROTECTDATA_KEY_CALG,4,2 ## @CRYPT32_PROTECTDATA_KEY_CALG
	.comm	_CRYPT32_PROTECTDATA_KEY_LEN,4,2 ## @CRYPT32_PROTECTDATA_KEY_LEN
	.comm	_CRYPT32_PROTECTDATA_HASH_CALG,4,2 ## @CRYPT32_PROTECTDATA_HASH_CALG
	.comm	_CRYPT32_PROTECTDATA_HASH_LEN,4,2 ## @CRYPT32_PROTECTDATA_HASH_LEN
	.comm	_CRYPT32_PROTECTDATA_SALT_LEN,4,2 ## @CRYPT32_PROTECTDATA_SALT_LEN
L_.str.1:                               ## @.str.1
	.asciz	"CryptGenRandom\n"

L_.str.2:                               ## @.str.2
	.asciz	"could not allocate protect_data structures\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_fill_protect_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_protect_data
_fill_protect_data:                     ; @fill_protect_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	x19, LBB0_15
; %bb.1:
	mov	x0, x22
	bl	_lstrlenW
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #104
	bl	_memset
	mov	w21, #1
	str	w21, [x19]
Lloh2:
	adrp	x24, _crypt_magic_str@GOTPAGE
Lloh3:
	ldr	x24, [x24, _crypt_magic_str@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x1, x19, #52
	bl	_convert_str_to_blob
	str	w21, [x19, #4]
	ldr	w0, [x24]
	add	x21, x19, #48
	mov	x1, x21
	bl	_convert_str_to_blob
	str	wzr, [x19, #8]
	lsl	w8, w23, #2
	add	w23, w8, #4
	mov	x0, x23
	bl	_CryptMemAlloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
LBB0_3:
Lloh4:
	adrp	x8, _CRYPT32_PROTECTDATA_KEY_CALG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CRYPT32_PROTECTDATA_KEY_CALG@GOTPAGEOFF]
Lloh6:
	adrp	x9, _CRYPT32_PROTECTDATA_KEY_LEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CRYPT32_PROTECTDATA_KEY_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #96]
	ldr	w0, [x24]
	add	x22, x19, #32
	mov	x1, x22
	bl	_convert_str_to_blob
	str	wzr, [x19, #12]
Lloh10:
	adrp	x8, _CRYPT32_PROTECTDATA_HASH_CALG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CRYPT32_PROTECTDATA_HASH_CALG@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _CRYPT32_PROTECTDATA_HASH_LEN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CRYPT32_PROTECTDATA_HASH_LEN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #88]
Lloh16:
	adrp	x23, _CRYPT32_PROTECTDATA_SALT_LEN@GOTPAGE
Lloh17:
	ldr	x23, [x23, _CRYPT32_PROTECTDATA_SALT_LEN@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_CryptMemAlloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.4:
	mov	x2, x0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_CryptGenRandom
	cbz	w0, LBB0_13
; %bb.5:
	add	x0, x19, #16
	ldr	w8, [x23]
	str	w8, [x0]
	bl	_TRACE_DATA_BLOB
LBB0_6:
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #72]
	stur	q0, [x19, #56]
	ldr	w8, [x19, #52]
	cbz	w8, LBB0_12
; %bb.7:
	ldr	w8, [x21]
	cbz	w8, LBB0_12
; %bb.8:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	w8, [x22]
	cbz	w8, LBB0_12
; %bb.10:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
; %bb.11:
Lloh18:
	adrp	x8, _TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	_ERR
	mov	x0, x19
	bl	_free_protect_data
LBB0_15:
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"called\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_crypt_magic_str,4,2            ; @crypt_magic_str
	.comm	_CRYPT32_PROTECTDATA_KEY_CALG,4,2 ; @CRYPT32_PROTECTDATA_KEY_CALG
	.comm	_CRYPT32_PROTECTDATA_KEY_LEN,4,2 ; @CRYPT32_PROTECTDATA_KEY_LEN
	.comm	_CRYPT32_PROTECTDATA_HASH_CALG,4,2 ; @CRYPT32_PROTECTDATA_HASH_CALG
	.comm	_CRYPT32_PROTECTDATA_HASH_LEN,4,2 ; @CRYPT32_PROTECTDATA_HASH_LEN
	.comm	_CRYPT32_PROTECTDATA_SALT_LEN,4,2 ; @CRYPT32_PROTECTDATA_SALT_LEN
l_.str.1:                               ; @.str.1
	.asciz	"CryptGenRandom\n"

l_.str.2:                               ; @.str.2
	.asciz	"could not allocate protect_data structures\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_fill_protect_data
.subsections_via_symbols
