	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CDecodeSignedMsg_VerifySignature
_CDecodeSignedMsg_VerifySignature:      ## @CDecodeSignedMsg_VerifySignature
	.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
	cmpl	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rcx
	movq	%rdi, %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CDecodeSignedMsg_VerifySignatureWithKey ## TAILCALL
LBB0_1:
	movq	_NTE_BAD_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_14
LBB0_5:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.6:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	8(%rcx), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	addq	$4, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %r13d
	xorl	%ebx, %ebx
	movq	_CERT_ID_ISSUER_SERIAL_NUMBER@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_FIXME
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r15), %rax
	addq	$16, %r13
	cmpq	(%rax), %rbx
	jae	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %r14
	movq	-8(%r14,%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_X509_ASN_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r14,%r13), %rsi
	addq	$4, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_CertCompareCertificateName
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	%r13, %r14
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_CertCompareIntegerBlob
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_13:
	movq	_CRYPT_E_SIGNER_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_NTE_BAD_SIGNATURE,4,2          ## @NTE_BAD_SIGNATURE
	.comm	_CERT_ID_ISSUER_SERIAL_NUMBER,8,3 ## @CERT_ID_ISSUER_SERIAL_NUMBER
	.comm	_X509_ASN_ENCODING,4,2          ## @X509_ASN_ENCODING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"signer %d: unimplemented for key id\n"

	.comm	_CRYPT_E_SIGNER_NOT_FOUND,4,2   ## @CRYPT_E_SIGNER_NOT_FOUND
	.no_dead_strip	_CDecodeSignedMsg_VerifySignature
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CDecodeSignedMsg_VerifySignature
_CDecodeSignedMsg_VerifySignature:      ; @CDecodeSignedMsg_VerifySignature
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x21, #0
LBB0_3:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	mov	x3, x19
	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
	b	_CDecodeSignedMsg_VerifySignatureWithKey
LBB0_4:
Lloh3:
	adrp	x8, _NTE_BAD_SIGNATURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NTE_BAD_SIGNATURE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	b	LBB0_13
LBB0_5:
	ldr	x8, [x20]
	ldr	x9, [x8]
	cbz	x9, LBB0_12
; %bb.6:
	mov	x25, #0
	mov	x21, #0
	add	x22, x19, #8
	add	x23, x19, #4
Lloh9:
	adrp	x26, _CERT_ID_ISSUER_SERIAL_NUMBER@GOTPAGE
Lloh10:
	ldr	x26, [x26, _CERT_ID_ISSUER_SERIAL_NUMBER@GOTPAGEOFF]
Lloh11:
	adrp	x27, _X509_ASN_ENCODING@GOTPAGE
Lloh12:
	ldr	x27, [x27, _X509_ASN_ENCODING@GOTPAGEOFF]
Lloh13:
	adrp	x24, l_.str@PAGE
Lloh14:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	mov	x1, x21
	bl	_FIXME
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	ldr	x9, [x8]
	add	x25, x25, #16
	cmp	x21, x9
	b.hs	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	x9, [x8, x25]
	ldr	x10, [x26]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x27]
	add	x28, x8, x25
	add	x1, x28, #12
	mov	x2, x22
	bl	_CertCompareCertificateName
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x28, #8
	mov	x1, x23
	bl	_CertCompareIntegerBlob
	cbz	x0, LBB0_8
	b	LBB0_3
LBB0_12:
Lloh15:
	adrp	x8, _CRYPT_E_SIGNER_NOT_FOUND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CRYPT_E_SIGNER_NOT_FOUND@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_SetLastError
	mov	x0, #0
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_NTE_BAD_SIGNATURE,4,2          ; @NTE_BAD_SIGNATURE
	.comm	_CERT_ID_ISSUER_SERIAL_NUMBER,8,3 ; @CERT_ID_ISSUER_SERIAL_NUMBER
	.comm	_X509_ASN_ENCODING,4,2          ; @X509_ASN_ENCODING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"signer %d: unimplemented for key id\n"

	.comm	_CRYPT_E_SIGNER_NOT_FOUND,4,2   ; @CRYPT_E_SIGNER_NOT_FOUND
	.no_dead_strip	_CDecodeSignedMsg_VerifySignature
.subsections_via_symbols
