	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_findalldevs_interfaces    ## -- Begin function pcap_findalldevs_interfaces
	.p2align	4, 0x90
_pcap_findalldevs_interfaces:           ## @pcap_findalldevs_interfaces
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-56(%rbp), %rdi
	callq	_getifaddrs
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %ebx
	jmp	LBB0_28
LBB0_1:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_2
## %bb.4:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r13d, %r13d
	xorl	%eax, %eax
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rsi
	subq	$8, %rsp
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	pushq	%r13
	pushq	%r10
	pushq	%r12
	pushq	%r9
	pushq	%rbx
	callq	_add_addr_to_if
	addq	$64, %rsp
	testq	%rax, %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	js	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	48(%r15), %r15
	testq	%r15, %r15
	je	LBB0_25
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%r15), %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	movq	%rax, %rbx
	incq	%rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %edi
	callq	_isdigit
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, -1(%rbx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%r14)
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rdi
	callq	*%r12
	testl	%eax, %eax
	je	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%r15), %r14
	testq	%r14, %r14
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_SA_LEN
	movq	%rax, %r9
	movq	32(%r15), %rbx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	xorl	%r9d, %r9d
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r15), %edx
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r15), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%r9, %r13
	callq	_SA_LEN
	movq	%r13, %r9
	movq	%rax, %r10
	movl	8(%r15), %edx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
	xorl	%r10d, %r10d
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %r13
	testq	%r13, %r13
	je	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, %r14
	movq	%r10, %rbx
	callq	_SA_LEN
	movq	%rbx, %r10
	movq	%r14, %r9
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%r15), %edx
	jmp	LBB0_22
LBB0_2:
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_25:
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_23:
	movl	$-1, %ebx
LBB0_26:
	movq	-56(%rbp), %rdi
LBB0_27:
	callq	_freeifaddrs
LBB0_28:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getifaddrs"

	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_findalldevs_interfaces    ; -- Begin function pcap_findalldevs_interfaces
	.p2align	2
_pcap_findalldevs_interfaces:           ; @pcap_findalldevs_interfaces
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	add	x0, sp, #56
	bl	_getifaddrs
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_pcap_fmt_errmsg_for_errno
	mov	w19, #-1
	b	LBB0_30
LBB0_2:
	ldr	x20, [sp, #56]
	cbz	x20, LBB0_25
; %bb.3:
	str	w23, [sp, #52]                  ; 4-byte Folded Spill
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x28, #0
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, #0
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x20]
	stp	x0, x19, [sp, #24]
	stp	x27, x28, [sp, #8]
	str	x26, [sp]
	mov	x0, x22
	ldr	w3, [sp, #52]                   ; 4-byte Folded Reload
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	mov	x7, x24
	bl	_add_addr_to_if
	tbnz	x0, #63, LBB0_27
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x20, [x20, #48]
	cbz	x20, LBB0_26
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x0, [x20]
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x0
	add	x24, x0, #1
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x24], #1
	bl	_isdigit
	cbnz	x0, LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldurb	w8, [x24, #-1]
	cbnz	w8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	strb	wzr, [x23]
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x20]
	blr	x21
	cbz	w0, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x23, [x20, #40]
	cbz	x23, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_SA_LEN
	mov	x24, x0
	ldr	x25, [x20, #32]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, #0
	mov	x24, #0
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [x20, #8]
Lloh8:
	adrp	x8, _IFF_BROADCAST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IFF_BROADCAST@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x26, [x20, #24]
	cbz	x26, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	bl	_SA_LEN
	mov	x27, x0
	ldr	w2, [x20, #8]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x27, #0
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh11:
	adrp	x8, _IFF_POINTOPOINT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_4
; %bb.23:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x28, [x20, #16]
	cbz	x28, LBB0_5
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x28
	bl	_SA_LEN
	ldr	w2, [x20, #8]
	b	LBB0_6
LBB0_25:
	mov	x0, #0
	mov	w19, #0
	b	LBB0_29
LBB0_26:
	mov	w19, #0
	b	LBB0_28
LBB0_27:
	mov	w19, #-1
LBB0_28:
	ldr	x0, [sp, #56]
LBB0_29:
	bl	_freeifaddrs
LBB0_30:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getifaddrs"

	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
.subsections_via_symbols
