	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_MAXNETNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	callq	_getnetname
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	callq	_getpass
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_getsecretkey
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_6:
	movq	-40(%rbp), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_5:
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_8:
	movq	-24(%rbp), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	callq	_strdup
	movl	%eax, -32(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_key_setnet
	testq	%rax, %rax
	jns	LBB0_10
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_2
LBB0_10:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXNETNAMELEN,4,2              ## @MAXNETNAMELEN
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"netname lookup failed -- make sure the "

L_.str.1:                               ## @.str.1
	.asciz	"system domain name is set.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Password:"

L_.str.3:                               ## @.str.3
	.asciz	"Can't find %s's secret key\n"

L_.str.4:                               ## @.str.4
	.asciz	"Password incorrect for %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"Could not set %s's secret key\n"

L_.str.6:                               ## @.str.6
	.asciz	"Maybe the keyserver is down?\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #32
Lloh0:
	adrp	x8, _MAXNETNAMELEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXNETNAMELEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x19
	bl	_getnetname
	cbnz	w0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x19, _stderr@GOTPAGE
Lloh6:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_2:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_3:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getpass
	mov	x2, x0
	sub	x1, x29, #40
	mov	x0, x19
	bl	_getsecretkey
	cbnz	w0, LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	str	x19, [sp, #-16]!
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_5:
	ldur	x8, [x29, #-40]
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.6:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	str	x19, [sp, #-16]!
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_7:
	bl	_fprintf
	add	sp, sp, #16
	mov	w0, #1
	bl	_exit
LBB0_8:
	ldur	x8, [x29, #-24]
	str	xzr, [x8]
	mov	x0, x19
	bl	_strdup
	stur	w0, [x29, #-32]
	sub	x0, x29, #40
	bl	_key_setnet
	tbz	x0, #63, LBB0_10
; %bb.9:
Lloh23:
	adrp	x20, _stderr@GOTPAGE
Lloh24:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	str	x19, [sp, #-16]!
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	ldr	w0, [x20]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_2
LBB0_10:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXNETNAMELEN,4,2              ; @MAXNETNAMELEN
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"netname lookup failed -- make sure the "

l_.str.1:                               ; @.str.1
	.asciz	"system domain name is set.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Password:"

l_.str.3:                               ; @.str.3
	.asciz	"Can't find %s's secret key\n"

l_.str.4:                               ; @.str.4
	.asciz	"Password incorrect for %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"Could not set %s's secret key\n"

l_.str.6:                               ; @.str.6
	.asciz	"Maybe the keyserver is down?\n"

.subsections_via_symbols
