	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nb_enum_if                     ## -- Begin function nb_enum_if
	.p2align	4, 0x90
_nb_enum_if:                            ## @nb_enum_if
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdi
	callq	_getifaddrs
	testq	%rax, %rax
	js	LBB0_14
## %bb.1:
	movq	$0, (%r14)
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.2:
	testl	%r15d, %r15d
	jle	LBB0_13
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	_AF_INET@GOTPCREL(%rip), %r14
	movq	_IFF_UP@GOTPCREL(%rip), %r12
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %eax
	movl	(%rdx), %ecx
	orl	(%r12), %ecx
	notl	%eax
	testl	%eax, %ecx
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	24(%rbx), %edi
	callq	_strlen
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %r14
	movl	$32, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_bzero
	movl	24(%r12), %edi
	movl	24(%rbx), %esi
	callq	_strcpy
	movl	(%rbx), %eax
	movl	%eax, (%r12)
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	%rax, 8(%r12)
	movq	%r12, (%rcx)
	incl	%r13d
	movq	%r14, %r12
	movq	_AF_INET@GOTPCREL(%rip), %r14
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rdx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r15d, %r13d
	jl	LBB0_4
LBB0_12:
	movq	-48(%rbp), %rbx
LBB0_13:
	movq	%rbx, %rdi
	callq	_freeifaddrs
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-48(%rbp), %rdi
	callq	_freeifaddrs
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nb_enum_if                     ; -- Begin function nb_enum_if
	.p2align	2
_nb_enum_if:                            ; @nb_enum_if
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	bl	_getifaddrs
	tbnz	x0, #63, LBB0_9
; %bb.1:
	str	xzr, [x20]
	ldr	x21, [sp, #8]
	cmp	x21, #0
	ccmp	w19, #1, #8, ne
	b.lt	LBB0_11
; %bb.2:
	mov	w23, #0
Lloh0:
	adrp	x24, _AF_INET@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AF_INET@GOTPAGEOFF]
Lloh2:
	adrp	x25, _IFF_UP@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IFF_UP@GOTPAGEOFF]
Lloh4:
	adrp	x26, _IFF_BROADCAST@GOTPAGE
Lloh5:
	ldr	x26, [x26, _IFF_BROADCAST@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x21, #32]
	cmp	x21, #0
	ccmp	w23, w19, #0, ne
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x25]
	ldr	w10, [x26]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21, #24]
	bl	_strlen
	cmp	w0, #3
	b.hi	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #32
	bl	_malloc
	cbz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	mov	w1, #32
	bl	_bzero
	ldr	w0, [x22, #24]
	ldr	w1, [x21, #24]
	bl	_strcpy
	ldr	w8, [x21]
	str	w8, [x22]
	ldp	x9, x8, [x21, #8]
	ldr	w8, [x8]
	ldr	w9, [x9]
	stp	w9, w8, [x22, #16]
	ldr	x8, [x20]
	str	x8, [x22, #8]
	str	x22, [x20]
	add	w23, w23, #1
	b	LBB0_3
LBB0_9:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_10:
	ldr	x21, [sp, #8]
LBB0_11:
	mov	x0, x21
	bl	_freeifaddrs
	mov	w0, #0
LBB0_12:
	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
	add	sp, sp, #96
	ret
LBB0_13:
	ldr	x0, [sp, #8]
	bl	_freeifaddrs
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
