	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movl	%eax, %r14d
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_socket
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movl	%eax, %r12d
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, -184(%rbp)
	movq	$0, -192(%rbp)
	movl	$0, -200(%rbp)
	movq	_SIOCGLIFNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-200(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_9
## %bb.3:
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movl	-200(%rbp), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %r13d
	movl	%r13d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_29
## %bb.4:
	movl	%r13d, -232(%rbp)
	movq	%rax, -224(%rbp)
	movq	(%rbx), %rcx
	movq	%rcx, -208(%rbp)
	movq	$0, -216(%rbp)
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	_SIOCGLIFCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-232(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_34
## %bb.5:
	movl	-232(%rbp), %eax
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_37
## %bb.6:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	addq	%rax, %rbx
	movq	%rdi, %r15
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_7:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_32
LBB0_8:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_31
LBB0_9:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_30
LBB0_10:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %r12
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r15), %rsi
	movl	-120(%rbp), %edx
	subq	$8, %rsp
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	movl	$4, %r9d
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	$4
	pushq	%rbx
	pushq	$4
	pushq	%r10
	pushq	$4
	pushq	%r12
	callq	_add_addr_to_if
	addq	$64, %rsp
	testq	%rax, %rax
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	js	LBB0_38
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	addq	$24, %r15
	cmpq	%rbx, %r15
	jae	LBB0_35
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r15), %rdi
	callq	*%r13
	testl	%eax, %eax
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	12(%r15), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	(%r15), %rsi
	cmovel	%r12d, %r14d
	movq	-128(%rbp), %rdi
	movl	$8, %edx
	callq	_strncpy
	movq	_SIOCGLIFFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	leaq	-128(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_27
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	12(%r15), %r13
	movq	-256(%rbp), %rdi
	movq	(%r15), %rsi
	movl	$8, %edx
	callq	_strncpy
	leaq	-244(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_SIOCGLIFNETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	leaq	-256(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_39
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%ebx, %ebx
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -120(%rbp)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-176(%rbp), %rdi
	movq	(%r15), %rsi
	movl	$8, %edx
	callq	_strncpy
	leaq	-164(%rbp), %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_SIOCGLIFBRDADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	leaq	-176(%rbp), %rdx
	callq	_ioctl
	leaq	-156(%rbp), %r10
	testq	%rax, %rax
	jns	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_40
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%r10d, %r10d
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -120(%rbp)
	je	LBB0_10
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %r12
	movq	-152(%rbp), %rdi
	movq	(%r15), %rsi
	movl	$8, %edx
	movq	%r10, %rbx
	callq	_strncpy
	leaq	-140(%rbp), %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_SIOCGLIFDSTADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	leaq	-152(%rbp), %rdx
	callq	_ioctl
	movq	%rbx, %r10
	leaq	-136(%rbp), %rbx
	testq	%rax, %rax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jns	LBB0_11
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_42
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_ENXIO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_12
## %bb.28:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-128(%rbp), %r9
	leaq	L_.str.6(%rip), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$8, %r8d
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %ebx
	jmp	LBB0_36
LBB0_29:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rcx
LBB0_30:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movl	%r12d, %edi
	callq	_close
LBB0_31:
	movl	%r14d, %edi
	callq	_close
LBB0_32:
	movl	$-1, %ebx
LBB0_33:
	movl	%ebx, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	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	%r15, %rdi
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movl	%r12d, %edi
	callq	_close
	movl	%r14d, %edi
	callq	_close
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	jmp	LBB0_32
LBB0_35:
	xorl	%ebx, %ebx
LBB0_36:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_37:
	callq	_free
	movl	%r12d, %edi
	callq	_close
	movl	%r14d, %edi
	callq	_close
	jmp	LBB0_33
LBB0_38:
	movl	$-1, %ebx
	jmp	LBB0_36
LBB0_39:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-256(%rbp), %r9
	leaq	L_.str.7(%rip), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$8, %r8d
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %ebx
	jmp	LBB0_41
LBB0_40:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-176(%rbp), %r9
	leaq	L_.str.8(%rip), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$8, %r8d
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %ebx
	movl	-60(%rbp), %r12d                ## 4-byte Reload
LBB0_41:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_37
LBB0_42:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-152(%rbp), %r9
	leaq	L_.str.9(%rip), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$8, %r8d
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %ebx
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"socket: AF_INET"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
L_.str.1:                               ## @.str.1
	.asciz	"socket: AF_INET6"

	.comm	_AF_UNSPEC,8,3                  ## @AF_UNSPEC
	.comm	_SIOCGLIFNUM,4,2                ## @SIOCGLIFNUM
L_.str.2:                               ## @.str.2
	.asciz	"SIOCGLIFNUM"

L_.str.3:                               ## @.str.3
	.asciz	"malloc"

	.comm	_SIOCGLIFCONF,4,2               ## @SIOCGLIFCONF
L_.str.4:                               ## @.str.4
	.asciz	"SIOCGLIFCONF"

L_.str.5:                               ## @.str.5
	.asciz	"dummy"

	.comm	_SIOCGLIFFLAGS,4,2              ## @SIOCGLIFFLAGS
	.comm	_ENXIO,8,3                      ## @ENXIO
L_.str.6:                               ## @.str.6
	.asciz	"SIOCGLIFFLAGS: %.*s"

	.comm	_SIOCGLIFNETMASK,4,2            ## @SIOCGLIFNETMASK
	.comm	_EADDRNOTAVAIL,8,3              ## @EADDRNOTAVAIL
L_.str.7:                               ## @.str.7
	.asciz	"SIOCGLIFNETMASK: %.*s"

	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_SIOCGLIFBRDADDR,4,2            ## @SIOCGLIFBRDADDR
L_.str.8:                               ## @.str.8
	.asciz	"SIOCGLIFBRDADDR: %.*s"

	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
	.comm	_SIOCGLIFDSTADDR,4,2            ## @SIOCGLIFDSTADDR
L_.str.9:                               ## @.str.9
	.asciz	"SIOCGLIFDSTADDR: %.*s"

.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, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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	x26, x3
	mov	x24, x2
	mov	x21, x1
	mov	x27, x0
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
Lloh3:
	adrp	x20, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SOCK_DGRAM@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	ldr	w1, [x20]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_8
; %bb.2:
	mov	x20, x0
Lloh8:
	adrp	x23, _AF_UNSPEC@GOTPAGE
Lloh9:
	ldr	x23, [x23, _AF_UNSPEC@GOTPAGEOFF]
	ldr	x8, [x23]
	stp	xzr, x8, [x29, #-104]
	stur	wzr, [x29, #-112]
Lloh10:
	adrp	x8, _SIOCGLIFNUM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIOCGLIFNUM@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	sub	x2, x29, #112
	mov	x0, x19
	bl	_ioctl
	tbnz	x0, #63, LBB0_26
; %bb.3:
	ldur	w8, [x29, #-112]
	add	w8, w8, w8, lsl #1
	lsl	w22, w8, #3
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_27
; %bb.4:
	mov	x28, x0
	stur	w22, [x29, #-144]
	ldr	x8, [x23]
	stp	xzr, x8, [x29, #-128]
	stur	x0, [x29, #-136]
	mov	w1, #0
	mov	x2, x22
	bl	_memset
Lloh13:
	adrp	x8, _SIOCGLIFCONF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIOCGLIFCONF@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	sub	x2, x29, #144
	mov	x0, x19
	bl	_ioctl
	tbnz	x0, #63, LBB0_32
; %bb.5:
	ldur	w8, [x29, #-144]
	cbz	w8, LBB0_34
; %bb.6:
	str	x27, [sp, #88]                  ; 8-byte Folded Spill
	str	w26, [sp, #100]                 ; 4-byte Folded Spill
	add	x27, x28, x8
	add	x8, sp, #160
	add	x8, x8, #12
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
	add	x8, sp, #136
	add	x9, x8, #12
	add	x8, x8, #20
	stp	x8, x9, [sp, #72]               ; 16-byte Folded Spill
	add	x8, sp, #112
	add	x9, x8, #12
	add	x8, x8, #16
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	str	x28, [sp, #48]                  ; 8-byte Folded Spill
Lloh16:
	adrp	x25, l_.str.5@PAGE
Lloh17:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh18:
	adrp	x22, _AF_INET6@GOTPAGE
Lloh19:
	ldr	x22, [x22, _AF_INET6@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh20:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _errno@GOTPAGE
Lloh24:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh25:
	ldr	x2, [x8]
Lloh26:
	adrp	x3, l_.str@PAGE
Lloh27:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_30
LBB0_8:
Lloh28:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _errno@GOTPAGE
Lloh32:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh33:
	ldr	x2, [x8]
Lloh34:
	adrp	x3, l_.str.1@PAGE
Lloh35:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_29
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
Lloh36:
	adrp	x8, _errno@GOTPAGE
Lloh37:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh38:
	ldr	x2, [x8]
Lloh39:
	adrp	x8, _ENXIO@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_35
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x28, x28, #24
	cmp	x28, x27
	b.hs	LBB0_33
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x28]
	mov	x1, x25
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x28]
	blr	x24
	cbz	w0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x23, x28
	ldr	x8, [x23, #12]!
	ldr	x9, [x22]
	cmp	x8, x9
	csel	w26, w20, w19, eq
	ldur	x0, [x29, #-168]
	ldr	x1, [x28]
	mov	w2, #8
	bl	_strncpy
Lloh42:
	adrp	x8, _SIOCGLIFFLAGS@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SIOCGLIFFLAGS@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	sub	x2, x29, #168
	mov	x0, x26
	bl	_ioctl
	tbnz	x0, #63, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [sp, #160]
	ldr	x1, [x28]
	mov	w2, #8
	bl	_strncpy
	ldr	x22, [sp, #104]                 ; 8-byte Folded Reload
	mov	x0, x22
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
Lloh45:
	adrp	x8, _SIOCGLIFNETMASK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SIOCGLIFNETMASK@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	add	x2, sp, #160
	mov	x0, x26
	bl	_ioctl
	tbz	x0, #63, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh48:
	adrp	x8, _errno@GOTPAGE
Lloh49:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh50:
	ldr	x2, [x8]
Lloh51:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_36
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	ldur	w8, [x29, #-160]
Lloh54:
	adrp	x9, _IFF_BROADCAST@GOTPAGE
Lloh55:
	ldr	x9, [x9, _IFF_BROADCAST@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [sp, #136]
	ldr	x1, [x28]
	mov	w2, #8
	bl	_strncpy
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
Lloh57:
	adrp	x8, _SIOCGLIFBRDADDR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SIOCGLIFBRDADDR@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	add	x2, sp, #136
	mov	x0, x26
	bl	_ioctl
	ldr	x25, [sp, #72]                  ; 8-byte Folded Reload
	tbz	x0, #63, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh60:
	adrp	x8, _errno@GOTPAGE
Lloh61:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh62:
	ldr	x2, [x8]
Lloh63:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh64:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_37
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x25, #0
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=1
	ldur	w8, [x29, #-160]
Lloh66:
	adrp	x9, _IFF_POINTOPOINT@GOTPAGE
Lloh67:
	ldr	x9, [x9, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [sp, #112]
	ldr	x1, [x28]
	mov	w2, #8
	bl	_strncpy
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
Lloh69:
	adrp	x8, _SIOCGLIFDSTADDR@GOTPAGE
Lloh70:
	ldr	x8, [x8, _SIOCGLIFDSTADDR@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	add	x2, sp, #112
	mov	x0, x26
	bl	_ioctl
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	tbz	x0, #63, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh72:
	adrp	x8, _errno@GOTPAGE
Lloh73:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh74:
	ldr	x2, [x8]
Lloh75:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh77:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_38
LBB0_24:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x8, #0
LBB0_25:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x1, [x28]
	ldur	w2, [x29, #-160]
	str	x21, [sp, #32]
	mov	w9, #4
	str	w9, [sp, #24]
	str	x8, [sp, #16]
	str	w9, [sp, #8]
	str	x25, [sp]
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w3, [sp, #100]                  ; 4-byte Folded Reload
	mov	x4, x23
	mov	w5, #4
	mov	x6, x22
	mov	w7, #4
	bl	_add_addr_to_if
Lloh78:
	adrp	x22, _AF_INET6@GOTPAGE
Lloh79:
	ldr	x22, [x22, _AF_INET6@GOTPAGEOFF]
Lloh80:
	adrp	x25, l_.str.5@PAGE
Lloh81:
	add	x25, x25, l_.str.5@PAGEOFF
	tbz	x0, #63, LBB0_10
	b	LBB0_40
LBB0_26:
Lloh82:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh83:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
Lloh85:
	adrp	x8, _errno@GOTPAGE
Lloh86:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh87:
	ldr	x2, [x8]
Lloh88:
	adrp	x3, l_.str.2@PAGE
Lloh89:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_28
LBB0_27:
Lloh90:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh91:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
Lloh93:
	adrp	x8, _errno@GOTPAGE
Lloh94:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh95:
	ldr	x2, [x8]
Lloh96:
	adrp	x3, l_.str.3@PAGE
Lloh97:
	add	x3, x3, l_.str.3@PAGEOFF
LBB0_28:
	mov	x0, x21
	bl	_pcap_fmt_errmsg_for_errno
	mov	x0, x20
	bl	_close
LBB0_29:
	mov	x0, x19
	bl	_close
LBB0_30:
	mov	w21, #-1
LBB0_31:
	mov	x0, x21
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_32:
Lloh98:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh99:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
Lloh101:
	adrp	x8, _errno@GOTPAGE
Lloh102:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh103:
	ldr	x2, [x8]
Lloh104:
	adrp	x3, l_.str.4@PAGE
Lloh105:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_pcap_fmt_errmsg_for_errno
	mov	x0, x20
	bl	_close
	mov	x0, x19
	bl	_close
	mov	x0, x28
	bl	_free
	b	LBB0_30
LBB0_33:
	mov	w21, #0
	b	LBB0_41
LBB0_34:
	mov	w21, #0
	b	LBB0_42
LBB0_35:
Lloh106:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh107:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh108:
	ldr	w1, [x8]
	ldur	x8, [x29, #-168]
	mov	w9, #8
	stp	x9, x8, [sp]
Lloh109:
	adrp	x3, l_.str.6@PAGE
Lloh110:
	add	x3, x3, l_.str.6@PAGEOFF
	b	LBB0_39
LBB0_36:
Lloh111:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh112:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh113:
	ldr	w1, [x8]
	ldr	x8, [sp, #160]
	mov	w9, #8
	stp	x9, x8, [sp]
Lloh114:
	adrp	x3, l_.str.7@PAGE
Lloh115:
	add	x3, x3, l_.str.7@PAGEOFF
	b	LBB0_39
LBB0_37:
Lloh116:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh117:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh118:
	ldr	w1, [x8]
	ldr	x8, [sp, #136]
	mov	w9, #8
	stp	x9, x8, [sp]
Lloh119:
	adrp	x3, l_.str.8@PAGE
Lloh120:
	add	x3, x3, l_.str.8@PAGEOFF
	b	LBB0_39
LBB0_38:
Lloh121:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh122:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh123:
	ldr	w1, [x8]
	ldr	x8, [sp, #112]
	mov	w9, #8
	stp	x9, x8, [sp]
Lloh124:
	adrp	x3, l_.str.9@PAGE
Lloh125:
	add	x3, x3, l_.str.9@PAGEOFF
LBB0_39:
	mov	x0, x21
	bl	_pcap_fmt_errmsg_for_errno
LBB0_40:
	mov	w21, #-1
LBB0_41:
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
LBB0_42:
	mov	x0, x28
	bl	_free
	mov	x0, x20
	bl	_close
	mov	x0, x19
	bl	_close
	b	LBB0_31
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"socket: AF_INET"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
l_.str.1:                               ; @.str.1
	.asciz	"socket: AF_INET6"

	.comm	_AF_UNSPEC,8,3                  ; @AF_UNSPEC
	.comm	_SIOCGLIFNUM,4,2                ; @SIOCGLIFNUM
l_.str.2:                               ; @.str.2
	.asciz	"SIOCGLIFNUM"

l_.str.3:                               ; @.str.3
	.asciz	"malloc"

	.comm	_SIOCGLIFCONF,4,2               ; @SIOCGLIFCONF
l_.str.4:                               ; @.str.4
	.asciz	"SIOCGLIFCONF"

l_.str.5:                               ; @.str.5
	.asciz	"dummy"

	.comm	_SIOCGLIFFLAGS,4,2              ; @SIOCGLIFFLAGS
	.comm	_ENXIO,8,3                      ; @ENXIO
l_.str.6:                               ; @.str.6
	.asciz	"SIOCGLIFFLAGS: %.*s"

	.comm	_SIOCGLIFNETMASK,4,2            ; @SIOCGLIFNETMASK
	.comm	_EADDRNOTAVAIL,8,3              ; @EADDRNOTAVAIL
l_.str.7:                               ; @.str.7
	.asciz	"SIOCGLIFNETMASK: %.*s"

	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_SIOCGLIFBRDADDR,4,2            ; @SIOCGLIFBRDADDR
l_.str.8:                               ; @.str.8
	.asciz	"SIOCGLIFBRDADDR: %.*s"

	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
	.comm	_SIOCGLIFDSTADDR,4,2            ; @SIOCGLIFDSTADDR
l_.str.9:                               ; @.str.9
	.asciz	"SIOCGLIFDSTADDR: %.*s"

.subsections_via_symbols
