	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_IsValidSigner
_CRYPT_IsValidSigner:                   ## @CRYPT_IsValidSigner
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$4, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$48, %eax
	jne	LBB0_2
## %bb.8:
	movl	24(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_13
## %bb.9:
	cmpl	$128, %eax
	je	LBB0_15
## %bb.10:
	testl	%eax, %eax
	jne	LBB0_16
## %bb.11:
	movq	40(%rbx), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_2
## %bb.12:
	cmpl	$0, (%rax)
	jne	LBB0_17
	jmp	LBB0_2
LBB0_3:
	movq	40(%rbx), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_2
## %bb.4:
	cmpl	$0, (%rax)
	jne	LBB0_5
	jmp	LBB0_2
LBB0_13:
	cmpl	$0, 36(%rbx)
	je	LBB0_2
## %bb.14:
	cmpl	$0, 32(%rbx)
	jne	LBB0_17
	jmp	LBB0_2
LBB0_15:
	cmpl	$0, 28(%rbx)
	je	LBB0_2
LBB0_17:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
LBB0_18:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	jmp	LBB0_21
LBB0_16:
	movq	_E_INVALIDARG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	cmpq	$0, 16(%rbx)
	jne	LBB0_18
LBB0_5:
	cmpl	$0, 8(%rbx)
	je	LBB0_2
## %bb.6:
	movl	4(%rbx), %edi
	callq	_CertOIDToAlgId
	testl	%eax, %eax
	je	LBB0_19
## %bb.7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_2:
	movq	_E_INVALIDARG@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %edi
	callq	_SetLastError
LBB0_21:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_19:
	movq	_CRYPT_E_UNKNOWN_ALGO@GOTPCREL(%rip), %rax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_E_INVALIDARG,4,2               ## @E_INVALIDARG
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CMSG_SIGNER_ENCODE_INFO with CMS fields unsupported\n"

	.comm	_CRYPT_E_UNKNOWN_ALGO,4,2       ## @CRYPT_E_UNKNOWN_ALGO
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_CRYPT_IsValidSigner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_IsValidSigner
_CRYPT_IsValidSigner:                   ; @CRYPT_IsValidSigner
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #4
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #48
	b.ne	LBB0_18
; %bb.2:
	ldr	w8, [x19, #24]
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #128
	b.eq	LBB0_11
; %bb.4:
	cbnz	w8, LBB0_14
; %bb.5:
	ldr	x8, [x19, #40]
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_18
; %bb.6:
	ldr	w8, [x8]
	cbnz	w8, LBB0_12
	b	LBB0_18
LBB0_7:
	ldr	x8, [x19, #40]
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_18
; %bb.8:
	ldr	w8, [x8]
	cbnz	w8, LBB0_15
	b	LBB0_18
LBB0_9:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_18
; %bb.10:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_12
	b	LBB0_18
LBB0_11:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_18
LBB0_12:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_15
LBB0_13:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
	b	LBB0_20
LBB0_14:
Lloh2:
	adrp	x8, _E_INVALIDARG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_SetLastError
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_13
LBB0_15:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_18
; %bb.16:
	ldr	w0, [x19, #4]
	bl	_CertOIDToAlgId
	cbz	w0, LBB0_22
; %bb.17:
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_21
LBB0_18:
Lloh7:
	adrp	x8, _E_INVALIDARG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	bl	_SetLastError
LBB0_20:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh11:
	adrp	x8, _CRYPT_E_UNKNOWN_ALGO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CRYPT_E_UNKNOWN_ALGO@GOTPAGEOFF]
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_E_INVALIDARG,4,2               ; @E_INVALIDARG
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CMSG_SIGNER_ENCODE_INFO with CMS fields unsupported\n"

	.comm	_CRYPT_E_UNKNOWN_ALGO,4,2       ; @CRYPT_E_UNKNOWN_ALGO
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_CRYPT_IsValidSigner
.subsections_via_symbols
