	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdmasniff_create               ## -- Begin function rdmasniff_create
	.p2align	4, 0x90
_rdmasniff_create:                      ## @rdmasniff_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$0, (%rdx)
	leaq	-44(%rbp), %rdi
	callq	_ibv_get_device_list
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	cmpl	$0, -44(%rbp)
	je	LBB0_14
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	$58, %esi
	callq	_strchr
	movl	$1, %r12d
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r13
	leaq	1(%rax), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoul
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	subq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%r13, %r14
	movl	%eax, %r12d
LBB0_5:
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	-44(%rbp), %r12d
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.6:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r13,8), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_strlen
	cmpq	%r14, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$16, %esi
	callq	_pcap_create_common
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rax, %r12
	movq	_rdmasniff_activate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	(%r12), %rax
	movq	(%rbx,%r13,8), %rcx
	movq	%rcx, 8(%rax)
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	jmp	LBB0_13
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%rbx, %rdi
	callq	_ibv_free_device_list
LBB0_14:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rdmasniff_activate,4,2         ## @rdmasniff_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdmasniff_create               ; -- Begin function rdmasniff_create
	.p2align	2
_rdmasniff_create:                      ; @rdmasniff_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x20, x1
	mov	x22, x0
	str	wzr, [x2]
	add	x0, sp, #12
	bl	_ibv_get_device_list
	mov	x23, #0
	cbz	x0, LBB0_14
; %bb.1:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_14
; %bb.2:
	mov	x19, x0
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.3:
	mov	x24, x0
	add	x0, x0, #1
	mov	x1, #0
	mov	w2, #10
	bl	_strtoul
	mov	w8, #1
	sub	x9, x24, x22
	cmp	w0, #0
	csel	w25, w8, w0, eq
	csel	x23, x23, x9, eq
	b	LBB0_5
LBB0_4:
	mov	w25, #1
LBB0_5:
	ldr	w27, [sp, #12]
	cmp	w27, #1
	b.lt	LBB0_12
; %bb.6:
	mov	x26, x19
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x26, x26, #8
	subs	x27, x27, #1
	b.eq	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x24, [x8]
	mov	x0, x24
	bl	_strlen
	cmp	x0, x23
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_strncmp
	cbnz	w0, LBB0_7
; %bb.10:
	mov	w8, #1
	str	w8, [x21]
	mov	x0, x20
	mov	w1, #16
	bl	_pcap_create_common
	mov	x23, x0
	cbz	x0, LBB0_13
; %bb.11:
Lloh0:
	adrp	x8, _rdmasniff_activate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rdmasniff_activate@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23, #8]
	ldr	x8, [x23]
	ldr	x9, [x26]
	str	x9, [x8, #8]
	str	w25, [x8]
	b	LBB0_13
LBB0_12:
	mov	x23, #0
LBB0_13:
	mov	x0, x19
	bl	_ibv_free_device_list
LBB0_14:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_rdmasniff_activate,4,2         ; @rdmasniff_activate
.subsections_via_symbols
