	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snf_create                     ## -- Begin function snf_create
	.p2align	4, 0x90
_snf_create:                            ## @snf_create
	.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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$-1, -44(%rbp)
	movq	_SNF_VERSION_API@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_snf_init
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movl	$0, (%r15)
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	-56(%rbp), %rdi
	callq	_snf_getifaddrs
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	cmpq	$0, -56(%rbp)
	je	LBB0_1
## %bb.6:
	movq	%r12, %rdi
	callq	_strlen
	movq	-56(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.7:
	incl	%eax
	movslq	%eax, %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %esi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.10:
	movq	-56(%rbp), %rdi
	jmp	LBB0_12
LBB0_11:
	xorl	%edi, %edi
LBB0_12:
	callq	_snf_freeifaddrs
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_15
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_1
	jmp	LBB0_15
LBB0_14:
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	-56(%rbp), %rdi
	callq	_snf_freeifaddrs
LBB0_15:
	movl	$1, (%r15)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_pcap_create_common
	testq	%rax, %rax
	je	LBB0_2
## %bb.16:
	movq	%rax, %rbx
	movq	16(%rax), %r15
	movl	$2, (%rax)
	movl	$8, %edi
	callq	_malloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	_PCAP_TSTAMP_PRECISION_MICRO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_PCAP_TSTAMP_PRECISION_NANO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_snf_activate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, (%r15)
	jmp	LBB0_3
LBB0_19:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	movq	%rbx, %rdi
	callq	_pcap_close
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_SNF_VERSION_API,4,2            ## @SNF_VERSION_API
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"snf10g%d"

L_.str.1:                               ## @.str.1
	.asciz	"snf%d"

	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"malloc"

	.comm	_PCAP_TSTAMP_PRECISION_MICRO,4,2 ## @PCAP_TSTAMP_PRECISION_MICRO
	.comm	_PCAP_TSTAMP_PRECISION_NANO,4,2 ## @PCAP_TSTAMP_PRECISION_NANO
	.comm	_snf_activate,4,2               ## @snf_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snf_create                     ; -- Begin function snf_create
	.p2align	2
_snf_create:                            ; @snf_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	w8, #-1
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _SNF_VERSION_API@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNF_VERSION_API@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_snf_init
	cbz	x0, LBB0_3
LBB0_1:
	mov	x21, #0
	str	wzr, [x20]
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	mov	x0, sp
	bl	_snf_getifaddrs
	cbnz	x0, LBB0_1
; %bb.4:
	ldr	x8, [sp]
	cbz	x8, LBB0_1
; %bb.5:
	mov	x0, x21
	bl	_strlen
	ldr	x23, [sp]
	cbz	x23, LBB0_10
; %bb.6:
	add	w8, w0, #1
	sxtw	x22, w8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, #16]
	mov	x0, x21
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_7
; %bb.9:
	ldr	x0, [sp]
	b	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	bl	_snf_freeifaddrs
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_14
; %bb.12:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_1
	b	LBB0_14
LBB0_13:
	ldr	w8, [x23]
	str	w8, [sp, #12]
	ldr	x0, [sp]
	bl	_snf_freeifaddrs
LBB0_14:
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #4
	bl	_pcap_create_common
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.15:
	ldr	x20, [x21, #16]
	mov	w8, #2
	str	w8, [x21]
	mov	w0, #8
	bl	_malloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_17
; %bb.16:
Lloh7:
	adrp	x8, _PCAP_TSTAMP_PRECISION_MICRO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCAP_TSTAMP_PRECISION_MICRO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh10:
	adrp	x8, _PCAP_TSTAMP_PRECISION_NANO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PCAP_TSTAMP_PRECISION_NANO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0, #4]
Lloh13:
	adrp	x8, _snf_activate@GOTPAGE
Lloh14:
	ldr	x8, [x8, _snf_activate@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	ldr	w8, [sp, #12]
	str	w8, [x20]
	b	LBB0_2
LBB0_17:
Lloh16:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x3, l_.str.2@PAGE
Lloh23:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_pcap_fmt_errmsg_for_errno
	mov	x0, x21
	bl	_pcap_close
	mov	x21, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SNF_VERSION_API,4,2            ; @SNF_VERSION_API
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"snf10g%d"

l_.str.1:                               ; @.str.1
	.asciz	"snf%d"

	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"malloc"

	.comm	_PCAP_TSTAMP_PRECISION_MICRO,4,2 ; @PCAP_TSTAMP_PRECISION_MICRO
	.comm	_PCAP_TSTAMP_PRECISION_NANO,4,2 ; @PCAP_TSTAMP_PRECISION_NANO
	.comm	_snf_activate,4,2               ; @snf_activate
.subsections_via_symbols
