	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_hostkey_by_type
_get_hostkey_by_type:                   ## @get_hostkey_by_type
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edi killed $edi def $rdi
	movq	_options@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	testq	%r10, %r10
	je	LBB0_13
## %bb.1:
	leal	-128(%rdi), %r9d
	movq	_sensitive_data@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	8(%rax), %r11
	movq	16(%rax), %r15
	movq	_KEY_ECDSA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rcx, %r10
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rbx
	cmpl	$5, %r9d
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8,%rcx,8), %rax
	testl	%edx, %edx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %rbx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%rcx,8), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, (%rax)
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, 4(%rax)
	jne	LBB0_12
LBB0_10:
	testl	%edx, %edx
	je	LBB0_14
## %bb.11:
	movq	(%r8,%rcx,8), %rax
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_options,8,3                    ## @options
	.comm	_sensitive_data,24,3            ## @sensitive_data
	.comm	_KEY_ECDSA,4,2                  ## @KEY_ECDSA
	.no_dead_strip	_get_hostkey_by_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_hostkey_by_type
_get_hostkey_by_type:                   ; @get_hostkey_by_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _options@GOTPAGE
Lloh1:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
	cbz	x11, LBB0_13
; %bb.1:
	mov	x9, #0
	sub	w12, w0, #128
Lloh3:
	adrp	x8, _sensitive_data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sensitive_data@GOTPAGEOFF]
	ldp	x10, x13, [x8]
	ldr	x14, [x8, #16]
Lloh5:
	adrp	x8, _KEY_ECDSA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KEY_ECDSA@GOTPAGEOFF]
Lloh7:
	ldr	w15, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x11, x9
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x16, x14
	cmp	w12, #5
	b.lo	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x10, x9, lsl #3]
	cbnz	w2, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x16, x13
	cbnz	x8, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x16, x9, lsl #3]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x8]
	cmp	w16, w0
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w15, w0
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x8, #4]
	cmp	w16, w1
	b.ne	LBB0_2
LBB0_11:
	cbz	w2, LBB0_14
; %bb.12:
	ldr	x0, [x10, x9, lsl #3]
	ret
LBB0_13:
	mov	x8, #0
LBB0_14:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_options,8,3                    ; @options
	.comm	_sensitive_data,24,3            ; @sensitive_data
	.comm	_KEY_ECDSA,4,2                  ; @KEY_ECDSA
	.no_dead_strip	_get_hostkey_by_type
.subsections_via_symbols
