	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb4vf_get_regs
_cxgb4vf_get_regs:                      ## @cxgb4vf_get_regs
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_netdev2adap
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_mk_adap_vers
	movl	%eax, (%rbx)
	movq	_T4VF_REGMAP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_T4VF_SGE_BASE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_T4VF_MOD_MAP_SGE_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rcx, %rdx
	movq	_T4VF_MOD_MAP_SGE_LAST@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_reg_block_dump
	movq	_T4VF_MPS_BASE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_T4VF_MOD_MAP_MPS_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rcx, %rdx
	movq	_T4VF_MOD_MAP_MPS_LAST@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_reg_block_dump
	movq	_T4VF_PL_BASE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_T4VF_MOD_MAP_PL_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	addq	%rbx, %r12
	movl	(%r15), %edi
	callq	_is_t4
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_PL_VF_REVISION_A@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PL_VF_WHOAMI_A@GOTPCREL(%rip), %rax
LBB0_3:
	addq	(%rax), %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_reg_block_dump
	movq	_T4VF_CIM_BASE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_T4VF_MOD_MAP_CIM_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rcx, %rdx
	movq	_T4VF_MOD_MAP_CIM_LAST@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_reg_block_dump
	movq	_T4VF_MBDATA_BASE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_T4VF_MBDATA_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rcx, %rdx
	movq	_T4VF_MBDATA_LAST@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_block_dump                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_T4VF_REGMAP_SIZE,4,2           ## @T4VF_REGMAP_SIZE
	.comm	_T4VF_SGE_BASE_ADDR,8,3         ## @T4VF_SGE_BASE_ADDR
	.comm	_T4VF_MOD_MAP_SGE_FIRST,8,3     ## @T4VF_MOD_MAP_SGE_FIRST
	.comm	_T4VF_MOD_MAP_SGE_LAST,8,3      ## @T4VF_MOD_MAP_SGE_LAST
	.comm	_T4VF_MPS_BASE_ADDR,8,3         ## @T4VF_MPS_BASE_ADDR
	.comm	_T4VF_MOD_MAP_MPS_FIRST,8,3     ## @T4VF_MOD_MAP_MPS_FIRST
	.comm	_T4VF_MOD_MAP_MPS_LAST,8,3      ## @T4VF_MOD_MAP_MPS_LAST
	.comm	_T4VF_PL_BASE_ADDR,8,3          ## @T4VF_PL_BASE_ADDR
	.comm	_T4VF_MOD_MAP_PL_FIRST,8,3      ## @T4VF_MOD_MAP_PL_FIRST
	.comm	_PL_VF_WHOAMI_A,8,3             ## @PL_VF_WHOAMI_A
	.comm	_PL_VF_REVISION_A,8,3           ## @PL_VF_REVISION_A
	.comm	_T4VF_CIM_BASE_ADDR,8,3         ## @T4VF_CIM_BASE_ADDR
	.comm	_T4VF_MOD_MAP_CIM_FIRST,8,3     ## @T4VF_MOD_MAP_CIM_FIRST
	.comm	_T4VF_MOD_MAP_CIM_LAST,8,3      ## @T4VF_MOD_MAP_CIM_LAST
	.comm	_T4VF_MBDATA_BASE_ADDR,8,3      ## @T4VF_MBDATA_BASE_ADDR
	.comm	_T4VF_MBDATA_FIRST,8,3          ## @T4VF_MBDATA_FIRST
	.comm	_T4VF_MBDATA_LAST,8,3           ## @T4VF_MBDATA_LAST
	.no_dead_strip	_cxgb4vf_get_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb4vf_get_regs
_cxgb4vf_get_regs:                      ; @cxgb4vf_get_regs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	bl	_netdev2adap
	mov	x20, x0
	bl	_mk_adap_vers
	str	w0, [x21]
Lloh0:
	adrp	x8, _T4VF_REGMAP_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _T4VF_REGMAP_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_memset
Lloh3:
	adrp	x8, _T4VF_SGE_BASE_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _T4VF_SGE_BASE_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _T4VF_MOD_MAP_SGE_FIRST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _T4VF_MOD_MAP_SGE_FIRST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x2, x9, x8
Lloh9:
	adrp	x9, _T4VF_MOD_MAP_SGE_LAST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _T4VF_MOD_MAP_SGE_LAST@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x3, x9, x8
	mov	x0, x20
	mov	x1, x19
	bl	_reg_block_dump
Lloh12:
	adrp	x8, _T4VF_MPS_BASE_ADDR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _T4VF_MPS_BASE_ADDR@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _T4VF_MOD_MAP_MPS_FIRST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _T4VF_MOD_MAP_MPS_FIRST@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x2, x9, x8
Lloh18:
	adrp	x9, _T4VF_MOD_MAP_MPS_LAST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _T4VF_MOD_MAP_MPS_LAST@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x3, x9, x8
	mov	x0, x20
	mov	x1, x19
	bl	_reg_block_dump
Lloh21:
	adrp	x8, _T4VF_PL_BASE_ADDR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _T4VF_PL_BASE_ADDR@GOTPAGEOFF]
Lloh23:
	ldr	x22, [x8]
Lloh24:
	adrp	x8, _T4VF_MOD_MAP_PL_FIRST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _T4VF_MOD_MAP_PL_FIRST@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x21, x8, x22
	ldr	w0, [x20]
	bl	_is_t4
Lloh27:
	adrp	x8, _PL_VF_WHOAMI_A@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PL_VF_WHOAMI_A@GOTPAGEOFF]
Lloh29:
	adrp	x9, _PL_VF_REVISION_A@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PL_VF_REVISION_A@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	add	x3, x8, x22
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_reg_block_dump
Lloh31:
	adrp	x8, _T4VF_CIM_BASE_ADDR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _T4VF_CIM_BASE_ADDR@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	adrp	x9, _T4VF_MOD_MAP_CIM_FIRST@GOTPAGE
Lloh35:
	ldr	x9, [x9, _T4VF_MOD_MAP_CIM_FIRST@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	add	x2, x9, x8
Lloh37:
	adrp	x9, _T4VF_MOD_MAP_CIM_LAST@GOTPAGE
Lloh38:
	ldr	x9, [x9, _T4VF_MOD_MAP_CIM_LAST@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	add	x3, x9, x8
	mov	x0, x20
	mov	x1, x19
	bl	_reg_block_dump
Lloh40:
	adrp	x8, _T4VF_MBDATA_BASE_ADDR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _T4VF_MBDATA_BASE_ADDR@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
Lloh43:
	adrp	x9, _T4VF_MBDATA_FIRST@GOTPAGE
Lloh44:
	ldr	x9, [x9, _T4VF_MBDATA_FIRST@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	add	x2, x9, x8
Lloh46:
	adrp	x9, _T4VF_MBDATA_LAST@GOTPAGE
Lloh47:
	ldr	x9, [x9, _T4VF_MBDATA_LAST@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	add	x3, x9, x8
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_reg_block_dump
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_T4VF_REGMAP_SIZE,4,2           ; @T4VF_REGMAP_SIZE
	.comm	_T4VF_SGE_BASE_ADDR,8,3         ; @T4VF_SGE_BASE_ADDR
	.comm	_T4VF_MOD_MAP_SGE_FIRST,8,3     ; @T4VF_MOD_MAP_SGE_FIRST
	.comm	_T4VF_MOD_MAP_SGE_LAST,8,3      ; @T4VF_MOD_MAP_SGE_LAST
	.comm	_T4VF_MPS_BASE_ADDR,8,3         ; @T4VF_MPS_BASE_ADDR
	.comm	_T4VF_MOD_MAP_MPS_FIRST,8,3     ; @T4VF_MOD_MAP_MPS_FIRST
	.comm	_T4VF_MOD_MAP_MPS_LAST,8,3      ; @T4VF_MOD_MAP_MPS_LAST
	.comm	_T4VF_PL_BASE_ADDR,8,3          ; @T4VF_PL_BASE_ADDR
	.comm	_T4VF_MOD_MAP_PL_FIRST,8,3      ; @T4VF_MOD_MAP_PL_FIRST
	.comm	_PL_VF_WHOAMI_A,8,3             ; @PL_VF_WHOAMI_A
	.comm	_PL_VF_REVISION_A,8,3           ; @PL_VF_REVISION_A
	.comm	_T4VF_CIM_BASE_ADDR,8,3         ; @T4VF_CIM_BASE_ADDR
	.comm	_T4VF_MOD_MAP_CIM_FIRST,8,3     ; @T4VF_MOD_MAP_CIM_FIRST
	.comm	_T4VF_MOD_MAP_CIM_LAST,8,3      ; @T4VF_MOD_MAP_CIM_LAST
	.comm	_T4VF_MBDATA_BASE_ADDR,8,3      ; @T4VF_MBDATA_BASE_ADDR
	.comm	_T4VF_MBDATA_FIRST,8,3          ; @T4VF_MBDATA_FIRST
	.comm	_T4VF_MBDATA_LAST,8,3           ; @T4VF_MBDATA_LAST
	.no_dead_strip	_cxgb4vf_get_regs
.subsections_via_symbols
