	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdssl_certs_ok                 ## -- Begin function rdssl_certs_ok
	.p2align	4, 0x90
_rdssl_certs_ok:                        ## @rdssl_certs_ok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_CERT_STORE_SIGNATURE_FLAG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	leaq	-8(%rbp), %rdx
	callq	_CertVerifySubjectCertificateContext
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_error
LBB0_2:
	movq	-8(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	xorl	%eax, %eax
	cmpq	$0, -8(%rbp)
	sete	%al
	jmp	LBB0_5
LBB0_3:
	movl	$1, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CERT_STORE_SIGNATURE_FLAG,8,3  ## @CERT_STORE_SIGNATURE_FLAG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CertVerifySubjectCertificateContext call failed with %lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"CertVerifySubjectCertificateContext check failed %lx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdssl_certs_ok                 ; -- Begin function rdssl_certs_ok
	.p2align	2
_rdssl_certs_ok:                        ; @rdssl_certs_ok
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _CERT_STORE_SIGNATURE_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CERT_STORE_SIGNATURE_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	add	x2, sp, #8
	bl	_CertVerifySubjectCertificateContext
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_4
LBB0_2:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_5
LBB0_3:
	bl	_GetLastError
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	ldr	x1, [sp, #8]
	cbnz	x1, LBB0_2
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CERT_STORE_SIGNATURE_FLAG,8,3  ; @CERT_STORE_SIGNATURE_FLAG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CertVerifySubjectCertificateContext call failed with %lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"CertVerifySubjectCertificateContext check failed %lx\n"

.subsections_via_symbols
