	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bt_create                      ## -- Begin function bt_create
	.p2align	4, 0x90
_bt_create:                             ## @bt_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %rbx
	testq	%rax, %rax
	cmoveq	%r12, %rbx
	movq	_BT_IFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movl	$0, (%r15)
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	addq	$3, %rbx
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-40(%rbp), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_1
## %bb.5:
	cmpb	$0, (%rcx)
	jne	LBB0_1
## %bb.6:
	testq	%rax, %rax
	js	LBB0_1
## %bb.7:
	movl	$1, (%r15)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_pcap_create_common
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:
	movq	_bt_activate@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_IFACE,4,2                   ## @BT_IFACE
	.comm	_bt_activate,4,2                ## @bt_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bt_create                      ; -- Begin function bt_create
	.p2align	2
_bt_create:                             ; @bt_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, x2
	mov	x20, x1
	mov	x21, x0
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csel	x21, x21, x0, eq
Lloh0:
	adrp	x8, _BT_IFACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_IFACE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_3
LBB0_1:
	mov	x0, #0
	str	wzr, [x19]
LBB0_2:
	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
LBB0_3:
	add	x21, x21, #3
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.eq	LBB0_1
; %bb.4:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_1
; %bb.5:
	tbnz	x0, #63, LBB0_1
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x20
	mov	w1, #4
	bl	_pcap_create_common
	cbz	x0, LBB0_2
; %bb.7:
Lloh3:
	adrp	x8, _bt_activate@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bt_activate@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_IFACE,4,2                   ; @BT_IFACE
	.comm	_bt_activate,4,2                ; @bt_activate
.subsections_via_symbols
