	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	_KDA_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_getopt
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_32
LBB0_2:
	leaq	LJTI0_0(%rip), %r13
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %ebx
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %edi
	movq	%r14, %rsi
	leaq	L_.str(%rip), %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_25
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r15d
	movsbl	%al, %eax
	addl	$-67, %eax
	cmpl	$55, %eax
	ja	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %ebx
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %ebx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_24
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoi
	movq	_KDA_APPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	js	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	-1(%rdx), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_23
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$-2, %edx
	leaq	L_.str.6(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_23
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_23
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -80(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_23
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_23
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_23
LBB0_25:
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	setne	%r15b
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	setne	%cl
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_28
## %bb.26:
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_28:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	setne	%al
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_31
## %bb.29:
	testl	%r13d, %r13d
	je	LBB0_31
## %bb.30:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_31:
	testl	%ebx, %ebx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_83
LBB0_32:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	subl	%ebx, %r12d
	cmpl	$1, %r12d
	movq	%rcx, %r13
	je	LBB0_34
## %bb.33:
	xorl	%eax, %eax
	callq	_usage
	movq	%r13, %rcx
LBB0_34:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_36
## %bb.35:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	movq	%r13, %rcx
LBB0_36:
	leaq	(%r14,%rbx,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	setne	%al
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	setne	%dl
	andb	%al, %dl
	movl	%edx, %r15d
	cmpb	$1, %dl
	jne	LBB0_38
## %bb.37:
	movq	__PATH_NETDUMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_opendumpdev
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	leaq	-184(%rbp), %rdi
	movl	$56, %esi
	callq	_bzero
	movq	%r13, %rcx
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	%r15d, %r12d
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_48
	jmp	LBB0_45
LBB0_38:
	testq	%rcx, %rcx
	movq	-128(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_85
## %bb.39:
	testq	%rbx, %rbx
	jne	LBB0_85
## %bb.40:
	testl	%r12d, %r12d
	jle	LBB0_85
## %bb.41:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	movq	%rbx, %rcx
	testq	%rax, %rax
	sete	%bl
	jne	LBB0_43
## %bb.42:
	movq	__PATH_DEVNULL@GOTPCREL(%rip), %rcx
LBB0_43:
	movq	(%rcx), %rdi
	movq	%r14, %rsi
	callq	_opendumpdev
	movl	%eax, %edi
	orb	-80(%rbp), %bl                  ## 1-byte Folded Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $al killed $al killed $rax
	orb	%bl, %al
	movl	%r15d, %r12d
	movl	%edi, -88(%rbp)                 ## 4-byte Spill
	je	LBB0_44
## %bb.46:
	leaq	-184(%rbp), %rdi
	movl	$56, %esi
	callq	_bzero
	movl	$0, %ecx
	testb	%bl, %bl
	movl	$0, %ebx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_45
LBB0_48:
	movq	_KDA_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_49
LBB0_44:
	movq	%r14, %rsi
	callq	_check_size
	leaq	-184(%rbp), %rdi
	movl	$56, %esi
	callq	_bzero
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_45:
	movl	-108(%rbp), %eax                ## 4-byte Reload
LBB0_49:
	movl	%eax, -184(%rbp)
	movq	_KERNELDUMP_COMP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	orb	%dl, %al
	cmpb	$1, %al
	jne	LBB0_54
## %bb.50:
	testb	%dl, %dl
	je	LBB0_51
## %bb.52:
	movq	_KERNELDUMP_COMP_ZSTD@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_51:
	movq	_KERNELDUMP_COMP_GZIP@GOTPCREL(%rip), %rax
LBB0_53:
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
LBB0_54:
	testb	%r12b, %r12b
	je	LBB0_73
## %bb.55:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	leaq	-208(%rbp), %rbx
	movq	%rcx, %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -192(%rbp)
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -200(%rbp)
	movq	$0, -120(%rbp)
	leaq	-120(%rbp), %rcx
	movq	%r15, %r14
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_57
## %bb.56:
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.11(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_err
LBB0_57:
	movq	-120(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_59
## %bb.58:
	leaq	L_.str.12(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_errx
	movq	-120(%rbp), %rax
LBB0_59:
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_inet_ntoa
	movq	%rax, %rbx
	movq	-120(%rbp), %rdi
	callq	_freeaddrinfo
	movl	-140(%rbp), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	$4, %edx
	callq	_strlcpy
	cmpl	$4, %eax
	jb	LBB0_61
## %bb.60:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_61:
	leaq	-144(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_inet_aton
	testq	%rax, %rax
	jne	LBB0_63
## %bb.62:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_63:
	leaq	-148(%rbp), %rsi
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_inet_aton
	testq	%rax, %rax
	jne	LBB0_65
## %bb.64:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_65:
	testq	%r13, %r13
	jne	LBB0_70
## %bb.66:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_find_gateway
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_70
## %bb.67:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_69
## %bb.68:
	leaq	L_.str.16(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
LBB0_69:
	movq	%rbx, %r13
LBB0_70:
	leaq	-152(%rbp), %rsi
	movq	%r13, %rdi
	callq	_inet_aton
	testq	%rax, %rax
	jne	LBB0_72
## %bb.71:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.17(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_72:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -160(%rbp)
LBB0_73:
	movq	_DIOCSKERNELDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-184(%rbp), %r15
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rdx
	callq	_ioctl
	movl	%eax, %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-168(%rbp), %rdi
	movl	-176(%rbp), %esi
	callq	_explicit_bzero
	movq	-168(%rbp), %rdi
	callq	_free
	movq	%r15, %rdi
	movl	$56, %esi
	callq	_explicit_bzero
	testl	%ebx, %ebx
	je	LBB0_82
## %bb.74:
	testl	%r14d, %r14d
	je	LBB0_82
## %bb.75:
	testb	%r12b, %r12b
	je	LBB0_81
## %bb.76:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_78
## %bb.77:
	leaq	L_.str.18(%rip), %rsi
	jmp	LBB0_80
LBB0_78:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_81
## %bb.79:
	leaq	L_.str.19(%rip), %rsi
LBB0_80:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_81:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.20(%rip), %rdx
	movl	%r14d, %esi
	callq	_errc
LBB0_82:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_84
LBB0_83:
	xorl	%eax, %eax
	callq	_listdumpdev
LBB0_84:
	movq	_EX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_85:
	xorl	%eax, %eax
	callq	_usage
	ud2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_20
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_11
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_12
	.long	L0_0_set_22
	.long	L0_0_set_13
	.long	L0_0_set_22
	.long	L0_0_set_16
	.long	L0_0_set_24
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_19
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_KDA_APPEND,4,2                 ## @KDA_APPEND
	.comm	_KERNELDUMP_ENC_NONE,4,2        ## @KERNELDUMP_ENC_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"C:c:g:i:k:lrs:vZz"

	.comm	_optarg,8,3                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"chacha"

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

	.comm	_KERNELDUMP_ENC_CHACHA20,4,2    ## @KERNELDUMP_ENC_CHACHA20
L_.str.3:                               ## @.str.3
	.asciz	"aes-cbc"

L_.str.4:                               ## @.str.4
	.asciz	"aes256-cbc"

	.comm	_KERNELDUMP_ENC_AES_256_CBC,4,2 ## @KERNELDUMP_ENC_AES_256_CBC
	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
L_.str.5:                               ## @.str.5
	.asciz	"Unrecognized cipher algorithm '%s'"

L_.str.6:                               ## @.str.6
	.asciz	"-i index must be between zero and %d."

	.comm	_verbose,4,2                    ## @verbose
L_.str.7:                               ## @.str.7
	.asciz	"The -z and -Z options are mutually exclusive."

L_.str.8:                               ## @.str.8
	.asciz	"The -i and -r options are mutually exclusive."

	.comm	_optind,8,3                     ## @optind
	.comm	_EX_OK,4,2                      ## @EX_OK
	.comm	_EX_UNAVAILABLE,4,2             ## @EX_UNAVAILABLE
L_.str.9:                               ## @.str.9
	.asciz	"Unable to use the public key. Recompile dumpon with OpenSSL support."

	.comm	__PATH_NETDUMP,8,3              ## @_PATH_NETDUMP
L_.str.10:                              ## @.str.10
	.asciz	"off"

	.comm	__PATH_DEVNULL,8,3              ## @_PATH_DEVNULL
	.comm	_KDA_REMOVE,4,2                 ## @KDA_REMOVE
	.comm	_KERNELDUMP_COMP_NONE,4,2       ## @KERNELDUMP_COMP_NONE
	.comm	_KERNELDUMP_COMP_ZSTD,4,2       ## @KERNELDUMP_COMP_ZSTD
	.comm	_KERNELDUMP_COMP_GZIP,4,2       ## @KERNELDUMP_COMP_GZIP
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
L_.str.11:                              ## @.str.11
	.asciz	"%s"

L_.str.12:                              ## @.str.12
	.asciz	"failed to resolve '%s'"

L_.str.13:                              ## @.str.13
	.asciz	"invalid interface name '%s'"

L_.str.14:                              ## @.str.14
	.asciz	"invalid server address '%s'"

L_.str.15:                              ## @.str.15
	.asciz	"invalid client address '%s'"

L_.str.16:                              ## @.str.16
	.asciz	"failed to look up gateway for %s\n"

L_.str.17:                              ## @.str.17
	.asciz	"invalid gateway address '%s'"

	.comm	_DIOCSKERNELDUMP,4,2            ## @DIOCSKERNELDUMP
	.comm	_errno,4,2                      ## @errno
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.18:                              ## @.str.18
	.asciz	"Unable to configure netdump because the interface's link is down."

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.19:                              ## @.str.19
	.asciz	"Unable to configure netdump because the interface driver does not yet support netdump."

L_.str.20:                              ## @.str.20
	.asciz	"ioctl(DIOCSKERNELDUMP)"

.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	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #144
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	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	x8, x9, x8
	stur	x8, [x29, #-224]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh5:
	adrp	x8, _KDA_APPEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KDA_APPEND@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_getopt
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
	mov	w26, #0
	mov	w28, #0
	stur	wzr, [x29, #-172]               ; 4-byte Folded Spill
	mov	x27, #0
	stur	xzr, [x29, #-184]               ; 8-byte Folded Spill
	mov	x23, #0
	mov	x9, #0
	mov	w20, #0
	b	LBB0_33
LBB0_2:
	stur	wzr, [x29, #-172]               ; 4-byte Folded Spill
	mov	w21, #0
	stur	wzr, [x29, #-196]               ; 4-byte Folded Spill
	mov	w23, #0
	mov	w20, #0
	stp	xzr, xzr, [x29, #-192]          ; 16-byte Folded Spill
	stp	xzr, xzr, [x29, #-216]          ; 16-byte Folded Spill
Lloh10:
	adrp	x26, l_.str@PAGE
Lloh11:
	add	x26, x26, l_.str@PAGEOFF
Lloh12:
	adrp	x28, lJTI0_0@PAGE
Lloh13:
	add	x28, x28, lJTI0_0@PAGEOFF
Lloh14:
	adrp	x19, _optarg@GOTPAGE
Lloh15:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w20, #1
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x27
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x24
	mov	x2, x26
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_25
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x23
	sxtb	w8, w0
	sub	w8, w8, #67
	cmp	w8, #55
	b.hi	LBB0_23
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #1
	adr	x9, LBB0_3
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x19]
	mov	x0, x23
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	str	x23, [sp, #-16]!
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_errx
	add	sp, sp, #16
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	stur	x8, [x29, #-192]                ; 8-byte Folded Spill
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
	bl	_atoi
	mov	x22, x0
Lloh29:
	adrp	x8, _KDA_APPEND@GOTPAGE
Lloh30:
	ldr	x8, [x8, _KDA_APPEND@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tbnz	w0, #31, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w9, w8, #1
	cmp	w22, w9
	b.ge	LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #1
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	stur	x8, [x29, #-184]                ; 8-byte Folded Spill
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
	stur	w8, [x29, #-196]                ; 4-byte Folded Spill
	b	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	stur	x8, [x29, #-216]                ; 8-byte Folded Spill
	b	LBB0_4
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
	stur	w8, [x29, #-172]                ; 4-byte Folded Spill
	b	LBB0_4
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh32:
	adrp	x8, _verbose@GOTPAGE
Lloh33:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
	mov	w9, #1
Lloh34:
	str	w9, [x8]
	b	LBB0_4
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	stur	x8, [x29, #-208]                ; 8-byte Folded Spill
	b	LBB0_4
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_usage
	b	LBB0_4
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh35:
	adrp	x9, _EX_USAGE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _EX_USAGE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x9]
	sub	w8, w8, #2
	str	x8, [sp, #-16]!
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_errx
	add	sp, sp, #16
	mov	w21, #1
	b	LBB0_4
LBB0_25:
	mov	x8, x20
	cmp	w20, #0
	cset	w28, ne
	ldur	w20, [x29, #-196]               ; 4-byte Folded Reload
	cmp	w20, #0
	cset	w26, ne
	cbz	w8, LBB0_28
; %bb.26:
	cbz	w20, LBB0_28
; %bb.27:
Lloh40:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.7@PAGE
Lloh44:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
LBB0_28:
	ldur	w8, [x29, #-172]                ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w20, ne
	cbz	w21, LBB0_31
; %bb.29:
	cbz	w8, LBB0_31
; %bb.30:
Lloh45:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x1, l_.str.8@PAGE
Lloh49:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_errx
LBB0_31:
	ldur	x27, [x29, #-192]               ; 8-byte Folded Reload
	cbnz	w23, LBB0_77
; %bb.32:
	ldp	x9, x23, [x29, #-216]           ; 16-byte Folded Reload
LBB0_33:
Lloh50:
	adrp	x8, _optind@GOTPAGE
Lloh51:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh52:
	ldr	x19, [x8]
	sub	w21, w25, w19
	cmp	w21, #1
	b.eq	LBB0_35
; %bb.34:
	mov	x25, x9
	bl	_usage
	mov	x9, x25
LBB0_35:
	add	x19, x24, x19, lsl #3
	ldur	x25, [x29, #-184]               ; 8-byte Folded Reload
	cbz	x9, LBB0_37
; %bb.36:
Lloh53:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
Lloh56:
	adrp	x1, l_.str.9@PAGE
Lloh57:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_errx
LBB0_37:
	cmp	x23, #0
	ccmp	x25, #0, #4, ne
	cset	w24, ne
	b.eq	LBB0_39
; %bb.38:
	mov	x21, x23
Lloh58:
	adrp	x8, __PATH_NETDUMP@GOTPAGE
Lloh59:
	ldr	x8, [x8, __PATH_NETDUMP@GOTPAGEOFF]
Lloh60:
	ldr	x0, [x8]
	ldur	x1, [x29, #-224]                ; 8-byte Folded Reload
	bl	_opendumpdev
	mov	x23, x0
	sub	x0, x29, #136
	mov	w1, #56
	bl	_bzero
	ldur	w8, [x29, #-172]                ; 4-byte Folded Reload
	cbnz	w8, LBB0_44
	b	LBB0_46
LBB0_39:
	cbnz	x23, LBB0_79
; %bb.40:
	cbnz	x25, LBB0_79
; %bb.41:
	cmp	w21, #0
	b.le	LBB0_79
; %bb.42:
	ldr	x0, [x19]
Lloh61:
	adrp	x1, l_.str.10@PAGE
Lloh62:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
Lloh63:
	adrp	x8, __PATH_DEVNULL@GOTPAGE
Lloh64:
	ldr	x8, [x8, __PATH_DEVNULL@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x19, eq
	cset	w21, eq
	ldr	x0, [x8]
	ldur	x25, [x29, #-224]               ; 8-byte Folded Reload
	mov	x1, x25
	bl	_opendumpdev
	mov	x23, x0
	orr	w20, w21, w20
	orr	w8, w28, w20
	tbz	w8, #0, LBB0_45
; %bb.43:
	sub	x0, x29, #136
	mov	w1, #56
	bl	_bzero
	mov	x25, #0
	mov	x21, #0
	cbz	w20, LBB0_46
LBB0_44:
Lloh65:
	adrp	x8, _KDA_REMOVE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _KDA_REMOVE@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	stur	w8, [x29, #-136]
	b	LBB0_47
LBB0_45:
	mov	x0, x23
	mov	x1, x25
	bl	_check_size
	sub	x0, x29, #136
	mov	w1, #56
	bl	_bzero
	mov	x25, #0
	mov	x21, #0
LBB0_46:
	stur	w22, [x29, #-136]
LBB0_47:
Lloh68:
	adrp	x8, _KERNELDUMP_COMP_NONE@GOTPAGE
Lloh69:
	ldr	x8, [x8, _KERNELDUMP_COMP_NONE@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	stur	w8, [x29, #-88]
	orr	w8, w26, w28
	cmp	w8, #1
	b.ne	LBB0_49
; %bb.48:
Lloh71:
	adrp	x8, _KERNELDUMP_COMP_ZSTD@GOTPAGE
Lloh72:
	ldr	x8, [x8, _KERNELDUMP_COMP_ZSTD@GOTPAGEOFF]
Lloh73:
	adrp	x9, _KERNELDUMP_COMP_GZIP@GOTPAGE
Lloh74:
	ldr	x9, [x9, _KERNELDUMP_COMP_GZIP@GOTPAGEOFF]
	cmp	w26, #0
	csel	x8, x8, x9, ne
	ldr	w8, [x8]
	stur	w8, [x29, #-88]
LBB0_49:
	cbz	w24, LBB0_68
; %bb.50:
	sub	x0, x29, #160
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh75:
	adrp	x20, _AF_INET@GOTPAGE
Lloh76:
	ldr	x20, [x20, _AF_INET@GOTPAGEOFF]
	ldr	x8, [x20]
	stur	x8, [x29, #-144]
Lloh77:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh78:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	stur	w8, [x29, #-152]
	stur	xzr, [x29, #-168]
	sub	x2, x29, #160
	sub	x3, x29, #168
	mov	x0, x21
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_52
; %bb.51:
	bl	_gai_strerror
	mov	x2, x0
Lloh80:
	adrp	x1, l_.str.11@PAGE
Lloh81:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_52:
	ldur	x8, [x29, #-168]
	cbnz	x8, LBB0_54
; %bb.53:
	str	x21, [sp, #-16]!
Lloh82:
	adrp	x1, l_.str.12@PAGE
Lloh83:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w0, #1
	bl	_errx
	add	sp, sp, #16
	ldur	x8, [x29, #-168]
LBB0_54:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_inet_ntoa
	mov	x21, x0
	ldur	x0, [x29, #-168]
	bl	_freeaddrinfo
	ldur	w0, [x29, #-92]
	ldr	x1, [x19]
	mov	w2, #4
	bl	_strlcpy
	cmp	w0, #4
	b.lo	LBB0_56
; %bb.55:
Lloh84:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh85:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp, #-16]!
Lloh87:
	adrp	x1, l_.str.13@PAGE
Lloh88:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_errx
	add	sp, sp, #16
LBB0_56:
	sub	x22, x29, #136
	add	x1, x22, #40
	mov	x0, x21
	bl	_inet_aton
	cbnz	x0, LBB0_58
; %bb.57:
Lloh89:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh90:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
	str	x21, [sp, #-16]!
Lloh92:
	adrp	x1, l_.str.14@PAGE
Lloh93:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_errx
	add	sp, sp, #16
LBB0_58:
	add	x1, x22, #36
	mov	x0, x25
	bl	_inet_aton
	cbnz	x0, LBB0_60
; %bb.59:
Lloh94:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh95:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
	str	x25, [sp, #-16]!
Lloh97:
	adrp	x1, l_.str.15@PAGE
Lloh98:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_errx
	add	sp, sp, #16
LBB0_60:
	cbnz	x27, LBB0_65
; %bb.61:
	ldr	x0, [x19]
	bl	_find_gateway
	mov	x27, x0
	cbnz	x0, LBB0_65
; %bb.62:
Lloh99:
	adrp	x8, _verbose@GOTPAGE
Lloh100:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	cbz	w8, LBB0_64
; %bb.63:
Lloh102:
	adrp	x0, l_.str.16@PAGE
Lloh103:
	add	x0, x0, l_.str.16@PAGEOFF
	mov	x1, x21
	bl	_printf
LBB0_64:
	mov	x27, x21
LBB0_65:
	sub	x8, x29, #136
	add	x1, x8, #32
	mov	x0, x27
	bl	_inet_aton
	cbnz	x0, LBB0_67
; %bb.66:
Lloh104:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh106:
	ldr	w0, [x8]
	str	x27, [sp, #-16]!
Lloh107:
	adrp	x1, l_.str.17@PAGE
Lloh108:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_errx
	add	sp, sp, #16
LBB0_67:
	ldr	x8, [x20]
	stur	x8, [x29, #-112]
LBB0_68:
Lloh109:
	adrp	x8, _DIOCSKERNELDUMP@GOTPAGE
Lloh110:
	ldr	x8, [x8, _DIOCSKERNELDUMP@GOTPAGEOFF]
Lloh111:
	ldr	w1, [x8]
	sub	x2, x29, #136
	mov	x0, x23
	bl	_ioctl
	mov	x20, x0
Lloh112:
	adrp	x8, _errno@GOTPAGE
Lloh113:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh114:
	ldr	w19, [x8]
	ldur	x0, [x29, #-120]
	ldur	w1, [x29, #-128]
	bl	_explicit_bzero
	ldur	x0, [x29, #-120]
	bl	_free
	sub	x0, x29, #136
	mov	w1, #56
	bl	_explicit_bzero
	cmp	w20, #0
	ccmp	w19, #0, #4, ne
	b.eq	LBB0_76
; %bb.69:
Lloh115:
	adrp	x20, _EX_OSERR@GOTPAGE
Lloh116:
	ldr	x20, [x20, _EX_OSERR@GOTPAGEOFF]
	cbz	w24, LBB0_75
; %bb.70:
Lloh117:
	adrp	x8, _ENXIO@GOTPAGE
Lloh118:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh119:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_72
; %bb.71:
Lloh120:
	adrp	x1, l_.str.18@PAGE
Lloh121:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_74
LBB0_72:
Lloh122:
	adrp	x8, _ENODEV@GOTPAGE
Lloh123:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh124:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_75
; %bb.73:
Lloh125:
	adrp	x1, l_.str.19@PAGE
Lloh126:
	add	x1, x1, l_.str.19@PAGEOFF
LBB0_74:
	ldr	w0, [x20]
	bl	_errx
LBB0_75:
	ldr	w0, [x20]
Lloh127:
	adrp	x2, l_.str.20@PAGE
Lloh128:
	add	x2, x2, l_.str.20@PAGEOFF
	mov	x1, x19
	bl	_errc
LBB0_76:
Lloh129:
	adrp	x8, _verbose@GOTPAGE
Lloh130:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh131:
	ldr	w8, [x8]
	cbz	w8, LBB0_78
LBB0_77:
	bl	_listdumpdev
LBB0_78:
Lloh132:
	adrp	x8, _EX_OK@GOTPAGE
Lloh133:
	ldr	x8, [x8, _EX_OK@GOTPAGEOFF]
Lloh134:
	ldr	w0, [x8]
	bl	_exit
LBB0_79:
	bl	_usage
	brk	#0x1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpAdd	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_22-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_KDA_APPEND,4,2                 ; @KDA_APPEND
	.comm	_KERNELDUMP_ENC_NONE,4,2        ; @KERNELDUMP_ENC_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"C:c:g:i:k:lrs:vZz"

	.comm	_optarg,8,3                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"chacha"

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

	.comm	_KERNELDUMP_ENC_CHACHA20,4,2    ; @KERNELDUMP_ENC_CHACHA20
l_.str.3:                               ; @.str.3
	.asciz	"aes-cbc"

l_.str.4:                               ; @.str.4
	.asciz	"aes256-cbc"

	.comm	_KERNELDUMP_ENC_AES_256_CBC,4,2 ; @KERNELDUMP_ENC_AES_256_CBC
	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
l_.str.5:                               ; @.str.5
	.asciz	"Unrecognized cipher algorithm '%s'"

l_.str.6:                               ; @.str.6
	.asciz	"-i index must be between zero and %d."

	.comm	_verbose,4,2                    ; @verbose
l_.str.7:                               ; @.str.7
	.asciz	"The -z and -Z options are mutually exclusive."

l_.str.8:                               ; @.str.8
	.asciz	"The -i and -r options are mutually exclusive."

	.comm	_optind,8,3                     ; @optind
	.comm	_EX_OK,4,2                      ; @EX_OK
	.comm	_EX_UNAVAILABLE,4,2             ; @EX_UNAVAILABLE
l_.str.9:                               ; @.str.9
	.asciz	"Unable to use the public key. Recompile dumpon with OpenSSL support."

	.comm	__PATH_NETDUMP,8,3              ; @_PATH_NETDUMP
l_.str.10:                              ; @.str.10
	.asciz	"off"

	.comm	__PATH_DEVNULL,8,3              ; @_PATH_DEVNULL
	.comm	_KDA_REMOVE,4,2                 ; @KDA_REMOVE
	.comm	_KERNELDUMP_COMP_NONE,4,2       ; @KERNELDUMP_COMP_NONE
	.comm	_KERNELDUMP_COMP_ZSTD,4,2       ; @KERNELDUMP_COMP_ZSTD
	.comm	_KERNELDUMP_COMP_GZIP,4,2       ; @KERNELDUMP_COMP_GZIP
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
l_.str.11:                              ; @.str.11
	.asciz	"%s"

l_.str.12:                              ; @.str.12
	.asciz	"failed to resolve '%s'"

l_.str.13:                              ; @.str.13
	.asciz	"invalid interface name '%s'"

l_.str.14:                              ; @.str.14
	.asciz	"invalid server address '%s'"

l_.str.15:                              ; @.str.15
	.asciz	"invalid client address '%s'"

l_.str.16:                              ; @.str.16
	.asciz	"failed to look up gateway for %s\n"

l_.str.17:                              ; @.str.17
	.asciz	"invalid gateway address '%s'"

	.comm	_DIOCSKERNELDUMP,4,2            ; @DIOCSKERNELDUMP
	.comm	_errno,4,2                      ; @errno
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.18:                              ; @.str.18
	.asciz	"Unable to configure netdump because the interface's link is down."

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.19:                              ; @.str.19
	.asciz	"Unable to configure netdump because the interface driver does not yet support netdump."

l_.str.20:                              ; @.str.20
	.asciz	"ioctl(DIOCSKERNELDUMP)"

.subsections_via_symbols
