	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %r12d
	movl	$0, -80(%rbp)
	movl	$0, -76(%rbp)
	movq	$0, -96(%rbp)
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__IONBF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_setvbuf
	movl	$-1, -48(%rbp)                  ## 4-byte Folded Spill
	leaq	LJTI0_0(%rip), %r15
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_1
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r14d
	movl	%r12d, %edi
	movq	%r13, %rsi
	leaq	L_.str(%rip), %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-68(%rax), %ecx
	cmpl	$50, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %ebx
	movslq	(%r15,%rcx,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_badusage
	jmp	LBB0_12
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, %ebx
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	jmp	LBB0_1
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoi
	movl	%r14d, %ebx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jns	LBB0_1
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_21
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, %ebx
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_do_debug@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	%r14d, %ebx
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_22
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.5(%rip), %rdi
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_badusage
	movl	%r14d, %ebx
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_S2C@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_C2S@GOTPCREL(%rip), %rax
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %ebx
	movq	-104(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_1
LBB0_5:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_60
LBB0_22:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	movq	_do_debug@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_23
## %bb.24:
	movq	_SYSLOG_LEVEL_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_23:
	movq	_SYSLOG_LEVEL_DEBUG3@GOTPCREL(%rip), %rax
LBB0_25:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_SYSLOG_FACILITY_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_log_init
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addl	%r14d, %eax
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	$1, %eax
	je	LBB0_27
## %bb.26:
	leaq	L_.str.6(%rip), %rdi
	callq	_badusage
LBB0_27:
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.28:
	movq	%rbx, %rdi
	callq	_kex_names_valid
	testl	%eax, %eax
	je	LBB0_30
## %bb.29:
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_31
LBB0_30:
	leaq	L_.str.7(%rip), %rdi
	callq	_badusage
LBB0_31:
	testq	%r12, %r12
	jne	LBB0_33
## %bb.32:
	leaq	L_.str.8(%rip), %rdi
	callq	_badusage
LBB0_33:
	movq	_O_RDONLY@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_open
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_35
## %bb.34:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	movq	%r12, %rdx
	callq	_err
LBB0_35:
	movq	_KEY_UNSPEC@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	leaq	-96(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_sshkey_load_private_type_fd
	testl	%eax, %eax
	je	LBB0_37
## %bb.36:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.10(%rip), %rsi
	movl	$1, %edi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_errx
LBB0_37:
	movl	%ebx, %edi
	callq	_close
	movq	-96(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movq	(%rax), %rax
	cmpq	(%r12), %rax
	jne	LBB0_40
LBB0_39:
	leaq	L_.str.11(%rip), %rdi
	callq	_badusage
LBB0_40:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_41
## %bb.42:
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	cmpl	$-1, %r12d
	je	LBB0_45
## %bb.43:
	cmpl	$-1, -44(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_45
## %bb.44:
	testq	%rbx, %rbx
	jne	LBB0_46
LBB0_45:
	leaq	L_.str.12(%rip), %rdi
	callq	_badusage
LBB0_46:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_open
	movl	%eax, %r15d
	cmpl	$-1, %eax
	jne	LBB0_48
## %bb.47:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_err
LBB0_48:
	xorl	%eax, %eax
	callq	_sshbuf_new
	movq	%rax, %r13
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_sshkey_load_file
	testl	%eax, %eax
	je	LBB0_50
## %bb.49:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.13(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_errx
LBB0_50:
	movl	%r15d, %edi
	callq	_close
	jmp	LBB0_51
LBB0_41:
	xorl	%r13d, %r13d
	movl	-48(%rbp), %r12d                ## 4-byte Reload
LBB0_51:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_52
## %bb.53:
	cmpl	$-1, %r12d
	je	LBB0_56
## %bb.54:
	cmpl	$-1, %ebx
	je	LBB0_56
## %bb.55:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_57
LBB0_56:
	leaq	L_.str.14(%rip), %rdi
	callq	_badusage
LBB0_57:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_58
LBB0_52:
	xorl	%eax, %eax
LBB0_58:
	movq	-96(%rbp), %rsi
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	pushq	%r13
	pushq	%rax
	callq	_do_kex_with_key
	addq	$16, %rsp
	movq	-96(%rbp), %rdi
	callq	_sshkey_free
	movq	%r13, %rdi
	callq	_sshbuf_free
	testl	%r14d, %r14d
	je	LBB0_60
## %bb.59:
	movl	-80(%rbp), %esi
	leaq	L_.str.15(%rip), %rdi
	callq	_printf
	movl	-76(%rbp), %esi
	leaq	L_.str.16(%rip), %rdi
	callq	_printf
LBB0_60:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_17
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_1
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_16
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_19
	.long	L0_0_set_3
	.long	L0_0_set_18
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.comm	__IONBF,4,2                     ## @_IONBF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hcdrvD:f:K:k:i:"

	.comm	_do_debug,4,2                   ## @do_debug
	.comm	_optarg,8,3                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"s2c"

	.comm	_S2C,4,2                        ## @S2C
L_.str.2:                               ## @.str.2
	.asciz	"c2s"

	.comm	_C2S,4,2                        ## @C2S
L_.str.3:                               ## @.str.3
	.asciz	"Invalid direction (-D)"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid packet index"

L_.str.5:                               ## @.str.5
	.asciz	"unsupported flag"

	.comm	_optind,8,3                     ## @optind
	.comm	_SYSLOG_LEVEL_DEBUG3,4,2        ## @SYSLOG_LEVEL_DEBUG3
	.comm	_SYSLOG_LEVEL_INFO,4,2          ## @SYSLOG_LEVEL_INFO
	.comm	_SYSLOG_FACILITY_USER,4,2       ## @SYSLOG_FACILITY_USER
L_.str.6:                               ## @.str.6
	.asciz	"Must select one mode: -c, -d or -r"

L_.str.7:                               ## @.str.7
	.asciz	"Missing or invalid kex type (-K flag)"

L_.str.8:                               ## @.str.8
	.asciz	"Missing private key (-k flag)"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.9:                               ## @.str.9
	.asciz	"open %s"

	.comm	_KEY_UNSPEC,8,3                 ## @KEY_UNSPEC
L_.str.10:                              ## @.str.10
	.asciz	"Unable to load key %s: %s"

L_.str.11:                              ## @.str.11
	.asciz	"Invalid key file (-k flag)"

L_.str.12:                              ## @.str.12
	.asciz	"Replace (-r) mode must specify direction (-D) packet index (-i) and data path (-f)"

L_.str.13:                              ## @.str.13
	.asciz	"read %s: %s"

L_.str.14:                              ## @.str.14
	.asciz	"Dump (-d) mode must specify direction (-D), packet index (-i) and data path (-f)"

L_.str.15:                              ## @.str.15
	.asciz	"S2C: %d\n"

L_.str.16:                              ## @.str.16
	.asciz	"C2S: %d\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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x1
	mov	x25, x0
	stp	xzr, xzr, [sp, #32]
Lloh0:
	adrp	x8, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, __IONBF@GOTPAGE
Lloh4:
	ldr	x8, [x8, __IONBF@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, #0
	mov	w3, #0
	bl	_setvbuf
	mov	w8, #0
	mov	w23, #0
	mov	w19, #0
	stp	xzr, xzr, [sp, #8]              ; 16-byte Folded Spill
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
	mov	w21, #-1
Lloh6:
	adrp	x26, l_.str@PAGE
Lloh7:
	add	x26, x26, l_.str@PAGEOFF
Lloh8:
	adrp	x20, lJTI0_0@PAGE
Lloh9:
	add	x20, x20, lJTI0_0@PAGEOFF
Lloh10:
	adrp	x28, _optarg@GOTPAGE
Lloh11:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
	mov	w9, #-1
	str	w9, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	x8, x27
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x8
	mov	x0, x25
	mov	x1, x24
	mov	x2, x26
	bl	_getopt
	sub	w9, w0, #68
	cmp	w9, #50
	b.hi	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	adr	x10, LBB0_1
	ldrb	w11, [x20, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x28]
	mov	x0, x22
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	x8, x27
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, #1
	mov	x8, x27
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	x8, x27
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_atoi
	mov	x21, x0
	mov	x8, x27
	tbz	w0, #31, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w19, #1
	mov	x8, x27
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh20:
	adrp	x8, _do_debug@GOTPAGE
Lloh21:
	ldr	x8, [x8, _do_debug@GOTPAGEOFF]
	mov	w9, #1
Lloh22:
	str	w9, [x8]
	mov	x8, x27
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_badusage
	mov	x8, x27
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh25:
	adrp	x8, _S2C@GOTPAGE
Lloh26:
	ldr	x8, [x8, _S2C@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh27:
	adrp	x8, _C2S@GOTPAGE
Lloh28:
	ldr	x8, [x8, _C2S@GOTPAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x8]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	mov	x8, x27
	b	LBB0_2
LBB0_20:
	bl	_usage
	b	LBB0_54
LBB0_21:
Lloh29:
	adrp	x8, _optind@GOTPAGE
Lloh30:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	x0, [x24, x8, lsl #3]
Lloh32:
	adrp	x8, _do_debug@GOTPAGE
Lloh33:
	ldr	x8, [x8, _do_debug@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _SYSLOG_LEVEL_DEBUG3@GOTPAGE
Lloh36:
	ldr	x9, [x9, _SYSLOG_LEVEL_DEBUG3@GOTPAGEOFF]
Lloh37:
	adrp	x10, _SYSLOG_LEVEL_INFO@GOTPAGE
Lloh38:
	ldr	x10, [x10, _SYSLOG_LEVEL_INFO@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
Lloh39:
	adrp	x8, _SYSLOG_FACILITY_USER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SYSLOG_FACILITY_USER@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_log_init
	mov	x28, x23
	add	w8, w23, w27
	mov	x23, x19
	add	w8, w8, w19
	cmp	w8, #1
	b.eq	LBB0_23
; %bb.22:
Lloh42:
	adrp	x0, l_.str.6@PAGE
Lloh43:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_badusage
LBB0_23:
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w26, [sp, #4]                   ; 4-byte Folded Reload
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x25, LBB0_26
; %bb.24:
	mov	x0, x25
	bl	_kex_names_valid
	cbz	w0, LBB0_26
; %bb.25:
	mov	x0, x25
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_27
LBB0_26:
Lloh44:
	adrp	x0, l_.str.7@PAGE
Lloh45:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_badusage
LBB0_27:
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	cbnz	x22, LBB0_29
; %bb.28:
Lloh46:
	adrp	x0, l_.str.8@PAGE
Lloh47:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_badusage
LBB0_29:
Lloh48:
	adrp	x20, _O_RDONLY@GOTPAGE
Lloh49:
	ldr	x20, [x20, _O_RDONLY@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x22
	bl	_open
	mov	x24, x0
	cmn	w0, #1
	b.ne	LBB0_31
; %bb.30:
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_err
LBB0_31:
Lloh52:
	adrp	x22, _KEY_UNSPEC@GOTPAGE
Lloh53:
	ldr	x22, [x22, _KEY_UNSPEC@GOTPAGEOFF]
	ldr	x1, [x22]
	add	x3, sp, #32
	mov	x0, x24
	mov	x2, #0
	mov	x4, #0
	bl	_sshkey_load_private_type_fd
	cbz	w0, LBB0_33
; %bb.32:
	bl	_ssh_err
	mov	x3, x0
Lloh54:
	adrp	x1, l_.str.10@PAGE
Lloh55:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w0, #1
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_errx
LBB0_33:
	mov	x0, x24
	bl	_close
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_35
; %bb.34:
	ldr	x8, [x8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_36
LBB0_35:
Lloh56:
	adrp	x0, l_.str.11@PAGE
Lloh57:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_badusage
LBB0_36:
	cbz	w23, LBB0_50
; %bb.37:
	cmn	w21, #1
	b.eq	LBB0_40
; %bb.38:
	cmn	w26, #1
	b.eq	LBB0_40
; %bb.39:
	cbnz	x19, LBB0_41
LBB0_40:
Lloh58:
	adrp	x0, l_.str.12@PAGE
Lloh59:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_badusage
LBB0_41:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_open
	mov	x24, x0
	cmn	w0, #1
	b.ne	LBB0_43
; %bb.42:
Lloh60:
	adrp	x1, l_.str.9@PAGE
Lloh61:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_err
LBB0_43:
	bl	_sshbuf_new
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_sshkey_load_file
	cbz	w0, LBB0_45
; %bb.44:
	bl	_ssh_err
	mov	x3, x0
Lloh62:
	adrp	x1, l_.str.13@PAGE
Lloh63:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_45:
	mov	x0, x24
	bl	_close
	cbz	w28, LBB0_51
LBB0_46:
	cmn	w21, #1
	b.eq	LBB0_49
; %bb.47:
	cmn	w26, #1
	b.eq	LBB0_49
; %bb.48:
	cbnz	x19, LBB0_52
LBB0_49:
Lloh64:
	adrp	x0, l_.str.14@PAGE
Lloh65:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_badusage
	b	LBB0_52
LBB0_50:
	mov	x23, #0
	cbnz	w28, LBB0_46
LBB0_51:
	mov	x19, #0
LBB0_52:
	ldr	x1, [sp, #32]
	add	x2, sp, #40
	add	x3, sp, #44
	mov	x0, x25
	mov	x4, x26
	mov	x5, x21
	mov	x6, x19
	mov	x7, x23
	bl	_do_kex_with_key
	ldr	x0, [sp, #32]
	bl	_sshkey_free
	mov	x0, x23
	bl	_sshbuf_free
	cbz	w27, LBB0_54
; %bb.53:
	ldr	w1, [sp, #44]
Lloh66:
	adrp	x0, l_.str.15@PAGE
Lloh67:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #40]
Lloh68:
	adrp	x0, l_.str.16@PAGE
Lloh69:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_printf
LBB0_54:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_20-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.comm	__IONBF,4,2                     ; @_IONBF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hcdrvD:f:K:k:i:"

	.comm	_do_debug,4,2                   ; @do_debug
	.comm	_optarg,8,3                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"s2c"

	.comm	_S2C,4,2                        ; @S2C
l_.str.2:                               ; @.str.2
	.asciz	"c2s"

	.comm	_C2S,4,2                        ; @C2S
l_.str.3:                               ; @.str.3
	.asciz	"Invalid direction (-D)"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid packet index"

l_.str.5:                               ; @.str.5
	.asciz	"unsupported flag"

	.comm	_optind,8,3                     ; @optind
	.comm	_SYSLOG_LEVEL_DEBUG3,4,2        ; @SYSLOG_LEVEL_DEBUG3
	.comm	_SYSLOG_LEVEL_INFO,4,2          ; @SYSLOG_LEVEL_INFO
	.comm	_SYSLOG_FACILITY_USER,4,2       ; @SYSLOG_FACILITY_USER
l_.str.6:                               ; @.str.6
	.asciz	"Must select one mode: -c, -d or -r"

l_.str.7:                               ; @.str.7
	.asciz	"Missing or invalid kex type (-K flag)"

l_.str.8:                               ; @.str.8
	.asciz	"Missing private key (-k flag)"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.9:                               ; @.str.9
	.asciz	"open %s"

	.comm	_KEY_UNSPEC,8,3                 ; @KEY_UNSPEC
l_.str.10:                              ; @.str.10
	.asciz	"Unable to load key %s: %s"

l_.str.11:                              ; @.str.11
	.asciz	"Invalid key file (-k flag)"

l_.str.12:                              ; @.str.12
	.asciz	"Replace (-r) mode must specify direction (-D) packet index (-i) and data path (-f)"

l_.str.13:                              ; @.str.13
	.asciz	"read %s: %s"

l_.str.14:                              ; @.str.14
	.asciz	"Dump (-d) mode must specify direction (-D), packet index (-i) and data path (-f)"

l_.str.15:                              ; @.str.15
	.asciz	"S2C: %d\n"

l_.str.16:                              ; @.str.16
	.asciz	"C2S: %d\n"

.subsections_via_symbols
