	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_proc_net_dev
_scan_proc_net_dev:                     ## @scan_proc_net_dev
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, -576(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	_PF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_23
## %bb.4:
	movl	%eax, %r15d
	movq	%r14, -568(%rbp)                ## 8-byte Spill
	leaq	-560(%rbp), %r12
	movq	%r12, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:
	movl	$1, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	movq	%r12, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_16
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpl	$3, %r14d
	jb	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	-560(%rbp), %al
	testb	%al, %al
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r13
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movsbl	(%r13), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movzbl	1(%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_9
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$10, %al
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-576(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r15d, %edx
	movq	-568(%rbp), %rcx                ## 8-byte Reload
	callq	_add_linux_if
	cmpl	$-1, %eax
	jne	LBB0_15
	jmp	LBB0_19
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpq	(%rax), %rdx
	je	LBB0_21
## %bb.2:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %r12d
	jmp	LBB0_21
LBB0_16:
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rcx
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	callq	_pcap_fmt_errmsg_for_errno
LBB0_19:
	movl	$-1, %r12d
	jmp	LBB0_20
LBB0_23:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	movq	%rbx, %rdi
	callq	_fclose
	movl	$-1, %r12d
	jmp	LBB0_21
LBB0_17:
	xorl	%r12d, %r12d
LBB0_20:
	movl	%r15d, %edi
	callq	_close
	movq	%rbx, %rdi
	callq	_fclose
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.22:
	movl	%r12d, %eax
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/net/dev"

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

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Can't open /proc/net/dev"

	.comm	_PF_UNIX,4,2                    ## @PF_UNIX
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
L_.str.3:                               ## @.str.3
	.asciz	"socket"

L_.str.4:                               ## @.str.4
	.asciz	"Error reading /proc/net/dev"

	.no_dead_strip	_scan_proc_net_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_proc_net_dev
_scan_proc_net_dev:                     ; @scan_proc_net_dev
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #528
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
Lloh7:
	adrp	x8, _PF_UNIX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PF_UNIX@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_18
; %bb.2:
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #512
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_15
; %bb.3:
	mov	w24, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x23]
	cmp	w8, #0
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	add	x0, sp, #8
	mov	w1, #512
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_15
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w24, #3
	b.lo	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [sp, #8]
	cbz	w8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, sp, #8
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_isascii
	cbz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrsb	w0, [x23]
	bl	_isspace
	cbz	x0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w8, [x23, #1]!
	cbnz	w8, LBB0_9
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	bl	_add_linux_if
	cmn	w0, #1
	b.ne	LBB0_5
	b	LBB0_17
LBB0_13:
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	x2, [x8]
Lloh16:
	adrp	x8, _ENOENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_19
; %bb.14:
	mov	w20, #0
	b	LBB0_22
LBB0_15:
	mov	x0, x19
	bl	_ferror
	cbz	x0, LBB0_20
; %bb.16:
Lloh19:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	x2, [x8]
Lloh25:
	adrp	x3, l_.str.4@PAGE
Lloh26:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
LBB0_17:
	mov	w20, #-1
	b	LBB0_21
LBB0_18:
Lloh27:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _errno@GOTPAGE
Lloh31:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh32:
	ldr	x2, [x8]
Lloh33:
	adrp	x3, l_.str.3@PAGE
Lloh34:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	mov	x0, x19
	bl	_fclose
	mov	w20, #-1
	b	LBB0_22
LBB0_19:
Lloh35:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x3, l_.str.2@PAGE
Lloh39:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	mov	w20, #-1
	b	LBB0_22
LBB0_20:
	mov	w20, #0
LBB0_21:
	mov	x0, x21
	bl	_close
	mov	x0, x19
	bl	_fclose
LBB0_22:
	ldur	x8, [x29, #-72]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x20
	add	sp, sp, #528
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/net/dev"

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

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Can't open /proc/net/dev"

	.comm	_PF_UNIX,4,2                    ; @PF_UNIX
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
l_.str.3:                               ; @.str.3
	.asciz	"socket"

l_.str.4:                               ; @.str.4
	.asciz	"Error reading /proc/net/dev"

	.no_dead_strip	_scan_proc_net_dev
.subsections_via_symbols
