	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_key_allowed               ## -- Begin function user_key_allowed
	.p2align	4, 0x90
_user_key_allowed:                      ## @user_key_allowed
	.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	%r8, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
LBB0_2:
	movq	%r13, %rdi
	callq	_auth_key_is_revoked
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	movq	%r13, %rdi
	callq	_sshkey_is_cert
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_auth_key_is_revoked
	testq	%rax, %rax
	jne	LBB0_12
LBB0_5:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_user_cert_trusted_ca
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdi
	callq	_sshauthopt_free
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_user_key_command_allowed2
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_13
LBB0_7:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.8:
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rax
	movq	%rax, (%rcx)
	movq	$0, -48(%rbp)
	xorl	%edi, %edi
	jmp	LBB0_11
LBB0_13:
	movq	-48(%rbp), %rdi
	callq	_sshauthopt_free
	movq	$0, -48(%rbp)
	movq	_options@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_19
## %bb.14:
	movl	$1, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	xorl	%r14d, %r14d
	testq	%r14, %r14
	jne	LBB0_7
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	1(%r15), %rax
	movq	_options@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r15
	movq	%rax, %r15
	jae	LBB0_7
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	-4(%rax,%r15,4), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rbx), %rax
	movl	-4(%rax,%r15,4), %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_expand_authorized_keys
	movq	%rax, %r12
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%rax, %rcx
	leaq	-48(%rbp), %r8
	callq	_user_key_allowed2
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_free
	testq	%r14, %r14
	je	LBB0_18
	jmp	LBB0_7
LBB0_19:
	xorl	%r14d, %r14d
LBB0_10:
	movq	-48(%rbp), %rdi
LBB0_11:
	callq	_sshauthopt_free
LBB0_12:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_options,16,3                   ## @options
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"none"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_key_allowed               ; -- Begin function user_key_allowed
	.p2align	2
_user_key_allowed:                      ; @user_key_allowed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [sp, #8]
	cbz	x4, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	mov	x0, x20
	bl	_auth_key_is_revoked
	cbz	x0, LBB0_4
LBB0_3:
	mov	w23, #0
	b	LBB0_20
LBB0_4:
	mov	x0, x20
	bl	_sshkey_is_cert
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_auth_key_is_revoked
	cbnz	x0, LBB0_3
LBB0_6:
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_user_cert_trusted_ca
	mov	x23, x0
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	x0, [sp, #8]
	bl	_sshauthopt_free
	str	xzr, [sp, #8]
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_user_key_command_allowed2
	mov	x23, x0
	cbz	x0, LBB0_11
LBB0_8:
	cbz	x19, LBB0_18
; %bb.9:
	cbz	x23, LBB0_18
; %bb.10:
	mov	x0, #0
	ldr	x8, [sp, #8]
	str	x8, [x19]
	str	xzr, [sp, #8]
	b	LBB0_19
LBB0_11:
	ldr	x0, [sp, #8]
	bl	_sshauthopt_free
	str	xzr, [sp, #8]
Lloh0:
	adrp	x26, _options@GOTPAGE
Lloh1:
	ldr	x26, [x26, _options@GOTPAGEOFF]
	ldr	x8, [x26]
	cbz	x8, LBB0_17
; %bb.12:
	mov	x27, #0
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, #0
	cbnz	x23, LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x27, x27, #1
	ldr	x8, [x26]
	cmp	x27, x8
	b.hs	LBB0_8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #8]
	ldr	w0, [x8, x27, lsl #2]
	mov	x1, x24
	bl	_strcasecmp
	cbz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x26, #8]
	ldr	w0, [x8, x27, lsl #2]
	mov	x1, x21
	bl	_expand_authorized_keys
	mov	x25, x0
	add	x4, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x25
	bl	_user_key_allowed2
	mov	x23, x0
	mov	x0, x25
	bl	_free
	cbz	x23, LBB0_14
	b	LBB0_8
LBB0_17:
	mov	x23, #0
LBB0_18:
	ldr	x0, [sp, #8]
LBB0_19:
	bl	_sshauthopt_free
LBB0_20:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_options,16,3                   ; @options
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"none"

.subsections_via_symbols
