	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb4_cudbg_collect_entity
_cxgb4_cudbg_collect_entity:            ## @cxgb4_cudbg_collect_entity
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r12
	movq	%rsi, %rbx
	addq	$8, %r12
	xorl	%r13d, %r13d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, 8(%r14)
	movq	%rdx, 16(%r14)
	movl	-112(%rbp), %edx
	movl	%edx, 12(%r14)
	addq	%rax, %r13
	addq	$16, %r12
	decq	%rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_cudbg_get_entity_hdr
	movq	%rax, %r14
	movl	(%r12), %eax
	movl	%eax, 28(%r14)
	movl	(%rbx), %eax
	movl	%eax, 24(%r14)
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	*-8(%r12)
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%r14)
	movl	24(%r14), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cudbg_align_debug_buffer
	movq	(%r14), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_CUDBG_SYSTEM_ERROR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r15d
	jmp	LBB0_8
LBB0_1:
	xorl	%r13d, %r13d
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, (%rax)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CUDBG_SYSTEM_ERROR,4,2         ## @CUDBG_SYSTEM_ERROR
	.no_dead_strip	_cxgb4_cudbg_collect_entity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb4_cudbg_collect_entity
_cxgb4_cudbg_collect_entity:            ; @cxgb4_cudbg_collect_entity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x5
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	cbz	x3, LBB0_6
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x1
	mov	x23, x0
	mov	x26, #0
	add	x27, x2, #8
Lloh0:
	adrp	x28, _CUDBG_SYSTEM_ERROR@GOTPAGE
Lloh1:
	ldr	x28, [x28, _CUDBG_SYSTEM_ERROR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_cudbg_align_debug_buffer
	ldr	x8, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #16]
	ldr	w10, [x28]
	cmp	x9, #0
	csel	w10, w25, w10, eq
	str	x9, [x24, #16]
	ldr	w9, [sp, #8]
	stp	w10, w9, [x24, #8]
	add	x26, x8, x26
	add	x27, x27, #16
	subs	x21, x21, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	mov	x0, x20
	bl	_cudbg_get_entity_hdr
	mov	x24, x0
	ldr	w8, [x27]
	str	w8, [x0, #28]
	ldr	w8, [x22]
	str	w8, [x0, #24]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldur	x8, [x27, #-8]
	add	x2, sp, #8
	mov	x0, x23
	mov	x1, x22
	blr	x8
	mov	x25, x0
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	str	xzr, [x24]
	ldr	w9, [x24, #24]
	str	w9, [x22]
	b	LBB0_3
LBB0_6:
	mov	x26, #0
LBB0_7:
	ldr	x8, [x19]
	add	x8, x8, x26
	str	x8, [x19]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CUDBG_SYSTEM_ERROR,4,2         ; @CUDBG_SYSTEM_ERROR
	.no_dead_strip	_cxgb4_cudbg_collect_entity
.subsections_via_symbols
