	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_authorise_keyopts         ## -- Begin function auth_authorise_keyopts
	.p2align	4, 0x90
_auth_authorise_keyopts:                ## @auth_authorise_keyopts
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_ssh_remote_ipaddr
	movq	%rax, %r13
	movq	_options@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_auth_get_canonical_hostname
	movq	%rax, %rbx
	xorl	%edi, %edi
	callq	_time
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	testq	%rax, %rax
	jle	LBB0_6
## %bb.2:
	cmpq	%rax, %rdi
	jge	LBB0_6
## %bb.3:
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rsi
	movl	$64, %edx
	callq	_format_absolute_time
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_debug
	movq	%r14, %rdi
LBB0_4:
	movq	%r12, %rsi
	movq	%rbx, %rdx
LBB0_5:
	xorl	%eax, %eax
	callq	_auth_debug_add
	jmp	LBB0_20
LBB0_6:
	cmpq	$0, 32(%r14)
	je	LBB0_8
## %bb.7:
	cmpq	$0, 24(%r14)
	je	LBB0_18
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_16
LBB0_9:
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_match_host_and_ip
	testl	%eax, %eax
	je	LBB0_24
## %bb.11:
	cmpl	$1, %eax
	jne	LBB0_23
LBB0_12:
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.13:
	movq	%r13, %rdi
	callq	_addr_match_cidr_list
	testl	%eax, %eax
	je	LBB0_26
## %bb.14:
	cmpl	$1, %eax
	jne	LBB0_25
LBB0_15:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_auth_log_authopts
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_16:
	cmpq	$0, 24(%r14)
	je	LBB0_9
## %bb.17:
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.1(%rip), %rbx
LBB0_19:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_debug
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_auth_debug_add
LBB0_20:
	movl	$-1, %eax
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.22:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str.3(%rip), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_debug
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_auth_debug_add
LBB0_24:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	movq	16(%r14), %r9
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_logit
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_4
LBB0_25:
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	callq	_error
LBB0_26:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_logit
	leaq	L_.str.8(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	jmp	LBB0_5
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_options,4,2                    ## @options
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: entry expired at %s"

L_.str.1:                               ## @.str.1
	.asciz	"%s: principals on non-CA key"

L_.str.2:                               ## @.str.2
	.asciz	"%s: cert-authority flag invalid here"

L_.str.3:                               ## @.str.3
	.asciz	"%s: invalid from criteria"

L_.str.4:                               ## @.str.4
	.asciz	"%s: Authentication tried for %.100s with correct key but not from a permitted host (host=%.200s, ip=%.200s, required=%.200s)."

L_.str.5:                               ## @.str.5
	.asciz	"%s: Your host '%.200s' is not permitted to use this key for login."

L_.str.6:                               ## @.str.6
	.asciz	"%s: Certificate source-address invalid"

L_.str.7:                               ## @.str.7
	.asciz	"%s: Authentication tried for %.100s with valid certificate but not from a permitted source address (%.200s)."

L_.str.8:                               ## @.str.8
	.asciz	"%s: Your address '%.200s' is not permitted to use this certificate for login."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_authorise_keyopts         ; -- Begin function auth_authorise_keyopts
	.p2align	2
_auth_authorise_keyopts:                ; @auth_authorise_keyopts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x24, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_ssh_remote_ipaddr
	mov	x20, x0
Lloh3:
	adrp	x8, _options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_auth_get_canonical_hostname
	mov	x23, x0
	mov	x0, #0
	bl	_time
	mov	x8, x0
	ldr	x0, [x22]
	cmp	x0, #0
	ccmp	x8, #1, #8, ne
	ccmp	x0, x8, #0, ge
	b.lt	LBB0_11
; %bb.1:
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_14
LBB0_3:
	cbz	w24, LBB0_12
LBB0_4:
	ldr	x2, [x22, #16]
	cbz	x2, LBB0_7
; %bb.5:
	mov	x0, x23
	mov	x1, x20
	bl	_match_host_and_ip
	cbz	w0, LBB0_21
; %bb.6:
	cmp	w0, #1
	b.ne	LBB0_20
LBB0_7:
	ldr	x1, [x22, #8]
	cbz	x1, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_addr_match_cidr_list
	cbz	w0, LBB0_23
; %bb.9:
	cmp	w0, #1
	b.ne	LBB0_22
LBB0_10:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_auth_log_authopts
	mov	w0, #0
	b	LBB0_18
LBB0_11:
	add	x21, sp, #24
	add	x1, sp, #24
	mov	w2, #64
	bl	_format_absolute_time
	str	x21, [sp]
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_debug
	str	x21, [sp]
	b	LBB0_16
LBB0_12:
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_4
; %bb.13:
Lloh8:
	adrp	x20, l_.str.2@PAGE
Lloh9:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	bl	_debug
LBB0_16:
	mov	x0, x20
LBB0_17:
	mov	x1, x19
	bl	_auth_debug_add
	mov	w0, #-1
LBB0_18:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_20:
Lloh15:
	adrp	x24, l_.str.3@PAGE
Lloh16:
	add	x24, x24, l_.str.3@PAGEOFF
	mov	x0, x24
	mov	x1, x19
	bl	_debug
	mov	x0, x24
	mov	x1, x19
	bl	_auth_debug_add
LBB0_21:
	ldr	w2, [x21]
	ldr	x8, [x22, #16]
	stp	x20, x8, [sp]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	mov	x3, x23
	bl	_logit
	str	x23, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_17
LBB0_22:
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_error
LBB0_23:
	ldr	w2, [x21]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	mov	x3, x20
	bl	_logit
	str	x20, [sp]
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_17
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_options,4,2                    ; @options
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: entry expired at %s"

l_.str.1:                               ; @.str.1
	.asciz	"%s: principals on non-CA key"

l_.str.2:                               ; @.str.2
	.asciz	"%s: cert-authority flag invalid here"

l_.str.3:                               ; @.str.3
	.asciz	"%s: invalid from criteria"

l_.str.4:                               ; @.str.4
	.asciz	"%s: Authentication tried for %.100s with correct key but not from a permitted host (host=%.200s, ip=%.200s, required=%.200s)."

l_.str.5:                               ; @.str.5
	.asciz	"%s: Your host '%.200s' is not permitted to use this key for login."

l_.str.6:                               ; @.str.6
	.asciz	"%s: Certificate source-address invalid"

l_.str.7:                               ; @.str.7
	.asciz	"%s: Authentication tried for %.100s with valid certificate but not from a permitted source address (%.200s)."

l_.str.8:                               ; @.str.8
	.asciz	"%s: Your address '%.200s' is not permitted to use this certificate for login."

.subsections_via_symbols
