	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lock_agent
_lock_agent:                            ## @lock_agent
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %edx
	callq	_strlcpy
	movq	_RP_ALLOW_STDIN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_read_passphrase
	movq	%rax, %r12
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %edx
	callq	_strlcpy
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_read_passphrase
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_explicit_bzero
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str.5(%rip), %r13
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_explicit_bzero
	movq	%rbx, %rdi
	callq	_free
	leaq	L_.str.4(%rip), %r13
LBB0_5:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_ssh_lock_agent
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edi
	movq	%r13, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	movq	%r12, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_explicit_bzero
	movq	%r12, %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter lock password: "

	.comm	_RP_ALLOW_STDIN,4,2             ## @RP_ALLOW_STDIN
L_.str.1:                               ## @.str.1
	.asciz	"Again: "

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Passwords do not match.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Agent %slocked.\n"

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"un"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to %slock agent: %s\n"

	.no_dead_strip	_lock_agent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lock_agent
_lock_agent:                            ; @lock_agent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #20
	mov	w2, #100
	bl	_strlcpy
Lloh5:
	adrp	x22, _RP_ALLOW_STDIN@GOTPAGE
Lloh6:
	ldr	x22, [x22, _RP_ALLOW_STDIN@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x0, sp, #20
	bl	_read_passphrase
	mov	x19, x0
	cbz	w20, LBB0_3
; %bb.1:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #20
	mov	w2, #100
	bl	_strlcpy
	ldr	w1, [x22]
	add	x0, sp, #20
	bl	_read_passphrase
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	x0, x22
	bl	_explicit_bzero
	mov	x0, x22
	bl	_free
	b	LBB0_7
LBB0_3:
Lloh14:
	adrp	x22, l_.str.5@PAGE
Lloh15:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	x0, x22
	bl	_explicit_bzero
	mov	x0, x22
	bl	_free
Lloh16:
	adrp	x22, l_.str.4@PAGE
Lloh17:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ssh_lock_agent
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	cbz	w0, LBB0_8
; %bb.6:
	bl	_ssh_err
	stp	x22, x0, [sp]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_fprintf
LBB0_7:
	mov	w20, #-1
	b	LBB0_9
LBB0_8:
	str	x22, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	mov	w20, #0
LBB0_9:
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_explicit_bzero
	mov	x0, x19
	bl	_free
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter lock password: "

	.comm	_RP_ALLOW_STDIN,4,2             ; @RP_ALLOW_STDIN
l_.str.1:                               ; @.str.1
	.asciz	"Again: "

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Passwords do not match.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Agent %slocked.\n"

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"un"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to %slock agent: %s\n"

	.no_dead_strip	_lock_agent
.subsections_via_symbols
