	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_drvinfo
_get_drvinfo:                           ## @get_drvinfo
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_netdev2adap
	movq	%rax, %r13
	movl	24(%r14), %edi
	movq	_cxgb4_driver_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	20(%r14), %edi
	movq	_cxgb4_driver_version@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	16(%r14), %ebx
	movl	8(%r13), %edi
	callq	_pci_name
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	callq	_get_regs_len
	movl	%eax, 12(%r14)
	movl	4(%r13), %edi
	movl	8(%r14), %r15d
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	callq	_FW_HDR_FW_VER_MAJOR_G
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %edi
	callq	_FW_HDR_FW_VER_MINOR_G
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %edi
	callq	_FW_HDR_FW_VER_MICRO_G
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %edi
	callq	_FW_HDR_FW_VER_BUILD_G
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_FW_HDR_FW_VER_MAJOR_G
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_FW_HDR_FW_VER_MINOR_G
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_FW_HDR_FW_VER_MICRO_G
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_FW_HDR_FW_VER_BUILD_G
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	movl	%r15d, %edi
	movl	$4, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r12
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_snprintf
	addq	$48, %rsp
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	callq	_strcpy
LBB0_3:
	leaq	-44(%rbp), %rsi
	movq	%r13, %rdi
	callq	_t4_get_exprom_version
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	4(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %edi
	callq	_FW_HDR_FW_VER_MAJOR_G
	movl	%eax, %r12d
	movl	-44(%rbp), %edi
	callq	_FW_HDR_FW_VER_MINOR_G
	movl	%eax, %r13d
	movl	-44(%rbp), %edi
	callq	_FW_HDR_FW_VER_MICRO_G
	movl	%eax, %r15d
	movl	-44(%rbp), %edi
	callq	_FW_HDR_FW_VER_BUILD_G
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rdx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	$4, %esi
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	callq	_snprintf
	addq	$16, %rsp
LBB0_5:
	movq	_cxgb4_priv_flags_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	%eax, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cxgb4_driver_name,4,2          ## @cxgb4_driver_name
	.comm	_cxgb4_driver_version,4,2       ## @cxgb4_driver_version
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"N/A"

L_.str.1:                               ## @.str.1
	.asciz	"%u.%u.%u.%u, TP %u.%u.%u.%u"

L_.str.2:                               ## @.str.2
	.asciz	"%u.%u.%u.%u"

	.comm	_cxgb4_priv_flags_strings,4,2   ## @cxgb4_priv_flags_strings
	.no_dead_strip	_get_drvinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_drvinfo
_get_drvinfo:                           ; @get_drvinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x1
	mov	x21, x0
	bl	_netdev2adap
	mov	x20, x0
	ldr	w0, [x19, #24]
Lloh0:
	adrp	x8, _cxgb4_driver_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cxgb4_driver_name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #20]
Lloh3:
	adrp	x8, _cxgb4_driver_version@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cxgb4_driver_version@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w22, [x19, #16]
	ldr	w0, [x20, #8]
	bl	_pci_name
	mov	x1, x0
	mov	x0, x22
	mov	w2, #4
	bl	_strlcpy
	mov	x0, x21
	bl	_get_regs_len
	str	w0, [x19, #12]
	ldr	w0, [x20, #4]
	ldr	w21, [x19, #8]
	cbz	w0, LBB0_2
; %bb.1:
	bl	_FW_HDR_FW_VER_MAJOR_G
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_FW_HDR_FW_VER_MINOR_G
	mov	x23, x0
	ldr	w0, [x20, #4]
	bl	_FW_HDR_FW_VER_MICRO_G
	mov	x24, x0
	ldr	w0, [x20, #4]
	bl	_FW_HDR_FW_VER_BUILD_G
	mov	x25, x0
	ldr	w0, [x20]
	bl	_FW_HDR_FW_VER_MAJOR_G
	mov	x26, x0
	ldr	w0, [x20]
	bl	_FW_HDR_FW_VER_MINOR_G
	mov	x27, x0
	ldr	w0, [x20]
	bl	_FW_HDR_FW_VER_MICRO_G
	mov	x28, x0
	ldr	w0, [x20]
	bl	_FW_HDR_FW_VER_BUILD_G
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #16]
	stp	x26, x27, [sp]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w1, #4
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	bl	_snprintf
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcpy
LBB0_3:
	add	x1, sp, #44
	mov	x0, x20
	bl	_t4_get_exprom_version
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w20, [x19, #4]
	ldr	w0, [sp, #44]
	bl	_FW_HDR_FW_VER_MAJOR_G
	mov	x21, x0
	ldr	w0, [sp, #44]
	bl	_FW_HDR_FW_VER_MINOR_G
	mov	x22, x0
	ldr	w0, [sp, #44]
	bl	_FW_HDR_FW_VER_MICRO_G
	mov	x23, x0
	ldr	w0, [sp, #44]
	bl	_FW_HDR_FW_VER_BUILD_G
	mov	x6, x0
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_snprintf
LBB0_5:
Lloh12:
	adrp	x8, _cxgb4_priv_flags_strings@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cxgb4_priv_flags_strings@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	str	w0, [x19]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cxgb4_driver_name,4,2          ; @cxgb4_driver_name
	.comm	_cxgb4_driver_version,4,2       ; @cxgb4_driver_version
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"N/A"

l_.str.1:                               ; @.str.1
	.asciz	"%u.%u.%u.%u, TP %u.%u.%u.%u"

l_.str.2:                               ; @.str.2
	.asciz	"%u.%u.%u.%u"

	.comm	_cxgb4_priv_flags_strings,4,2   ; @cxgb4_priv_flags_strings
	.no_dead_strip	_get_drvinfo
.subsections_via_symbols
