	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_FormatCPS
_CRYPT_FormatCPS:                       ## @CRYPT_FormatCPS
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r13
	movl	%esi, %r12d
	movq	_X509_UNICODE_ANY_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CRYPT_DECODE_ALLOC_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-64(%rbp), %rax
	leaq	-56(%rbp), %r10
	xorl	%ebx, %ebx
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	callq	_CryptDecodeObjectEx
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_20
## %bb.1:
	movl	%eax, %r15d
	movq	_CRYPT_FORMAT_STR_MULTI_LINE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	andl	%r12d, %eax
	jne	LBB0_2
## %bb.3:
	movq	_commaSep@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_crlf@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	callq	_lstrlenW
	testl	%r12d, (%rbx)
	je	LBB0_5
## %bb.6:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_indent@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,2), %ebx
	incl	%ebx
	testq	%r13, %r13
	je	LBB0_7
## %bb.9:
	leal	(%rax,%rax,2), %ecx
	movl	(%r14), %edx
	cmpl	%ecx, %edx
	jle	LBB0_10
## %bb.11:
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_lstrcpyW
	movl	(%r12), %edi
	callq	_lstrlenW
	cltq
	leaq	(%r13,%rax,4), %r13
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_lstrcpyW
	movl	(%r12), %edi
	callq	_lstrlenW
	cltq
	leaq	(%r13,%rax,4), %r13
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_lstrcpyW
	movl	(%r12), %edi
	callq	_lstrlenW
	cltq
	leaq	(%r13,%rax,4), %r13
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_12
LBB0_5:
	movl	$1, %ebx
LBB0_12:
	movq	-56(%rbp), %rdi
	movl	(%rdi), %r12d
	sarl	$2, %r12d
	addl	%ebx, %r12d
	testq	%r13, %r13
	je	LBB0_8
## %bb.13:
	movl	(%r14), %edx
	cmpl	%r12d, %edx
	jl	LBB0_16
LBB0_15:
	movl	8(%rdi), %esi
	movq	%r13, %rdi
	movl	%eax, %ebx
	callq	_lstrcpyW
	movl	%ebx, %eax
	movq	-56(%rbp), %rdi
	movslq	(%rdi), %rcx
	andq	$-4, %rcx
	addq	%rcx, %r13
	movl	(%r14), %edx
LBB0_16:
	addl	%eax, %r12d
	cmpl	%r12d, %edx
	jl	LBB0_18
## %bb.17:
	movq	%r13, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_lstrcpyW
	movq	-56(%rbp), %rdi
LBB0_18:
	callq	_LocalFree
	movl	%r15d, %ebx
	cmpl	%r12d, (%r14)
	movl	%r12d, (%r14)
	jge	LBB0_20
## %bb.19:
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_20
LBB0_7:
	movq	-56(%rbp), %rdi
	movl	(%rdi), %r12d
	sarl	$2, %r12d
	addl	%ebx, %r12d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_8:
	addl	%eax, %r12d
	callq	_LocalFree
	movl	%r12d, (%r14)
	movl	%r15d, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-56(%rbp), %rdi
	movl	(%rdi), %r12d
	sarl	$2, %r12d
	addl	%ebx, %r12d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%r12d, %edx
	jge	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_UNICODE_ANY_STRING,4,2    ## @X509_UNICODE_ANY_STRING
	.comm	_CRYPT_DECODE_ALLOC_FLAG,4,2    ## @CRYPT_DECODE_ALLOC_FLAG
	.comm	_CRYPT_FORMAT_STR_MULTI_LINE,4,2 ## @CRYPT_FORMAT_STR_MULTI_LINE
	.comm	_crlf,4,2                       ## @crlf
	.comm	_commaSep,4,2                   ## @commaSep
	.comm	_indent,4,2                     ## @indent
	.comm	_ERROR_MORE_DATA,4,2            ## @ERROR_MORE_DATA
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_CRYPT_FormatCPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_FormatCPS
_CRYPT_FormatCPS:                       ; @CRYPT_FormatCPS
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x5
	mov	x21, x4
	mov	x24, x1
Lloh0:
	adrp	x8, _X509_UNICODE_ANY_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_UNICODE_ANY_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CRYPT_DECODE_ALLOC_FLAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPT_DECODE_ALLOC_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x6, sp
	add	x7, sp, #12
	mov	x5, #0
	bl	_CryptDecodeObjectEx
	mov	x20, x0
	cbz	w0, LBB0_15
; %bb.1:
Lloh6:
	adrp	x25, _CRYPT_FORMAT_STR_MULTI_LINE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CRYPT_FORMAT_STR_MULTI_LINE@GOTPAGEOFF]
Lloh8:
	adrp	x8, _commaSep@GOTPAGE
Lloh9:
	ldr	x8, [x8, _commaSep@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh10:
	adrp	x10, _crlf@GOTPAGE
Lloh11:
	ldr	x10, [x10, _crlf@GOTPAGEOFF]
	tst	w9, w24
	csel	x8, x8, x10, eq
	ldr	w23, [x8]
	mov	x0, x23
	bl	_lstrlenW
	mov	x22, x0
	ldr	w8, [x25]
	tst	w8, w24
	b.eq	LBB0_5
; %bb.2:
Lloh12:
	adrp	x25, _indent@GOTPAGE
Lloh13:
	ldr	x25, [x25, _indent@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_lstrlenW
	add	w9, w0, w0, lsl #1
	add	w24, w9, #1
	cbz	x21, LBB0_13
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, w9
	b.le	LBB0_16
; %bb.4:
	ldr	w1, [x25]
	mov	x0, x21
	bl	_lstrcpyW
	ldr	w0, [x25]
	bl	_lstrlenW
	add	x21, x21, w0, sxtw #2
	ldr	w1, [x25]
	mov	x0, x21
	bl	_lstrcpyW
	ldr	w0, [x25]
	bl	_lstrlenW
	add	x21, x21, w0, sxtw #2
	ldr	w1, [x25]
	mov	x0, x21
	bl	_lstrcpyW
	ldr	w0, [x25]
	bl	_lstrlenW
	add	x21, x21, w0, sxtw #2
	b	LBB0_6
LBB0_5:
	mov	w24, #1
LBB0_6:
	ldr	x0, [sp]
	ldr	w8, [x0]
	add	w24, w24, w8, asr #2
	cbz	x21, LBB0_14
; %bb.7:
	ldr	w8, [x19]
	cmp	w8, w24
	b.lt	LBB0_9
LBB0_8:
	ldr	w1, [x0, #8]
	mov	x0, x21
	bl	_lstrcpyW
	ldr	x0, [sp]
	ldrsw	x8, [x0]
	and	x8, x8, #0xfffffffffffffffc
	add	x21, x21, x8
	ldr	w8, [x19]
LBB0_9:
	add	w22, w24, w22
	cmp	w8, w22
	b.lt	LBB0_11
; %bb.10:
	mov	x0, x21
	mov	x1, x23
	bl	_lstrcpyW
	ldr	x0, [sp]
LBB0_11:
	bl	_LocalFree
	ldr	w8, [x19]
	str	w22, [x19]
	cmp	w8, w22
	b.ge	LBB0_15
; %bb.12:
Lloh14:
	adrp	x8, _ERROR_MORE_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR_MORE_DATA@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	b	LBB0_15
LBB0_13:
	ldr	x0, [sp]
	ldr	w8, [x0]
	add	w24, w24, w8, asr #2
LBB0_14:
	add	w21, w24, w22
	bl	_LocalFree
	str	w21, [x19]
LBB0_15:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_16:
	ldr	x0, [sp]
	ldr	w9, [x0]
	add	w24, w24, w9, asr #2
	cmp	w8, w24
	b.ge	LBB0_8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_UNICODE_ANY_STRING,4,2    ; @X509_UNICODE_ANY_STRING
	.comm	_CRYPT_DECODE_ALLOC_FLAG,4,2    ; @CRYPT_DECODE_ALLOC_FLAG
	.comm	_CRYPT_FORMAT_STR_MULTI_LINE,4,2 ; @CRYPT_FORMAT_STR_MULTI_LINE
	.comm	_crlf,4,2                       ; @crlf
	.comm	_commaSep,4,2                   ; @commaSep
	.comm	_indent,4,2                     ; @indent
	.comm	_ERROR_MORE_DATA,4,2            ; @ERROR_MORE_DATA
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_CRYPT_FormatCPS
.subsections_via_symbols
