	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edi
	jg	LBB0_1
LBB0_19:
	xorl	%eax, %eax
	callq	_usage
LBB0_20:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_1:
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	8(%rsi), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_client
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_server
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_verify
	jmp	LBB0_3
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_skey
	jmp	LBB0_3
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_ta
	jmp	LBB0_3
LBB0_12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_chain
LBB0_3:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rcx
	sarq	$63, %rax
	andl	(%rcx), %eax
LBB0_21:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_twrch
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_20
	jmp	LBB0_21
LBB0_16:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_eqstr
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	addl	$-2, %ebx
	addq	$16, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_do_impl
	jmp	LBB0_3
LBB0_18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client"

L_.str.1:                               ## @.str.1
	.asciz	"server"

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

L_.str.3:                               ## @.str.3
	.asciz	"skey"

L_.str.4:                               ## @.str.4
	.asciz	"ta"

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

L_.str.6:                               ## @.str.6
	.asciz	"twrch"

L_.str.7:                               ## @.str.7
	.asciz	"impl"

	.comm	_stderr,4,2                     ## @stderr
L_.str.8:                               ## @.str.8
	.asciz	"unknown command: '%s'\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:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w0, #1
	b.gt	LBB0_2
LBB0_1:
	bl	_usage
Lloh0:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_4
; %bb.3:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_client
	b	LBB0_14
LBB0_4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_6
; %bb.5:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_server
	b	LBB0_14
LBB0_6:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_8
; %bb.7:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_verify
	b	LBB0_14
LBB0_8:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_10
; %bb.9:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_skey
	b	LBB0_14
LBB0_10:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_12
; %bb.11:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_ta
	b	LBB0_14
LBB0_12:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_16
; %bb.13:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_chain
LBB0_14:
Lloh15:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	asr	x9, x0, #63
	and	w0, w9, w8
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_16:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_18
; %bb.17:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_twrch
Lloh20:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, w0, lt
	b	LBB0_15
LBB0_18:
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_eqstr
	cbz	x0, LBB0_20
; %bb.19:
	sub	w0, w20, #2
	add	x1, x19, #16
	bl	_do_impl
	b	LBB0_14
LBB0_20:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client"

l_.str.1:                               ; @.str.1
	.asciz	"server"

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

l_.str.3:                               ; @.str.3
	.asciz	"skey"

l_.str.4:                               ; @.str.4
	.asciz	"ta"

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

l_.str.6:                               ; @.str.6
	.asciz	"twrch"

l_.str.7:                               ; @.str.7
	.asciz	"impl"

	.comm	_stderr,4,2                     ; @stderr
l_.str.8:                               ; @.str.8
	.asciz	"unknown command: '%s'\n"

.subsections_via_symbols
