	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_create                    ## -- Begin function pcap_create
	.p2align	4, 0x90
_pcap_create:                           ## @pcap_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	_strdup
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	_capture_source_types@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:
	movl	$8, %ebx
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, -44(%rbp)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	*%rcx
	cmpl	$0, -44(%rbp)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx), %rcx
	addq	$8, %rbx
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_pcap_create_interface
LBB0_8:
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%r13, (%rax)
	jmp	LBB0_13
LBB0_10:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_12
LBB0_11:
	movq	%r13, %rdi
	callq	_free
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"any"

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

	.comm	_capture_source_types,8,3       ## @capture_source_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_create                    ; -- Begin function pcap_create
	.p2align	2
_pcap_create:                           ; @pcap_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_strdup
	mov	x20, x0
	cbz	x0, LBB0_9
; %bb.3:
Lloh2:
	adrp	x21, _capture_source_types@GOTPAGE
Lloh3:
	ldr	x21, [x21, _capture_source_types@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	mov	w22, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [sp, #12]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	blr	x8
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	add	x22, x22, #8
	cbnz	x8, LBB0_5
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_pcap_create_interface
	cbz	x0, LBB0_11
LBB0_8:
	str	x20, [x0]
	b	LBB0_13
LBB0_9:
Lloh4:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_12
LBB0_10:
	cbnz	x0, LBB0_8
LBB0_11:
	mov	x0, x20
	bl	_free
LBB0_12:
	mov	x0, #0
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"any"

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

	.comm	_capture_source_types,8,3       ; @capture_source_types
.subsections_via_symbols
