	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function certificate_is_anchor
_certificate_is_anchor:                 ## @certificate_is_anchor
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, %r14d
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	__hx509_query_clear
	movq	_HX509_QUERY_MATCH_CERTIFICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	%r15d, %edi
	callq	__hx509_get_cert
	movl	%eax, -48(%rbp)
	leaq	-36(%rbp), %rcx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_hx509_certs_find
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-36(%rbp), %edi
	callq	_hx509_cert_free
LBB0_4:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	sete	%al
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HX509_QUERY_MATCH_CERTIFICATE,4,2 ## @HX509_QUERY_MATCH_CERTIFICATE
	.no_dead_strip	_certificate_is_anchor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function certificate_is_anchor
_certificate_is_anchor:                 ; @certificate_is_anchor
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	bl	__hx509_query_clear
Lloh0:
	adrp	x8, _HX509_QUERY_MATCH_CERTIFICATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HX509_QUERY_MATCH_CERTIFICATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	mov	x0, x21
	bl	__hx509_get_cert
	str	w0, [sp, #8]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x19
	bl	_hx509_certs_find
	mov	x19, x0
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [sp, #4]
	bl	_hx509_cert_free
LBB0_3:
	cmp	w19, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HX509_QUERY_MATCH_CERTIFICATE,4,2 ; @HX509_QUERY_MATCH_CERTIFICATE
	.no_dead_strip	_certificate_is_anchor
.subsections_via_symbols
