	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_GetNextValueW
_CRYPT_GetNextValueW:                   ## @CRYPT_GetNextValueW
	.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	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -1080(%rbp)                ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movl	%esi, -1092(%rbp)               ## 4-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	callq	_debugstr_w
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	-1080(%rbp), %rcx               ## 8-byte Reload
	movq	%r15, %r13
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_TRACE
	movl	$0, (%r12)
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isspaceW
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_debugstr_w
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	movq	%rbx, (%r13)
LBB0_6:
	movq	_CRYPT_E_INVALID_X500_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_33:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_35
## %bb.34:
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.8:
	movq	-1080(%rbp), %r15               ## 8-byte Reload
	movq	%rbx, (%r15)
	movq	_CERT_NAME_STR_NO_QUOTING_FLAG@GOTPCREL(%rip), %rax
	movl	-1092(%rbp), %ecx               ## 4-byte Reload
	testl	%ecx, (%rax)
	jne	LBB0_23
## %bb.9:
	cmpb	$34, (%rbx)
	jne	LBB0_23
## %bb.10:
	movq	$0, 8(%r15)
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	incq	%rbx
	movq	_CRYPT_E_INVALID_X500_STRING@GOTPCREL(%rip), %r12
	movq	_FALSE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movzbl	-1(%rbx), %ecx
	testb	%cl, %cl
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$34, %cl
	jne	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$34, (%rbx)
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	xorl	%ecx, %ecx
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	decq	%rbx
	movq	%rbx, %rdi
	callq	_debugstr_w
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	testq	%r13, %r13
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, (%r13)
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r12), %edi
	callq	_SetLastError
	movq	(%r14), %rax
	movq	8(%r15), %rcx
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	testq	%rcx, %rcx
	jne	LBB0_33
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=1
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_33
LBB0_23:
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	___bzero
	movb	(%r14), %al
	testb	%al, %al
	je	LBB0_26
## %bb.24:
	incq	%r14
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movsbq	%al, %rax
	movl	$1, -1072(%rbp,%rax,4)
	movzbl	(%r14), %eax
	incq	%r14
	testb	%al, %al
	jne	LBB0_25
LBB0_26:
	movb	(%rbx), %cl
	testb	%cl, %cl
	je	LBB0_27
## %bb.28:
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	movq	-1080(%rbp), %rdx               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movsbq	%cl, %rcx
	cmpl	$0, -1072(%rbp,%rcx,4)
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movzbl	1(%rbx), %ecx
	incq	%rbx
	testb	%cl, %cl
	jne	LBB0_29
	jmp	LBB0_31
LBB0_27:
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	movq	-1080(%rbp), %rdx               ## 8-byte Reload
LBB0_31:
	movq	%rbx, 8(%rdx)
	movsbq	(%rbx), %rcx
	cmpl	$0, -1072(%rbp,%rcx,4)
	je	LBB0_33
## %bb.32:
	movl	%ecx, (%r12)
	jmp	LBB0_33
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_16:
	movq	%rbx, 8(%r15)
	jmp	LBB0_33
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%s, %s, %p, %p)\n"

	.comm	_CERT_NAME_STR_NO_QUOTING_FLAG,4,2 ## @CERT_NAME_STR_NO_QUOTING_FLAG
L_.str.1:                               ## @.str.1
	.asciz	"unterminated quote at %s\n"

	.comm	_CRYPT_E_INVALID_X500_STRING,4,2 ## @CRYPT_E_INVALID_X500_STRING
	.comm	_FALSE,8,3                      ## @FALSE
L_.str.2:                               ## @.str.2
	.asciz	"missing value at %s\n"

	.no_dead_strip	_CRYPT_GetNextValueW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_GetNextValueW
_CRYPT_GetNextValueW:                   ; @CRYPT_GetNextValueW
	.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, #1056
	mov	x21, x5
	mov	x19, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x22, x0
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, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	bl	_debugstr_w
	mov	x26, x0
	mov	x0, x24
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x21, [sp, #8]
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x26
	bl	_TRACE
	str	wzr, [x23]
	ldrb	w8, [x22]
	cbz	w8, LBB0_18
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isspaceW
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x22, #1]!
	cbnz	w8, LBB0_1
	b	LBB0_18
LBB0_3:
	ldrb	w8, [x22]
	cbz	w8, LBB0_18
; %bb.4:
	str	x22, [x19]
Lloh8:
	adrp	x8, _CERT_NAME_STR_NO_QUOTING_FLAG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CERT_NAME_STR_NO_QUOTING_FLAG@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w25
	b.ne	LBB0_23
; %bb.5:
	ldrb	w8, [x22]
	cmp	w8, #34
	b.ne	LBB0_23
; %bb.6:
	str	xzr, [x19, #8]
	cbz	x20, LBB0_21
; %bb.7:
	add	x23, x22, #1
Lloh11:
	adrp	x24, _CRYPT_E_INVALID_X500_STRING@GOTPAGE
Lloh12:
	ldr	x24, [x24, _CRYPT_E_INVALID_X500_STRING@GOTPAGEOFF]
Lloh13:
	adrp	x25, _FALSE@GOTPAGE
Lloh14:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
Lloh15:
	adrp	x22, l_.str.1@PAGE
Lloh16:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x8, x23, #1
	ldurb	w9, [x8, #-1]
	cbz	w9, LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, #34
	b.eq	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x8, #1
	ldurb	w9, [x8, #-1]
	cbnz	w9, LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x23, x8, #1
	mov	x0, x23
	bl	_debugstr_w
	mov	x1, x0
	mov	x0, x22
	bl	_TRACE
	cbz	x21, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	str	x23, [x21]
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x24]
	bl	_SetLastError
	ldr	x20, [x25]
	ldr	x9, [x19, #8]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #34
	b.ne	LBB0_32
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, #0
	add	x23, x8, #1
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x9, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x20, LBB0_8
	b	LBB0_21
LBB0_18:
	mov	x0, x22
	bl	_debugstr_w
	mov	x1, x0
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	cbz	x21, LBB0_20
; %bb.19:
	str	x22, [x21]
LBB0_20:
Lloh19:
	adrp	x8, _CRYPT_E_INVALID_X500_STRING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CRYPT_E_INVALID_X500_STRING@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh24:
	ldr	x20, [x8]
LBB0_21:
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.22:
	mov	x0, x20
	add	sp, sp, #1056
	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_23:
	add	x21, sp, #24
	add	x0, sp, #24
	mov	w1, #1024
	bl	_bzero
	ldrb	w8, [x24]
	cbz	w8, LBB0_26
; %bb.24:
	add	x9, x24, #1
	mov	w10, #1
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	sxtb	x8, w8
	str	w10, [x21, x8, lsl #2]
	ldrb	w8, [x9], #1
	cbnz	w8, LBB0_25
LBB0_26:
	ldrb	w9, [x22]
	cbz	w9, LBB0_30
; %bb.27:
	add	x8, sp, #24
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	sxtb	x9, w9
	ldr	w9, [x8, x9, lsl #2]
	cbnz	w9, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldrb	w9, [x22, #1]!
	cbnz	w9, LBB0_28
LBB0_30:
	str	x22, [x19, #8]
	ldrsb	x8, [x22]
	add	x9, sp, #24
	ldr	w9, [x9, x8, lsl #2]
	cbz	w9, LBB0_21
; %bb.31:
	str	w8, [x23]
	b	LBB0_21
LBB0_32:
	str	x8, [x19, #8]
	b	LBB0_21
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%s, %s, %p, %p)\n"

	.comm	_CERT_NAME_STR_NO_QUOTING_FLAG,4,2 ; @CERT_NAME_STR_NO_QUOTING_FLAG
l_.str.1:                               ; @.str.1
	.asciz	"unterminated quote at %s\n"

	.comm	_CRYPT_E_INVALID_X500_STRING,4,2 ; @CRYPT_E_INVALID_X500_STRING
	.comm	_FALSE,8,3                      ; @FALSE
l_.str.2:                               ; @.str.2
	.asciz	"missing value at %s\n"

	.no_dead_strip	_CRYPT_GetNextValueW
.subsections_via_symbols
