	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_SerializeStoreElement
_CRYPT_SerializeStoreElement:           ## @CRYPT_SerializeStoreElement
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rax
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	32(%rbp), %rcx
	movq	24(%rbp), %r9
	movq	16(%rbp), %r8
	movq	%rcx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	callq	_TRACE
	testq	%r14, %r14
	je	LBB0_11
## %bb.1:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	leaq	24(%r15), %r13
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, -48(%rbp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	leaq	-48(%rbp), %rcx
	callq	*8(%rbx)
	movq	%rax, %r15
	movq	-48(%rbp), %rax
	addq	$24, %rax
	testq	%r15, %r15
	cmoveq	%r15, %rax
	addq	%rax, %r13
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%r15, %r15
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	cmpq	$0, 16(%rbp)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_IS_CERT_HASH_PROP_ID
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_2
LBB0_7:
	xorl	%r15d, %r15d
LBB0_8:
	movq	24(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	32(%rbp), %rax
	cmpq	%r13, (%rax)
	jge	LBB0_15
## %bb.10:
	movq	%r13, (%rax)
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
LBB0_11:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	32(%rbp), %rax
	movq	%r13, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %r15
LBB0_14:
	movq	%r15, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	-48(%rbp), %r12
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	%r15d, %r15d
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	testq	%r15, %r15
	je	LBB0_35
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_36
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %r13
	cmpq	$0, 16(%rbp)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r13, %rdi
	callq	_IS_CERT_HASH_PROP_ID
	testl	%eax, %eax
	jne	LBB0_17
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	$0, -48(%rbp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-48(%rbp), %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rsi, %rax
	jge	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	callq	_CryptMemRealloc
	jmp	LBB0_27
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rsi, %rdi
	callq	_CryptMemAlloc
LBB0_27:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %rdx
	movq	-48(%rbp), %rax
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=1
	testq	%rdx, %rdx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rcx
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.30:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, 16(%rdi)
	movl	$1, (%rdi)
	movq	-48(%rbp), %rdx
	movq	%rdx, 8(%rdi)
	addq	$96, %rdi
	testq	%rdx, %rdx
	je	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdi, %r12
	callq	_memcpy
	movq	-48(%rbp), %rax
	leaq	(%r12,%rax,4), %r12
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r12
	jmp	LBB0_17
LBB0_32:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_34:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_35:
	xorl	%r15d, %r15d
LBB0_36:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_CryptMemFree
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rdi)
	movl	$1, (%rdi)
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 8(%rdi)
	addq	$96, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p, %p, %08x, %d, %p, %p)\n"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_ERROR_MORE_DATA,4,2            ## @ERROR_MORE_DATA
	.comm	_FALSE,8,3                      ## @FALSE
	.no_dead_strip	_CRYPT_SerializeStoreElement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_SerializeStoreElement
_CRYPT_SerializeStoreElement:           ; @CRYPT_SerializeStoreElement
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x23, x6
	mov	x24, x4
	mov	x20, x3
	mov	x26, x2
	mov	x21, x1
	mov	x25, x0
	ldr	x27, [x29, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	x5, x7
	mov	x6, x27
	bl	_TRACE
	cbz	x25, LBB0_10
; %bb.1:
	stp	x26, x21, [sp, #8]              ; 16-byte Folded Spill
	mov	x28, #0
	add	x21, x26, #24
Lloh2:
	adrp	x22, _TRUE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	x26, [x22]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [sp, #24]
	ldr	x8, [x24, #8]
	add	x3, sp, #24
	mov	x0, x25
	mov	x1, x28
	mov	x2, #0
	blr	x8
	mov	x26, x0
	ldr	x8, [sp, #24]
	add	x8, x8, #24
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	add	x21, x8, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x26, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	mov	x0, x25
	mov	x1, x28
	blr	x8
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x0
	cbz	x23, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
	bl	_IS_CERT_HASH_PROP_ID
	cbnz	w0, LBB0_3
	b	LBB0_2
LBB0_7:
	cbz	x19, LBB0_11
; %bb.8:
	ldr	x8, [x27]
	cmp	x8, x21
	b.ge	LBB0_12
; %bb.9:
	str	x21, [x27]
Lloh4:
	adrp	x8, _ERROR_MORE_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR_MORE_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_SetLastError
LBB0_10:
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	x26, [x8]
	b	LBB0_30
LBB0_11:
	str	x21, [x27]
	ldr	x26, [x22]
	b	LBB0_30
LBB0_12:
	mov	x28, #0
	mov	x21, #0
	mov	x27, #0
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	mov	x22, x20
	mov	x20, x8
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x26, #0
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	cbz	x26, LBB0_29
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	mov	x0, x25
	mov	x1, x28
	blr	x8
	cbz	x0, LBB0_29
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x28, x0
	cbz	x23, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x28
	bl	_IS_CERT_HASH_PROP_ID
	cbnz	w0, LBB0_14
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	str	xzr, [sp, #24]
	ldr	x8, [x24, #8]
	add	x3, sp, #24
	mov	x0, x25
	mov	x1, x28
	mov	x2, #0
	blr	x8
	cbz	x0, LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x1, [sp, #24]
	cmp	x21, x1
	b.ge	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	x27, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x27
	bl	_CryptMemRealloc
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x1
	bl	_CryptMemAlloc
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x27, x0
	ldr	x21, [sp, #24]
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
	cbz	x27, LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x24, #8]
	add	x3, sp, #24
	mov	x0, x25
	mov	x1, x28
	mov	x2, x27
	blr	x8
	mov	x26, x0
	cbz	x0, LBB0_14
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w8, #1
	str	w8, [x19]
	ldr	x2, [sp, #24]
	stp	x2, x28, [x19, #8]
	add	x19, x19, #96
	cbz	x2, LBB0_14
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	x1, x27
	bl	_memcpy
	ldr	x8, [sp, #24]
	add	x19, x19, x8, lsl #2
	b	LBB0_14
LBB0_28:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x26, [x20]
	b	LBB0_14
LBB0_29:
	mov	x0, x27
	bl	_CryptMemFree
	mov	w8, #1
	str	w8, [x19]
	ldp	x2, x1, [sp, #8]                ; 16-byte Folded Reload
	stp	x2, x22, [x19, #8]
	add	x0, x19, #96
	bl	_memcpy
LBB0_30:
	mov	x0, x26
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p, %p, %08x, %d, %p, %p)\n"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_ERROR_MORE_DATA,4,2            ; @ERROR_MORE_DATA
	.comm	_FALSE,8,3                      ; @FALSE
	.no_dead_strip	_CRYPT_SerializeStoreElement
.subsections_via_symbols
