	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_convert_to_ssh2
_do_convert_to_ssh2:                    ## @do_convert_to_ssh2
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sshkey_to_blob
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_fatal
LBB0_2:
	movq	%r15, %rdi
	callq	_sshkey_size
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_sshkey_type
	movq	(%r14), %r9
	movq	_hostname@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movl	$61, %esi
	movl	%ebx, %ecx
	movq	%rax, %r8
	callq	_snprintf
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_SSH_COM_PUBLIC_BEGIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %r12
	movq	%r12, %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
	movl	(%rbx), %edi
	movq	-40(%rbp), %rsi
	movq	-48(%rbp), %rdx
	callq	_dump_base64
	movl	(%rbx), %edi
	movq	_SSH_COM_PUBLIC_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rsi
	callq	_fprintf
	movq	%r15, %rdi
	callq	_sshkey_free
	movq	-40(%rbp), %rdi
	callq	_free
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key_to_blob failed: %s"

L_.str.1:                               ## @.str.1
	.asciz	"%u-bit %s, converted by %s@%s from OpenSSH"

	.comm	_hostname,8,3                   ## @hostname
	.comm	_stdout,4,2                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.comm	_SSH_COM_PUBLIC_BEGIN,8,3       ## @SSH_COM_PUBLIC_BEGIN
L_.str.3:                               ## @.str.3
	.asciz	"Comment: \"%s\"\n"

	.comm	_SSH_COM_PUBLIC_END,8,3         ## @SSH_COM_PUBLIC_END
	.no_dead_strip	_do_convert_to_ssh2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_convert_to_ssh2
_do_convert_to_ssh2:                    ; @do_convert_to_ssh2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x1
	mov	x20, x0
	sub	x1, x29, #48
	sub	x2, x29, #40
	mov	x0, x19
	bl	_sshkey_to_blob
	cbz	w0, LBB0_2
; %bb.1:
	bl	_ssh_err
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_2:
	mov	x0, x19
	bl	_sshkey_size
	mov	x21, x0
	mov	x0, x19
	bl	_sshkey_type
	mov	x4, x0
	ldr	x5, [x20]
Lloh2:
	adrp	x8, _hostname@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hostname@GOTPAGEOFF]
Lloh4:
	ldr	x6, [x8]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #3
	mov	w1, #61
	mov	x3, x21
	bl	_snprintf
Lloh7:
	adrp	x21, _stdout@GOTPAGE
Lloh8:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh9:
	adrp	x8, _SSH_COM_PUBLIC_BEGIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSH_COM_PUBLIC_BEGIN@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
Lloh12:
	adrp	x20, l_.str.2@PAGE
Lloh13:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_fprintf
	ldr	w0, [x21]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #3
	bl	_fprintf
	ldr	w0, [x21]
	ldp	x1, x2, [x29, #-48]
	bl	_dump_base64
	ldr	w0, [x21]
Lloh16:
	adrp	x8, _SSH_COM_PUBLIC_END@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSH_COM_PUBLIC_END@GOTPAGEOFF]
Lloh18:
	ldr	x2, [x8]
	mov	x1, x20
	bl	_fprintf
	mov	x0, x19
	bl	_sshkey_free
	ldur	x0, [x29, #-48]
	bl	_free
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key_to_blob failed: %s"

l_.str.1:                               ; @.str.1
	.asciz	"%u-bit %s, converted by %s@%s from OpenSSH"

	.comm	_hostname,8,3                   ; @hostname
	.comm	_stdout,4,2                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.comm	_SSH_COM_PUBLIC_BEGIN,8,3       ; @SSH_COM_PUBLIC_BEGIN
l_.str.3:                               ; @.str.3
	.asciz	"Comment: \"%s\"\n"

	.comm	_SSH_COM_PUBLIC_END,8,3         ; @SSH_COM_PUBLIC_END
	.no_dead_strip	_do_convert_to_ssh2
.subsections_via_symbols
