	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_print_public
_do_print_public:                       ## @do_print_public
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_have_identity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_ask_filename
LBB0_2:
	movq	_identity_file@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movl	(%rbx), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_fatal
LBB0_4:
	movl	(%rbx), %edi
	callq	_load_identity
	movq	%rax, %rbx
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_sshkey_write
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_error
LBB0_6:
	movq	%rbx, %rdi
	callq	_sshkey_free
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_have_identity,4,2              ## @have_identity
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter file in which the key is"

	.comm	_identity_file,4,2              ## @identity_file
L_.str.1:                               ## @.str.1
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_stdout,4,2                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"sshkey_write failed: %s"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.no_dead_strip	_do_print_public
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_print_public
_do_print_public:                       ; @do_print_public
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _have_identity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _have_identity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ask_filename
LBB0_2:
Lloh5:
	adrp	x20, _identity_file@GOTPAGE
Lloh6:
	ldr	x20, [x20, _identity_file@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_stat
	tbz	x0, #63, LBB0_4
; %bb.3:
	ldr	w19, [x20]
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_fatal
LBB0_4:
	ldr	w0, [x20]
	bl	_load_identity
	mov	x19, x0
Lloh12:
	adrp	x20, _stdout@GOTPAGE
Lloh13:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sshkey_write
	cbz	w0, LBB0_6
; %bb.5:
	bl	_ssh_err
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_6:
	mov	x0, x19
	bl	_sshkey_free
	ldr	w0, [x20]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_have_identity,4,2              ; @have_identity
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter file in which the key is"

	.comm	_identity_file,4,2              ; @identity_file
l_.str.1:                               ; @.str.1
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_stdout,4,2                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"sshkey_write failed: %s"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.no_dead_strip	_do_print_public
.subsections_via_symbols
