	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_check_krl
_do_check_krl:                          ## @do_check_krl
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	_identity_file@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	cmpb	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movq	(%rbx), %rdi
LBB0_2:
	leaq	-56(%rbp), %rsi
	callq	_load_krl
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.3:
	movl	%r15d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %r13
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_ssh_krl_check_key
	movq	(%r14,%r12,8), %rsi
	movq	-64(%rbp), %rcx
	cmpb	$0, (%rcx)
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%r13, %rdx
	leaq	L_.str.5(%rip), %r8
	cmoveq	%r13, %r8
	testl	%eax, %eax
	leaq	L_.str.7(%rip), %r9
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rax, %r9
	movl	$1, %eax
	cmovnel	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movq	-48(%rbp), %rdi
	callq	_sshkey_free
	movq	-64(%rbp), %rdi
	callq	_free
	incq	%r12
	cmpq	%r12, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%r12,8), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_sshkey_load_public
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14,%r12,8), %r15
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_6
LBB0_7:
	movq	-56(%rbp), %rdi
	callq	_ssh_krl_free
	movl	%ebx, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_identity_file,8,3              ## @identity_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KRL checking requires an input file"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot load public key %s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s%s%s%s: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	" ("

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	")"

L_.str.6:                               ## @.str.6
	.asciz	"ok"

L_.str.7:                               ## @.str.7
	.asciz	"REVOKED"

	.no_dead_strip	_do_check_krl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_check_krl
_do_check_krl:                          ; @do_check_krl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x20, _identity_file@GOTPAGE
Lloh1:
	ldr	x20, [x20, _identity_file@GOTPAGEOFF]
	ldr	x0, [x20]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
	ldr	x0, [x20]
LBB0_2:
	add	x1, sp, #32
	bl	_load_krl
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.3:
	mov	w20, #0
	mov	w23, w21
Lloh4:
	adrp	x24, l_.str.3@PAGE
Lloh5:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh6:
	adrp	x25, l_.str.4@PAGE
Lloh7:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh8:
	adrp	x26, l_.str.5@PAGE
Lloh9:
	add	x26, x26, l_.str.5@PAGEOFF
Lloh10:
	adrp	x27, l_.str.7@PAGE
Lloh11:
	add	x27, x27, l_.str.7@PAGEOFF
Lloh12:
	adrp	x28, l_.str.6@PAGE
Lloh13:
	add	x28, x28, l_.str.6@PAGEOFF
Lloh14:
	adrp	x21, l_.str.2@PAGE
Lloh15:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x1, x0, [sp, #24]
	bl	_ssh_krl_check_key
	ldr	x1, [x19], #8
	ldr	x3, [sp, #40]
	ldrb	w8, [x3]
	cmp	w8, #0
	csel	x2, x25, x24, eq
	csel	x4, x25, x26, eq
	cmp	w0, #0
	csel	x5, x28, x27, eq
	csinc	w20, w20, wzr, eq
	mov	x0, x21
	bl	_printf
	ldr	x0, [sp, #24]
	bl	_sshkey_free
	ldr	x0, [sp, #40]
	bl	_free
	subs	x23, x23, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	add	x1, sp, #24
	add	x2, sp, #40
	bl	_sshkey_load_public
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x19]
	bl	_ssh_err
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
	b	LBB0_4
LBB0_7:
	mov	w20, #0
LBB0_8:
	ldr	x0, [sp, #32]
	bl	_ssh_krl_free
	mov	x0, x20
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_identity_file,8,3              ; @identity_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KRL checking requires an input file"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot load public key %s: %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s%s%s%s: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	" ("

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	")"

l_.str.6:                               ; @.str.6
	.asciz	"ok"

l_.str.7:                               ; @.str.7
	.asciz	"REVOKED"

	.no_dead_strip	_do_check_krl
.subsections_via_symbols
