	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PacketGetAdapterNames          ## -- Begin function PacketGetAdapterNames
	.p2align	4, 0x90
_PacketGetAdapterNames:                 ## @PacketGetAdapterNames
	.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	$72, %rsp
	.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, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %esi
	callq	_bzero
	movq	$0, -96(%rbp)
	movq	_CTL_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_PF_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	$0, -72(%rbp)
	movq	_NET_RT_IFLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-96(%rbp), %rcx
	movl	$6, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movq	_FALSE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	js	LBB0_23
## %bb.1:
	movq	-96(%rbp), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.2:
	movq	%rax, %rbx
	leaq	-80(%rbp), %rdi
	leaq	-96(%rbp), %rcx
	movl	$6, %esi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	-96(%rbp), %rax
	testq	%rax, %rax
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_5
## %bb.6:
	movq	%rbx, %r15
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	addq	%rax, %r15
	xorl	%r13d, %r13d
	movq	_RTM_IFINFO@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_RTM_IFINFO@GOTPCREL(%rip), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movslq	8(%rbx), %rax
	addq	%rax, %rbx
	cmpq	%r15, %rbx
	jae	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	16(%rbx), %edx
	movl	20(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strnstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	16(%rbx), %edx
	leal	(%rdx,%r13), %eax
	cmpl	(%r14), %eax
	jg	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	20(%rbx), %esi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
	movslq	16(%rbx), %rax
	addq	%rax, %r12
	incq	%r12
	incq	%rax
	addl	%r13d, %eax
	movl	%eax, %r13d
	jmp	LBB0_12
LBB0_3:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_23
LBB0_14:
	movq	%r14, %rbx
	incl	%r13d
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	jle	LBB0_22
## %bb.15:
	incq	%r12
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	20(%r14), %esi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
	movslq	16(%r14), %rax
	addq	%rax, %r12
	incq	%r12
	incq	%rax
	addl	%r13d, %eax
	movl	%eax, %r13d
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_RTM_IFINFO@GOTPCREL(%rip), %rcx
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	movslq	8(%r14), %rax
	addq	%rax, %r14
	cmpq	%r15, %r14
	jae	LBB0_22
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	16(%r14), %edx
	movl	20(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strnstr
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	16(%r14), %edx
	leal	(%rdx,%r13), %eax
	cmpl	(%rbx), %eax
	jle	LBB0_19
LBB0_10:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_23
LBB0_5:
	movq	%r14, %rbx
	movl	$1, %r13d
LBB0_22:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	incl	%r13d
	movl	%r13d, (%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_23:
	movl	(%r15), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_25
## %bb.24:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_PF_ROUTE,4,2                   ## @PF_ROUTE
	.comm	_NET_RT_IFLIST,4,2              ## @NET_RT_IFLIST
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_RTM_IFINFO,8,3                 ## @RTM_IFINFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wlan"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PacketGetAdapterNames          ; -- Begin function PacketGetAdapterNames
	.p2align	2
_PacketGetAdapterNames:                 ; @PacketGetAdapterNames
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w1, [x1]
	bl	_bzero
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _CTL_NET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTL_NET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PF_ROUTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PF_ROUTE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	str	xzr, [sp, #24]
Lloh9:
	adrp	x8, _NET_RT_IFLIST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NET_RT_IFLIST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #32]
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #6
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	x0, #63, LBB0_18
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_malloc
	cbz	x0, LBB0_18
; %bb.2:
	mov	x20, x0
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #6
	mov	x2, x20
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	x0, #63, LBB0_17
; %bb.3:
	ldr	x26, [sp, #8]
	cmp	x26, #1
	b.lt	LBB0_21
; %bb.4:
	mov	w25, #0
	add	x23, x20, x26
Lloh12:
	adrp	x24, _RTM_IFINFO@GOTPAGE
Lloh13:
	ldr	x24, [x24, _RTM_IFINFO@GOTPAGEOFF]
	mov	x27, x20
Lloh14:
	adrp	x22, l_.str@PAGE
Lloh15:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x8, [x27, #8]
	add	x27, x27, x8
	cmp	x27, x23
	b.hs	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w2, w0, [x27, #16]
	mov	x1, x22
	bl	_strnstr
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x27, #16]
	ldr	w8, [x19]
	add	w9, w2, w25
	cmp	w9, w8
	b.gt	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x27, #20]
	mov	x0, x21
	bl	_strncpy
	ldrsw	x8, [x27, #16]
	add	x8, x8, #1
	add	x21, x21, x8
	add	w25, w8, w25
	b	LBB0_5
LBB0_10:
	add	w25, w25, #1
	cmp	x26, #1
	b.lt	LBB0_22
; %bb.11:
	add	x21, x21, #1
Lloh16:
	adrp	x22, l_.str@PAGE
Lloh17:
	add	x22, x22, l_.str@PAGEOFF
	mov	x26, x20
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w1, [x26, #20]
	mov	x0, x21
	bl	_strncpy
	ldrsw	x8, [x26, #16]
	add	x8, x8, #1
	add	x21, x21, x8
	add	w25, w8, w25
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrsw	x8, [x26, #8]
	add	x26, x26, x8
	cmp	x26, x23
	b.hs	LBB0_22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldp	w2, w0, [x26, #16]
	mov	x1, x22
	bl	_strnstr
	cbz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w2, [x26, #16]
	ldr	w8, [x19]
	add	w9, w2, w25
	cmp	w9, w8
	b.le	LBB0_12
LBB0_17:
	mov	x0, x20
	bl	_free
LBB0_18:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.20:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_21:
	mov	w25, #1
LBB0_22:
	mov	x0, x20
	bl	_free
	add	w8, w25, #1
	str	w8, [x19]
Lloh23:
	adrp	x8, _TRUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_19
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_PF_ROUTE,4,2                   ; @PF_ROUTE
	.comm	_NET_RT_IFLIST,4,2              ; @NET_RT_IFLIST
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_RTM_IFINFO,8,3                 ; @RTM_IFINFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wlan"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
