	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cudbg_collect_le_tcam          ## -- Begin function cudbg_collect_le_tcam
	.p2align	4, 0x90
_cudbg_collect_le_tcam:                 ## @cudbg_collect_le_tcam
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rdi), %r12
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_cudbg_fill_le_tcam_info
	movl	-56(%rbp), %eax
	leal	12(,%rax,4), %edx
	leaq	-80(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_cudbg_get_buff
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movl	$12, %edx
	callq	_memcpy
	cmpl	$0, -56(%rbp)
	jle	LBB0_12
## %bb.2:
	movq	-80(%rbp), %r15
	addq	$12, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, %eax
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %ebx
	addq	$4, %r15
	cmpl	-56(%rbp), %ebx
	jge	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_cudbg_read_tid
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rsi
	movl	-48(%rbp), %edx
	movq	%r15, %rdi
	callq	_cudbg_is_ipv6_entry
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edi
	callq	_is_t6
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %ecx
	cmpl	%ecx, %ebx
	jl	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_CUDBG_T6_CLIP@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
	movl	$4, %eax
	cmpl	%ecx, %ebx
	jge	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %eax
	jmp	LBB0_11
LBB0_4:
	movq	_CUDBG_STATUS_PARTIAL_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	%ebx, -56(%rbp)
	movq	-80(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movl	$12, %edx
	callq	_memcpy
LBB0_12:
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_cudbg_write_and_release_buff
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CUDBG_STATUS_PARTIAL_DATA,4,2  ## @CUDBG_STATUS_PARTIAL_DATA
	.comm	_CUDBG_T6_CLIP,4,2              ## @CUDBG_T6_CLIP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cudbg_collect_le_tcam          ; -- Begin function cudbg_collect_le_tcam
	.p2align	2
_cudbg_collect_le_tcam:                 ; @cudbg_collect_le_tcam
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0]
	stp	xzr, xzr, [sp, #16]
	str	wzr, [sp, #8]
	str	xzr, [sp]
	mov	x1, sp
	mov	x0, x22
	bl	_cudbg_fill_le_tcam_info
	ldr	w8, [sp]
	lsl	w8, w8, #2
	add	w2, w8, #12
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_cudbg_get_buff
	cbnz	w0, LBB0_14
; %bb.1:
	ldr	x0, [sp, #16]
	mov	x1, sp
	mov	w2, #12
	bl	_memcpy
	ldr	w8, [sp]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.2:
	mov	w23, #0
	ldr	x8, [sp, #16]
	add	x24, x8, #12
Lloh0:
	adrp	x26, _CUDBG_T6_CLIP@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CUDBG_T6_CLIP@GOTPAGEOFF]
                                        ; implicit-def: $x25
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #2
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #4
	ldr	w9, [sp]
	add	w23, w23, w8
	cmp	w23, w9
	b.ge	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_cudbg_read_tid
	cbnz	w0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp]
	ldr	w8, [sp, #8]
	and	x9, x25, #0xffffffff00000000
	orr	x25, x9, x8
	mov	x0, x24
	mov	x2, x25
	bl	_cudbg_is_ipv6_entry
	cbz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22]
	bl	_is_t6
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #4]
	cmp	w23, w8
	b.lt	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x26]
	add	w8, w9, w8
	cmp	w23, w8
	b.ge	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #4
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
	b	LBB0_4
LBB0_12:
Lloh2:
	adrp	x8, _CUDBG_STATUS_PARTIAL_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CUDBG_STATUS_PARTIAL_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21]
	str	w23, [sp]
	ldr	x0, [sp, #16]
	mov	x1, sp
	mov	w2, #12
	bl	_memcpy
LBB0_13:
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, x19
	bl	_cudbg_write_and_release_buff
LBB0_14:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CUDBG_STATUS_PARTIAL_DATA,4,2  ; @CUDBG_STATUS_PARTIAL_DATA
	.comm	_CUDBG_T6_CLIP,4,2              ; @CUDBG_T6_CLIP
.subsections_via_symbols
