	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_accepted_by_hostkeyalgs
_key_accepted_by_hostkeyalgs:           ## @key_accepted_by_hostkeyalgs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_sshkey_ssh_name
	movq	%rax, %r14
	movq	_options@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	jne	LBB0_2
## %bb.1:
	movq	_KEX_DEFAULT_PK_ALG@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_2:
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	(%rbx), %rax
	movq	_KEY_UNSPEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:
	movq	_KEY_RSA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_match_pattern_list
	movl	$1, %r12d
	cmpl	$1, %eax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_match_pattern_list
	cmpl	$1, %eax
	je	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_match_pattern_list
	xorl	%r12d, %r12d
	cmpl	$1, %eax
	sete	%r12b
LBB0_8:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_options,8,3                    ## @options
	.comm	_KEX_DEFAULT_PK_ALG,8,3         ## @KEX_DEFAULT_PK_ALG
	.comm	_KEY_UNSPEC,8,3                 ## @KEY_UNSPEC
	.comm	_KEY_RSA,8,3                    ## @KEY_RSA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rsa-sha2-256"

L_.str.1:                               ## @.str.1
	.asciz	"rsa-sha2-512"

	.no_dead_strip	_key_accepted_by_hostkeyalgs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_accepted_by_hostkeyalgs
_key_accepted_by_hostkeyalgs:           ; @key_accepted_by_hostkeyalgs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	bl	_sshkey_ssh_name
Lloh0:
	adrp	x8, _options@GOTPAGE
Lloh1:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _KEX_DEFAULT_PK_ALG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KEX_DEFAULT_PK_ALG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x20, x9, x8, eq
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _KEY_UNSPEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _KEY_UNSPEC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	x19, x0
Lloh9:
	adrp	x9, _KEY_RSA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KEY_RSA@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	w2, #0
	bl	_match_pattern_list
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.5:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	w2, #0
	bl	_match_pattern_list
	cmp	w0, #1
	b.eq	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_match_pattern_list
	cmp	w0, #1
	cset	w0, eq
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_options,8,3                    ; @options
	.comm	_KEX_DEFAULT_PK_ALG,8,3         ; @KEX_DEFAULT_PK_ALG
	.comm	_KEY_UNSPEC,8,3                 ; @KEY_UNSPEC
	.comm	_KEY_RSA,8,3                    ; @KEY_RSA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rsa-sha2-256"

l_.str.1:                               ; @.str.1
	.asciz	"rsa-sha2-512"

	.no_dead_strip	_key_accepted_by_hostkeyalgs
.subsections_via_symbols
