	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_platform_finddevs         ## -- Begin function pcap_platform_finddevs
	.p2align	4, 0x90
_pcap_platform_finddevs:                ## @pcap_platform_finddevs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_can_be_bound@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_get_if_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pcap_findalldevs_interfaces
	movl	$-1, %ebx
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_scan_sys_class_net
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_scan_proc_net_dev
	cmpl	$-1, %eax
	je	LBB0_6
LBB0_5:
	movq	_PCAP_IF_UP@GOTPCREL(%rip), %rax
	movq	_PCAP_IF_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_any_descr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %r8
	callq	_add_dev
	xorl	%ebx, %ebx
	cmpq	$1, %rax
	sbbl	%ebx, %ebx
	jmp	LBB0_6
LBB0_2:
	movl	%eax, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_can_be_bound,4,2               ## @can_be_bound
	.comm	_get_if_flags,4,2               ## @get_if_flags
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"any"

	.comm	_PCAP_IF_UP,4,2                 ## @PCAP_IF_UP
	.comm	_PCAP_IF_RUNNING,4,2            ## @PCAP_IF_RUNNING
	.comm	_PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE,4,2 ## @PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE
	.comm	_any_descr,4,2                  ## @any_descr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_platform_finddevs         ; -- Begin function pcap_platform_finddevs
	.p2align	2
_pcap_platform_finddevs:                ; @pcap_platform_finddevs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _can_be_bound@GOTPAGE
Lloh1:
	ldr	x8, [x8, _can_be_bound@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _get_if_flags@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_if_flags@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_pcap_findalldevs_interfaces
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_scan_sys_class_net
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_scan_proc_net_dev
	cmn	w0, #1
	b.eq	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _PCAP_IF_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCAP_IF_UP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PCAP_IF_RUNNING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCAP_IF_RUNNING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh15:
	adrp	x8, _any_descr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _any_descr@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_add_dev
	cmp	x0, #0
	csetm	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_can_be_bound,4,2               ; @can_be_bound
	.comm	_get_if_flags,4,2               ; @get_if_flags
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"any"

	.comm	_PCAP_IF_UP,4,2                 ; @PCAP_IF_UP
	.comm	_PCAP_IF_RUNNING,4,2            ; @PCAP_IF_RUNNING
	.comm	_PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE,4,2 ; @PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE
	.comm	_any_descr,4,2                  ; @any_descr
.subsections_via_symbols
