	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dump_data
_get_dump_data:                         ## @get_dump_data
	.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
	callq	_netdev2adap
	movq	%rax, %rbx
	movq	(%rax), %rsi
	movq	_CXGB4_ETH_DUMP_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_3
## %bb.1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	_CUDBG_MAX_ENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_cxgb4_get_dump_length
	leal	(%rax,%r12,4), %eax
	addl	$4, %eax
	movl	%eax, -36(%rbp)
	cmpl	%eax, (%r14)
	jge	LBB0_5
## %bb.4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%rbx), %rcx
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cxgb4_cudbg_collect
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	movl	-36(%rbp), %eax
	movl	%eax, (%r14)
	movl	8(%rbx), %eax
	movl	%eax, 16(%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_CXGB4_ETH_DUMP_NONE,8,3        ## @CXGB4_ETH_DUMP_NONE
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_CUDBG_MAX_ENTITY,4,2           ## @CUDBG_MAX_ENTITY
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_get_dump_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dump_data
_get_dump_data:                         ; @get_dump_data
	.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	x21, x2
	mov	x19, x1
	bl	_netdev2adap
	ldr	x1, [x0]
Lloh0:
	adrp	x8, _CXGB4_ETH_DUMP_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CXGB4_ETH_DUMP_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x20, x0
Lloh5:
	adrp	x8, _CUDBG_MAX_ENTITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CUDBG_MAX_ENTITY@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	bl	_cxgb4_get_dump_length
	add	w8, w0, w22, lsl #2
	add	w8, w8, #4
	str	w8, [sp, #12]
	ldr	w9, [x19]
	cmp	w9, w8
	b.ge	LBB0_6
; %bb.3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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_6:
	ldr	x3, [x20]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_cxgb4_cudbg_collect
	cbnz	w0, LBB0_5
; %bb.7:
	ldr	x8, [x20]
	str	x8, [x19, #8]
	ldr	w8, [sp, #12]
	str	w8, [x19]
	ldr	w8, [x20, #8]
	str	w8, [x19, #16]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CXGB4_ETH_DUMP_NONE,8,3        ; @CXGB4_ETH_DUMP_NONE
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_CUDBG_MAX_ENTITY,4,2           ; @CUDBG_MAX_ENTITY
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_get_dump_data
.subsections_via_symbols
