	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delete_file
_delete_file:                           ## @delete_file
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	leaq	-72(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sshkey_load_public
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_printf
	movl	$-1, %r15d
	jmp	LBB0_19
LBB0_2:
	movq	-72(%rbp), %rsi
	movl	%r12d, %edi
	callq	_ssh_remove_identity
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	movl	$-1, %r15d
	jmp	LBB0_6
LBB0_3:
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
LBB0_6:
	testl	%r13d, %r13d
	jne	LBB0_18
## %bb.7:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	$0, -48(%rbp)
	leaq	L_.str.3(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_xasprintf
	movq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_sshkey_load_public
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movq	_SSH_ERR_SYSTEM_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ENOENT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_18
LBB0_10:
	movq	-56(%rbp), %rbx
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_error
	jmp	LBB0_18
LBB0_11:
	movq	-64(%rbp), %rdi
	movq	-72(%rbp), %rsi
	callq	_sshkey_equal_public
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rdx
	callq	_fatal
LBB0_13:
	movq	-64(%rbp), %rsi
	movl	%r12d, %edi
	callq	_ssh_remove_identity
	testl	%eax, %eax
	je	LBB0_14
## %bb.16:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	-56(%rbp), %r14
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
LBB0_17:
	callq	_fprintf
	jmp	LBB0_18
LBB0_14:
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	je	LBB0_15
LBB0_18:
	movq	-64(%rbp), %rdi
	callq	_sshkey_free
	movq	-72(%rbp), %rdi
	callq	_sshkey_free
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-48(%rbp), %rdi
	callq	_free
LBB0_19:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad key file %s: %s\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Identity removed: %s (%s)\n"

L_.str.2:                               ## @.str.2
	.asciz	"Could not remove identity \"%s\": %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s-cert.pub"

	.comm	_SSH_ERR_SYSTEM_ERROR,4,2       ## @SSH_ERR_SYSTEM_ERROR
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.4:                               ## @.str.4
	.asciz	"Failed to load certificate \"%s\": %s"

L_.str.5:                               ## @.str.5
	.asciz	"Certificate %s does not match private key %s"

	.no_dead_strip	_delete_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delete_file
_delete_file:                           ; @delete_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp]
	add	x1, sp, #24
	mov	x2, sp
	mov	x0, x21
	bl	_sshkey_load_public
	cbz	w0, LBB0_2
; %bb.1:
	bl	_ssh_err
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_printf
	mov	w19, #-1
	b	LBB0_19
LBB0_2:
	ldr	x1, [sp, #24]
	mov	x0, x22
	bl	_ssh_remove_identity
	cbz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	bl	_ssh_err
	mov	x3, x0
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_fprintf
	mov	w19, #-1
	cbnz	w23, LBB0_18
	b	LBB0_7
LBB0_4:
	cbz	w20, LBB0_6
; %bb.5:
	mov	w19, #0
	cbnz	w23, LBB0_18
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x3, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_fprintf
	mov	w19, #0
	cbnz	w23, LBB0_18
LBB0_7:
	ldr	x0, [sp]
	bl	_free
	str	xzr, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x2, x21
	bl	_xasprintf
	ldr	x0, [sp, #8]
	add	x1, sp, #16
	mov	x2, sp
	bl	_sshkey_load_public
	cbz	w0, LBB0_11
; %bb.8:
Lloh14:
	adrp	x8, _SSH_ERR_SYSTEM_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSH_ERR_SYSTEM_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	adrp	x9, _ENOENT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_18
LBB0_10:
	ldr	x20, [sp, #8]
	bl	_ssh_err
	mov	x2, x0
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_error
	b	LBB0_18
LBB0_11:
	ldp	x0, x1, [sp, #16]
	bl	_sshkey_equal_public
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	x1, [sp, #8]
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x2, x21
	bl	_fatal
LBB0_13:
	ldr	x1, [sp, #16]
	mov	x0, x22
	bl	_ssh_remove_identity
	cbz	w0, LBB0_15
; %bb.14:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w20, [x8]
	ldr	x21, [sp, #8]
	bl	_ssh_err
	mov	x3, x0
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_fprintf
	b	LBB0_18
LBB0_15:
	cbnz	w20, LBB0_17
; %bb.16:
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldp	x3, x2, [sp]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_17:
	mov	w19, #0
LBB0_18:
	ldr	x0, [sp, #16]
	bl	_sshkey_free
	ldr	x0, [sp, #24]
	bl	_sshkey_free
	ldr	x0, [sp, #8]
	bl	_free
	ldr	x0, [sp]
	bl	_free
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad key file %s: %s\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Identity removed: %s (%s)\n"

l_.str.2:                               ; @.str.2
	.asciz	"Could not remove identity \"%s\": %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s-cert.pub"

	.comm	_SSH_ERR_SYSTEM_ERROR,4,2       ; @SSH_ERR_SYSTEM_ERROR
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.4:                               ; @.str.4
	.asciz	"Failed to load certificate \"%s\": %s"

l_.str.5:                               ; @.str.5
	.asciz	"Certificate %s does not match private key %s"

	.no_dead_strip	_delete_file
.subsections_via_symbols
