	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshkey_cert_check_authority    ## -- Begin function sshkey_cert_check_authority
	.p2align	4, 0x90
_sshkey_cert_check_authority:           ## @sshkey_cert_check_authority
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	xorl	%edi, %edi
	callq	_time
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movq	$0, (%r13)
LBB0_2:
	movq	(%r15), %rcx
	movq	(%rcx), %rdx
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.3:
	movq	_SSH2_CERT_TYPE_HOST@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %r12
	jmp	LBB0_16
LBB0_5:
	movq	_SSH2_CERT_TYPE_USER@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_14
LBB0_6:
	movl	%r12d, %edx
	leaq	L_.str.2(%rip), %r12
	testq	%rax, %rax
	js	LBB0_16
## %bb.7:
	cmpq	8(%rcx), %rax
	jl	LBB0_16
## %bb.8:
	cmpq	16(%rcx), %rax
	jge	LBB0_15
## %bb.9:
	cmpq	$0, 24(%rcx)
	je	LBB0_18
## %bb.10:
	testq	%r14, %r14
	je	LBB0_21
## %bb.11:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	leaq	L_.str.5(%rip), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rcx), %rax
	movl	(%rax,%r14,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r14
	movq	(%r15), %rcx
	cmpq	24(%rcx), %r14
	jb	LBB0_12
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.3(%rip), %r12
LBB0_16:
	movq	%r12, (%r13)
	movq	_SSH_ERR_KEY_CERT_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	testl	%edx, %edx
	je	LBB0_21
## %bb.19:
	leaq	L_.str.4(%rip), %r12
	jmp	LBB0_16
LBB0_21:
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH2_CERT_TYPE_HOST,8,3        ## @SSH2_CERT_TYPE_HOST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Certificate invalid: not a host certificate"

	.comm	_SSH_ERR_KEY_CERT_INVALID,4,2   ## @SSH_ERR_KEY_CERT_INVALID
	.comm	_SSH2_CERT_TYPE_USER,8,3        ## @SSH2_CERT_TYPE_USER
L_.str.1:                               ## @.str.1
	.asciz	"Certificate invalid: not a user certificate"

L_.str.2:                               ## @.str.2
	.asciz	"Certificate invalid: not yet valid"

L_.str.3:                               ## @.str.3
	.asciz	"Certificate invalid: expired"

L_.str.4:                               ## @.str.4
	.asciz	"Certificate lacks principal list"

L_.str.5:                               ## @.str.5
	.asciz	"Certificate invalid: name is not a listed principal"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshkey_cert_check_authority    ; -- Begin function sshkey_cert_check_authority
	.p2align	2
_sshkey_cert_check_authority:           ; @sshkey_cert_check_authority
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	mov	x0, #0
	bl	_time
	cbz	x19, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	ldr	x8, [x21]
	ldr	x9, [x8]
	cbz	w23, LBB0_5
; %bb.3:
Lloh0:
	adrp	x10, _SSH2_CERT_TYPE_HOST@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SSH2_CERT_TYPE_HOST@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_6
; %bb.4:
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_17
LBB0_5:
Lloh5:
	adrp	x10, _SSH2_CERT_TYPE_USER@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SSH2_CERT_TYPE_USER@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
LBB0_6:
	tbnz	x0, #63, LBB0_8
; %bb.7:
	ldr	x9, [x8, #8]
	cmp	x0, x9
	b.ge	LBB0_10
LBB0_8:
Lloh8:
	adrp	x22, l_.str.2@PAGE
Lloh9:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_9:
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_10:
	ldr	x9, [x8, #16]
	cmp	x0, x9
	b.ge	LBB0_16
; %bb.11:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_19
; %bb.12:
	cbz	x20, LBB0_21
; %bb.13:
	mov	x23, #0
Lloh12:
	adrp	x22, l_.str.5@PAGE
Lloh13:
	add	x22, x22, l_.str.5@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #32]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x23, x23, #1
	ldr	x8, [x21]
	ldr	x9, [x8, #24]
	cmp	x23, x9
	b.lo	LBB0_14
	b	LBB0_17
LBB0_16:
Lloh14:
	adrp	x22, l_.str.3@PAGE
Lloh15:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_17:
	str	x22, [x19]
Lloh16:
	adrp	x8, _SSH_ERR_KEY_CERT_INVALID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSH_ERR_KEY_CERT_INVALID@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
LBB0_18:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_19:
	cbz	w22, LBB0_21
; %bb.20:
Lloh19:
	adrp	x22, l_.str.4@PAGE
Lloh20:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_21:
	mov	w0, #0
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH2_CERT_TYPE_HOST,8,3        ; @SSH2_CERT_TYPE_HOST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Certificate invalid: not a host certificate"

	.comm	_SSH_ERR_KEY_CERT_INVALID,4,2   ; @SSH_ERR_KEY_CERT_INVALID
	.comm	_SSH2_CERT_TYPE_USER,8,3        ; @SSH2_CERT_TYPE_USER
l_.str.1:                               ; @.str.1
	.asciz	"Certificate invalid: not a user certificate"

l_.str.2:                               ; @.str.2
	.asciz	"Certificate invalid: not yet valid"

l_.str.3:                               ; @.str.3
	.asciz	"Certificate invalid: expired"

l_.str.4:                               ; @.str.4
	.asciz	"Certificate lacks principal list"

l_.str.5:                               ; @.str.5
	.asciz	"Certificate invalid: name is not a listed principal"

.subsections_via_symbols
