	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__POSIX2_LINE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_kvm_openfiles
	testq	%rax, %rax
	je	LBB0_26
## %bb.1:
	movq	%rax, %r12
	movq	_nl@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_kvm_nlist
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movq	(%rbx), %rax
	movq	_N_IFNET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	cmpq	$0, (%rax,%rcx)
	je	LBB0_4
## %bb.7:
	movq	8(%rax,%rcx), %rsi
	leaq	-72(%rbp), %rdx
	movq	%r12, %rdi
	movl	$4, %ecx
	callq	_kread
	testq	%rax, %rax
	jne	LBB0_5
## %bb.8:
	leaq	-72(%rbp), %rdi
	callq	_TAILQ_FIRST
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	leaq	-104(%rbp), %rbx
	jmp	LBB0_11
LBB0_2:
	movq	%r12, %rdi
	callq	_kvm_geterr
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_5:
	movq	%r12, %rdi
	callq	_kvm_close
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.25:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-136(%rbp), %rdx
	movl	$32, %ecx
	callq	_kread
	testq	%rax, %rax
	jne	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_if_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-136(%rbp), %rdi
	callq	_TAILQ_NEXT
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-136(%rbp), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	-112(%rbp), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	L_.str.6(%rip), %rdx
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=2
	callq	_snprintf
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	-96(%rbp), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %r13
	testq	%rbx, %rbx
	movq	%r14, %rbx
	je	LBB0_10
LBB0_14:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	$32, %ecx
	callq	_kread
	testq	%rax, %rax
	jne	LBB0_5
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	_ifa_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %r14
	movq	%rbx, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %rbx
	movq	-88(%rbp), %rax
	subq	%r13, %rax
	leaq	(%rax,%rbp), %rsi
	addq	$-104, %rsi
	movl	-104(%rbp,%rax), %ecx
	cmpl	$133, %ecx
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpl	$132, %ecx
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%r15, %rdi
	cmpl	$131, %ecx
	jne	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	L_.str.5(%rip), %rdx
	movl	$131, %ecx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	$133, %edi
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	$132, %edi
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_inet_ntop
	jmp	LBB0_24
LBB0_26:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warnx
	xorl	%edi, %edi
	callq	_exit
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__POSIX2_LINE_MAX,4,2           ## @_POSIX2_LINE_MAX
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kvm_openfiles: %s"

	.comm	_nl,8,3                         ## @nl
L_.str.1:                               ## @.str.1
	.asciz	"kvm_nlist: %s"

	.comm	_N_IFNET,8,3                    ## @N_IFNET
L_.str.2:                               ## @.str.2
	.asciz	"kvm_nlist: no namelist"

	.comm	_if_link,4,2                    ## @if_link
L_.str.3:                               ## @.str.3
	.asciz	"%s\n"

	.comm	_ifa_link,4,2                   ## @ifa_link
L_.str.5:                               ## @.str.5
	.asciz	"<Link type %#x>"

L_.str.6:                               ## @.str.6
	.asciz	"family=%d"

L_.str.7:                               ## @.str.7
	.asciz	"\t%s ifa_refcnt=%u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, __POSIX2_LINE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, __POSIX2_LINE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x9, x20
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh13:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x4, x22
	bl	_kvm_openfiles
	cbz	x0, LBB0_25
; %bb.1:
	mov	x19, x0
Lloh16:
	adrp	x22, _nl@GOTPAGE
Lloh17:
	ldr	x22, [x22, _nl@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_kvm_nlist
	tbnz	x0, #63, LBB0_6
; %bb.2:
	ldr	x8, [x22]
Lloh18:
	adrp	x9, _N_IFNET@GOTPAGE
Lloh19:
	ldr	x9, [x9, _N_IFNET@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
	cbz	x10, LBB0_7
; %bb.3:
	add	x8, x8, x9, lsl #4
	ldr	x1, [x8, #8]
	sub	x2, x29, #128
	mov	x0, x19
	mov	w3, #4
	bl	_kread
	cbnz	x0, LBB0_8
; %bb.4:
	sub	x0, x29, #128
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_8
; %bb.5:
	mov	x24, x0
	sub	x8, x29, #120
	add	x8, x8, #24
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
	sub	x22, x29, #160
Lloh21:
	adrp	x26, _ifa_link@GOTPAGE
Lloh22:
	ldr	x26, [x26, _ifa_link@GOTPAGEOFF]
Lloh23:
	adrp	x25, l_.str.7@PAGE
Lloh24:
	add	x25, x25, l_.str.7@PAGEOFF
Lloh25:
	adrp	x27, l_.str.6@PAGE
Lloh26:
	add	x27, x27, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_6:
	mov	x0, x19
	bl	_kvm_geterr
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	add	sp, sp, #16
	b	LBB0_8
LBB0_7:
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
LBB0_8:
	mov	x0, x19
	bl	_kvm_close
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.9:
	mov	w0, #0
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	cbz	x24, LBB0_8
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	sub	x2, x29, #120
	mov	x0, x19
	mov	x1, x24
	mov	w3, #32
	bl	_kread
	cbnz	x0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh34:
	adrp	x8, _if_link@GOTPAGE
Lloh35:
	ldr	x8, [x8, _if_link@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	sub	x0, x29, #120
	bl	_TAILQ_NEXT
	mov	x24, x0
	ldur	x1, [x29, #-120]
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x28, x0
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	x2, x27
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	bl	_snprintf
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	ldur	w8, [x29, #-152]
	str	x8, [sp, #-16]!
	mov	x0, x25
	mov	x1, x21
	bl	_printf
	add	sp, sp, #16
	mov	x28, x23
	cbz	x23, LBB0_10
LBB0_17:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x2, x29, #160
	mov	x0, x19
	mov	x1, x28
	mov	w3, #32
	bl	_kread
	cbnz	x0, LBB0_8
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w1, [x26]
	sub	x0, x29, #160
	bl	_TAILQ_NEXT
	mov	x23, x0
	ldur	x8, [x29, #-144]
	sub	x8, x8, x28
	add	x1, x22, x8
	ldr	w3, [x1]
	cmp	w3, #133
	b.eq	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	cmp	w3, #132
	b.eq	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x0, x21
	mov	x1, x20
	cmp	w3, #131
	b.ne	LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=2
Lloh39:
	adrp	x2, l_.str.5@PAGE
Lloh40:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #133
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #132
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	x2, x21
	mov	x3, x20
	bl	_inet_ntop
	b	LBB0_16
LBB0_25:
	str	x22, [sp, #-16]!
Lloh41:
	adrp	x0, l_.str@PAGE
Lloh42:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	add	sp, sp, #16
	mov	w0, #0
	bl	_exit
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	__POSIX2_LINE_MAX,4,2           ; @_POSIX2_LINE_MAX
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kvm_openfiles: %s"

	.comm	_nl,8,3                         ; @nl
l_.str.1:                               ; @.str.1
	.asciz	"kvm_nlist: %s"

	.comm	_N_IFNET,8,3                    ; @N_IFNET
l_.str.2:                               ; @.str.2
	.asciz	"kvm_nlist: no namelist"

	.comm	_if_link,4,2                    ; @if_link
l_.str.3:                               ; @.str.3
	.asciz	"%s\n"

	.comm	_ifa_link,4,2                   ; @ifa_link
l_.str.5:                               ; @.str.5
	.asciz	"<Link type %#x>"

l_.str.6:                               ; @.str.6
	.asciz	"family=%d"

l_.str.7:                               ; @.str.7
	.asciz	"\t%s ifa_refcnt=%u\n"

.subsections_via_symbols
