	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dag_activate
_dag_activate:                          ## @dag_activate
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	72(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	112(%r13), %r15
	movq	%rbx, %rdi
	callq	_strlen
	leaq	16(%rax), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_49
## %bb.3:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strlen
	leaq	16(%rax), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_dag_parse_name
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	testb	$1, (%r15)
	jne	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	callq	_dag_config_init
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rax, %rdi
	callq	_dag_config_get_card_fd
	movl	%eax, 16(%r13)
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movl	(%r15), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_dag_attach_stream64
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:
	movq	_kNullAttributeUuid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15)
	movq	16(%r15), %rdi
	callq	_dag_config_get_root_component
	movl	%eax, 76(%r15)
	movq	_kComponentStreamFeatures@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_dag_component_get_subcomponent
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	16(%r15), %rdi
	movq	_kUint32AttributeStreamDropCount@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	callq	_dag_config_get_indexed_attribute_uuid
	movl	%eax, 72(%r15)
LBB0_16:
	movl	16(%r13), %edi
	movl	(%r15), %esi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-64(%rbp), %r8
	callq	_dag_get_stream_poll64
	testq	%rax, %rax
	js	LBB0_17
## %bb.19:
	leaq	64(%r15), %rax
	movq	-64(%rbp), %rcx
	movq	%rcx, 64(%r15)
	movq	%rax, 104(%r13)
	movq	(%r13), %rcx
	movq	_MAXIMUM_SNAPLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rcx, %rcx
	jle	LBB0_21
## %bb.20:
	cmpq	%rax, %rcx
	jle	LBB0_22
LBB0_21:
	movq	%rax, (%r13)
LBB0_22:
	xorl	%edx, %edx
	cmpq	$0, 88(%r13)
	sete	%dl
	shll	$16, %edx
	movl	%edx, -52(%rbp)
	movslq	80(%r13), %rax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rcx
	addl	%esi, %ecx
	movl	%ecx, -48(%rbp)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movl	%eax, -44(%rbp)
	movl	16(%r13), %edi
	movl	(%r15), %esi
	leaq	-48(%rbp), %rcx
	leaq	-64(%rbp), %r8
	callq	_dag_set_stream_poll64
	testq	%rax, %rax
	js	LBB0_23
## %bb.24:
	movl	16(%r13), %edi
	movl	(%r15), %esi
	callq	_dag_start_stream
	testq	%rax, %rax
	js	LBB0_25
## %bb.26:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r15)
	movl	16(%r13), %edi
	callq	_dag_info
	movl	(%rax), %eax
	cmpl	$16944, %eax                    ## imm = 0x4230
	je	LBB0_28
## %bb.27:
	cmpl	$16896, %eax                    ## imm = 0x4200
	jne	LBB0_29
LBB0_28:
	movl	$0, 4(%r15)
	xorl	%edi, %edi
	callq	_LT_FCS_DATALINK_EXT
	movq	%rax, 96(%r13)
	jmp	LBB0_36
LBB0_1:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_pcap_snprintf
	movl	$-1, %eax
	jmp	LBB0_48
LBB0_49:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movq	%r13, %rdi
	callq	_pcap_cleanup_live_common
	jmp	LBB0_47
LBB0_4:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_46
LBB0_6:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_pcap_snprintf
	jmp	LBB0_46
LBB0_8:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_9
LBB0_11:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
LBB0_9:
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_46
LBB0_13:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_45
LBB0_17:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rcx
	jmp	LBB0_18
LBB0_23:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.8(%rip), %rcx
LBB0_18:
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
LBB0_43:
	movl	16(%r13), %edi
	movl	(%r15), %esi
	callq	_dag_detach_stream
	testq	%rax, %rax
	jns	LBB0_45
## %bb.44:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.15(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_45:
	movq	16(%r15), %rdi
	callq	_dag_config_dispose
	movq	%r13, %rdi
	callq	_delete_pcap_dag
LBB0_46:
	movq	%r13, %rdi
	callq	_pcap_cleanup_live_common
	movq	%r14, %rdi
	callq	_free
LBB0_47:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_48:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.9(%rip), %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_43
LBB0_29:
	movl	$32, 4(%r15)
	leaq	L_.str.10(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_30
## %bb.31:
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, %r12d
	cmpl	$32, %eax
	ja	LBB0_40
## %bb.32:
	movl	%r12d, %eax
	movabsq	$4295032833, %rcx               ## imm = 0x100010001
	btq	%rax, %rcx
	jae	LBB0_40
## %bb.33:
	movl	%r12d, 4(%r15)
	shrl	$4, %r12d
	andl	$15, %r12d
	jmp	LBB0_34
LBB0_30:
	movl	$2, %r12d
LBB0_34:
	leaq	L_.str.12(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movl	%r12d, %edi
	callq	_LT_FCS_DATALINK_EXT
	movq	%rax, 96(%r13)
	movl	$0, 4(%r15)
LBB0_36:
	movl	80(%r13), %eax
	movl	%eax, 8(%r15)
	movl	$-1, 8(%r13)
	movq	%r13, %rdi
	callq	_dag_get_datalink
	testq	%rax, %rax
	js	LBB0_41
## %bb.37:
	movq	$0, 64(%r13)
	movq	%r13, %rdi
	callq	_new_pcap_dag
	testq	%rax, %rax
	js	LBB0_38
## %bb.39:
	movl	$-1, 12(%r13)
	movq	%r14, %rdi
	callq	_free
	movq	_dag_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r13)
	movq	_dag_inject@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r13)
	movq	_dag_setfilter@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
	movq	$0, 40(%r13)
	movq	_dag_set_datalink@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r13)
	movq	_pcap_getnonblock_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movq	_dag_setnonblock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	movq	_dag_stats@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	_dag_platform_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movq	$0, 40(%r15)
	xorl	%eax, %eax
	jmp	LBB0_48
LBB0_38:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.13(%rip), %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_41
LBB0_40:
	movl	60(%r13), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdx
	movq	%r14, %rcx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_pcap_snprintf
LBB0_41:
	movl	16(%r13), %edi
	movl	(%r15), %esi
	callq	_dag_stop_stream
	testq	%rax, %rax
	jns	LBB0_43
## %bb.42:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.14(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device is NULL"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate string for device name"

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

L_.str.3:                               ## @.str.3
	.asciz	"dag_parse_name: tx (even numbered) streams not supported for capture"

L_.str.4:                               ## @.str.4
	.asciz	"dag_config_init %s"

L_.str.5:                               ## @.str.5
	.asciz	"dag_config_get_card_fd %s"

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

	.comm	_kNullAttributeUuid,4,2         ## @kNullAttributeUuid
	.comm	_kComponentStreamFeatures,4,2   ## @kComponentStreamFeatures
	.comm	_kUint32AttributeStreamDropCount,4,2 ## @kUint32AttributeStreamDropCount
L_.str.7:                               ## @.str.7
	.asciz	"dag_get_stream_poll"

	.comm	_MAXIMUM_SNAPLEN,8,3            ## @MAXIMUM_SNAPLEN
L_.str.8:                               ## @.str.8
	.asciz	"dag_set_stream_poll"

L_.str.9:                               ## @.str.9
	.asciz	"dag_start_stream %s"

L_.str.10:                              ## @.str.10
	.asciz	"ERF_FCS_BITS"

L_.str.11:                              ## @.str.11
	.asciz	"pcap_activate %s: bad ERF_FCS_BITS value (%d) in environment"

L_.str.12:                              ## @.str.12
	.asciz	"ERF_DONT_STRIP_FCS"

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

	.comm	_dag_read,4,2                   ## @dag_read
	.comm	_dag_inject,4,2                 ## @dag_inject
	.comm	_dag_setfilter,4,2              ## @dag_setfilter
	.comm	_dag_set_datalink,4,2           ## @dag_set_datalink
	.comm	_pcap_getnonblock_fd,4,2        ## @pcap_getnonblock_fd
	.comm	_dag_setnonblock,4,2            ## @dag_setnonblock
	.comm	_dag_stats,4,2                  ## @dag_stats
	.comm	_dag_platform_cleanup,4,2       ## @dag_platform_cleanup
	.comm	_stderr,4,2                     ## @stderr
L_.str.14:                              ## @.str.14
	.asciz	"dag_stop_stream: %s\n"

L_.str.15:                              ## @.str.15
	.asciz	"dag_detach_stream: %s\n"

	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
	.comm	_MAX_DAG_SNAPLEN,8,3            ## @MAX_DAG_SNAPLEN
	.comm	_MIN_DAG_SNAPLEN,8,3            ## @MIN_DAG_SNAPLEN
	.comm	_snaplen,8,3                    ## @snaplen
	.no_dead_strip	_dag_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dag_activate
_dag_activate:                          ; @dag_activate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	ldr	x22, [x0, #72]
	cbz	x22, LBB0_18
; %bb.1:
	ldr	x21, [x19, #112]
	mov	x0, x22
	bl	_strlen
	add	x0, x0, #16
	bl	_malloc
	cbz	x0, LBB0_19
; %bb.2:
	mov	x20, x0
	mov	x0, x22
	bl	_strlen
	add	x2, x0, #16
	mov	x0, x22
	mov	x1, x20
	mov	x3, x21
	bl	_dag_parse_name
	tbnz	x0, #63, LBB0_20
; %bb.3:
	ldrb	w8, [x21]
	tbnz	w8, #0, LBB0_21
; %bb.4:
	mov	x0, x20
	bl	_dag_config_init
	str	x0, [x21, #16]
	cbz	x0, LBB0_22
; %bb.5:
	bl	_dag_config_get_card_fd
	str	w0, [x19, #16]
	tbnz	w0, #31, LBB0_23
; %bb.6:
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #0
	bl	_dag_attach_stream64
	tbnz	x0, #63, LBB0_24
; %bb.7:
Lloh0:
	adrp	x8, _kNullAttributeUuid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kNullAttributeUuid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #72]
	ldr	x0, [x21, #16]
	bl	_dag_config_get_root_component
	str	w0, [x21, #76]
Lloh3:
	adrp	x8, _kComponentStreamFeatures@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kComponentStreamFeatures@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_dag_component_get_subcomponent
	cbz	x0, LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _kUint32AttributeStreamDropCount@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kUint32AttributeStreamDropCount@GOTPAGEOFF]
	ldr	x0, [x21, #16]
Lloh8:
	ldr	w1, [x8]
	ldr	w8, [x21]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w2, w8, #1
	bl	_dag_config_get_indexed_attribute_uuid
	str	w0, [x21, #72]
LBB0_9:
	ldr	w0, [x19, #16]
	ldr	w1, [x21]
	sub	x2, x29, #36
	add	x3, sp, #32
	add	x4, sp, #24
	bl	_dag_get_stream_poll64
	tbnz	x0, #63, LBB0_25
; %bb.10:
	ldr	x8, [sp, #24]
	mov	x9, x21
	str	x8, [x9, #64]!
	str	x9, [x19, #104]
	ldr	x9, [x19]
Lloh9:
	adrp	x8, _MAXIMUM_SNAPLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAXIMUM_SNAPLEN@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x9, #1
	b.lt	LBB0_12
; %bb.11:
	cmp	x9, x8
	b.le	LBB0_13
LBB0_12:
	str	x8, [x19]
LBB0_13:
	ldr	x8, [x19, #88]
	cmp	x8, #0
	cset	w8, eq
	lsl	w2, w8, #16
	stur	w2, [x29, #-36]
	ldr	w8, [x19, #80]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	mov	w10, #1000
	msub	w8, w9, w10, w8
	mul	w8, w8, w10
	stp	w9, w8, [sp, #32]
	ldr	w0, [x19, #16]
	ldr	w1, [x21]
	add	x3, sp, #32
	add	x4, sp, #24
	bl	_dag_set_stream_poll64
	tbnz	x0, #63, LBB0_26
; %bb.14:
	ldr	w0, [x19, #16]
	ldr	w1, [x21]
	bl	_dag_start_stream
	tbnz	x0, #63, LBB0_27
; %bb.15:
	stp	xzr, xzr, [x21, #48]
	ldr	w0, [x19, #16]
	bl	_dag_info
	ldr	w8, [x0]
	mov	w9, #16944
	cmp	w8, w9
	b.eq	LBB0_17
; %bb.16:
	mov	w9, #16896
	cmp	w8, w9
	b.ne	LBB0_28
LBB0_17:
	str	wzr, [x21, #4]
	mov	w0, #0
	bl	_LT_FCS_DATALINK_EXT
	str	x0, [x19, #96]
	b	LBB0_35
LBB0_18:
	ldr	w0, [x19, #60]
Lloh12:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	bl	_pcap_snprintf
	mov	w0, #-1
	b	LBB0_47
LBB0_19:
	ldr	w0, [x19, #60]
Lloh17:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x3, l_.str.1@PAGE
Lloh24:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	mov	x0, x19
	bl	_pcap_cleanup_live_common
	b	LBB0_46
LBB0_20:
	ldr	w0, [x19, #60]
Lloh25:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _errno@GOTPAGE
Lloh29:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
Lloh31:
	adrp	x3, l_.str.2@PAGE
Lloh32:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_45
LBB0_21:
	ldr	w0, [x19, #60]
Lloh33:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x2, l_.str.3@PAGE
Lloh37:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_pcap_snprintf
	b	LBB0_45
LBB0_22:
	ldr	w0, [x19, #60]
Lloh38:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x8, _errno@GOTPAGE
Lloh42:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh44:
	adrp	x3, l_.str.4@PAGE
Lloh45:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_45
LBB0_23:
	ldr	w0, [x19, #60]
Lloh46:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x8, _errno@GOTPAGE
Lloh50:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh52:
	adrp	x3, l_.str.5@PAGE
Lloh53:
	add	x3, x3, l_.str.5@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_45
LBB0_24:
	ldr	w0, [x19, #60]
Lloh54:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _errno@GOTPAGE
Lloh58:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
Lloh60:
	adrp	x3, l_.str.6@PAGE
Lloh61:
	add	x3, x3, l_.str.6@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_44
LBB0_25:
	ldr	w0, [x19, #60]
Lloh62:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x8, _errno@GOTPAGE
Lloh66:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
Lloh68:
	adrp	x3, l_.str.7@PAGE
Lloh69:
	add	x3, x3, l_.str.7@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_42
LBB0_26:
	ldr	w0, [x19, #60]
Lloh70:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
Lloh73:
	adrp	x8, _errno@GOTPAGE
Lloh74:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh75:
	ldr	w2, [x8]
Lloh76:
	adrp	x3, l_.str.8@PAGE
Lloh77:
	add	x3, x3, l_.str.8@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_42
LBB0_27:
	ldr	w0, [x19, #60]
Lloh78:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
Lloh81:
	adrp	x8, _errno@GOTPAGE
Lloh82:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh84:
	adrp	x3, l_.str.9@PAGE
Lloh85:
	add	x3, x3, l_.str.9@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_42
LBB0_28:
	mov	w8, #32
	str	w8, [x21, #4]
Lloh86:
	adrp	x0, l_.str.10@PAGE
Lloh87:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_32
; %bb.29:
	bl	_atoi
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #32
	b.hi	LBB0_39
; %bb.30:
	mov	w8, w0
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #4294967297
	movk	x9, #1, lsl #16
	tst	x8, x9
	b.eq	LBB0_39
; %bb.31:
	str	w0, [x21, #4]
	ubfx	w22, w0, #4, #4
	b	LBB0_33
LBB0_32:
	mov	w22, #2
LBB0_33:
Lloh88:
	adrp	x0, l_.str.12@PAGE
Lloh89:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_35
; %bb.34:
	mov	x0, x22
	bl	_LT_FCS_DATALINK_EXT
	str	x0, [x19, #96]
	str	wzr, [x21, #4]
LBB0_35:
	ldr	w8, [x19, #80]
	str	w8, [x21, #8]
	mov	w8, #-1
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_dag_get_datalink
	tbnz	x0, #63, LBB0_40
; %bb.36:
	str	xzr, [x19, #64]
	mov	x0, x19
	bl	_new_pcap_dag
	tbnz	x0, #63, LBB0_38
; %bb.37:
	mov	w8, #-1
	str	w8, [x19, #12]
	mov	x0, x20
	bl	_free
	mov	w0, #0
Lloh90:
	adrp	x8, _dag_read@GOTPAGE
Lloh91:
	ldr	x8, [x8, _dag_read@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh93:
	adrp	x8, _dag_inject@GOTPAGE
Lloh94:
	ldr	x8, [x8, _dag_inject@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
Lloh96:
	adrp	x9, _dag_setfilter@GOTPAGE
Lloh97:
	ldr	x9, [x9, _dag_setfilter@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh99:
	adrp	x8, _dag_set_datalink@GOTPAGE
Lloh100:
	ldr	x8, [x8, _dag_set_datalink@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	str	w8, [x19, #36]
Lloh102:
	adrp	x8, _pcap_getnonblock_fd@GOTPAGE
Lloh103:
	ldr	x8, [x8, _pcap_getnonblock_fd@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
Lloh105:
	adrp	x9, _dag_setnonblock@GOTPAGE
Lloh106:
	ldr	x9, [x9, _dag_setnonblock@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
Lloh108:
	adrp	x8, _dag_stats@GOTPAGE
Lloh109:
	ldr	x8, [x8, _dag_stats@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
Lloh111:
	adrp	x9, _dag_platform_cleanup@GOTPAGE
Lloh112:
	ldr	x9, [x9, _dag_platform_cleanup@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #20]
	str	xzr, [x19, #40]
	stp	xzr, xzr, [x21, #24]
	str	xzr, [x21, #40]
	b	LBB0_47
LBB0_38:
	ldr	w0, [x19, #60]
Lloh114:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh115:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh116:
	ldr	w1, [x8]
Lloh117:
	adrp	x8, _errno@GOTPAGE
Lloh118:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh119:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh120:
	adrp	x3, l_.str.13@PAGE
Lloh121:
	add	x3, x3, l_.str.13@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_40
LBB0_39:
	ldr	w8, [x19, #60]
Lloh122:
	adrp	x9, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh123:
	ldr	x9, [x9, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x9]
	stp	x20, x0, [sp]
Lloh125:
	adrp	x2, l_.str.11@PAGE
Lloh126:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x8
	bl	_pcap_snprintf
LBB0_40:
	ldr	w0, [x19, #16]
	ldr	w1, [x21]
	bl	_dag_stop_stream
	tbz	x0, #63, LBB0_42
; %bb.41:
Lloh127:
	adrp	x8, _stderr@GOTPAGE
Lloh128:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh129:
	ldr	w22, [x8]
Lloh130:
	adrp	x8, _errno@GOTPAGE
Lloh131:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh132:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh133:
	adrp	x1, l_.str.14@PAGE
Lloh134:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x22
	bl	_fprintf
LBB0_42:
	ldr	w0, [x19, #16]
	ldr	w1, [x21]
	bl	_dag_detach_stream
	tbz	x0, #63, LBB0_44
; %bb.43:
Lloh135:
	adrp	x8, _stderr@GOTPAGE
Lloh136:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh137:
	ldr	w22, [x8]
Lloh138:
	adrp	x8, _errno@GOTPAGE
Lloh139:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh140:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh141:
	adrp	x1, l_.str.15@PAGE
Lloh142:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x22
	bl	_fprintf
LBB0_44:
	ldr	x0, [x21, #16]
	bl	_dag_config_dispose
	mov	x0, x19
	bl	_delete_pcap_dag
LBB0_45:
	mov	x0, x19
	bl	_pcap_cleanup_live_common
	mov	x0, x20
	bl	_free
LBB0_46:
Lloh143:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh144:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
Lloh145:
	ldr	w0, [x8]
LBB0_47:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device is NULL"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate string for device name"

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

l_.str.3:                               ; @.str.3
	.asciz	"dag_parse_name: tx (even numbered) streams not supported for capture"

l_.str.4:                               ; @.str.4
	.asciz	"dag_config_init %s"

l_.str.5:                               ; @.str.5
	.asciz	"dag_config_get_card_fd %s"

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

	.comm	_kNullAttributeUuid,4,2         ; @kNullAttributeUuid
	.comm	_kComponentStreamFeatures,4,2   ; @kComponentStreamFeatures
	.comm	_kUint32AttributeStreamDropCount,4,2 ; @kUint32AttributeStreamDropCount
l_.str.7:                               ; @.str.7
	.asciz	"dag_get_stream_poll"

	.comm	_MAXIMUM_SNAPLEN,8,3            ; @MAXIMUM_SNAPLEN
l_.str.8:                               ; @.str.8
	.asciz	"dag_set_stream_poll"

l_.str.9:                               ; @.str.9
	.asciz	"dag_start_stream %s"

l_.str.10:                              ; @.str.10
	.asciz	"ERF_FCS_BITS"

l_.str.11:                              ; @.str.11
	.asciz	"pcap_activate %s: bad ERF_FCS_BITS value (%d) in environment"

l_.str.12:                              ; @.str.12
	.asciz	"ERF_DONT_STRIP_FCS"

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

	.comm	_dag_read,4,2                   ; @dag_read
	.comm	_dag_inject,4,2                 ; @dag_inject
	.comm	_dag_setfilter,4,2              ; @dag_setfilter
	.comm	_dag_set_datalink,4,2           ; @dag_set_datalink
	.comm	_pcap_getnonblock_fd,4,2        ; @pcap_getnonblock_fd
	.comm	_dag_setnonblock,4,2            ; @dag_setnonblock
	.comm	_dag_stats,4,2                  ; @dag_stats
	.comm	_dag_platform_cleanup,4,2       ; @dag_platform_cleanup
	.comm	_stderr,4,2                     ; @stderr
l_.str.14:                              ; @.str.14
	.asciz	"dag_stop_stream: %s\n"

l_.str.15:                              ; @.str.15
	.asciz	"dag_detach_stream: %s\n"

	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
	.comm	_MAX_DAG_SNAPLEN,8,3            ; @MAX_DAG_SNAPLEN
	.comm	_MIN_DAG_SNAPLEN,8,3            ; @MIN_DAG_SNAPLEN
	.comm	_snaplen,8,3                    ; @snaplen
	.no_dead_strip	_dag_activate
.subsections_via_symbols
