	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq_ethtool_get_drvinfo
_aq_ethtool_get_drvinfo:                ## @aq_ethtool_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_aq_nic_get_cfg
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	callq	_to_pci_dev
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_aq_nic_get_fw_version
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_aq_nic_get_regs_count
	movl	%eax, %r15d
	movl	36(%r13), %edi
	movq	_AQ_CFG_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcat
	movl	32(%r13), %edi
	movq	_AQ_CFG_DRV_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcat
	movl	28(%r13), %edi
	movl	%r14d, %ecx
	sarl	$24, %ecx
	movl	%r14d, %eax
	shrl	$16, %eax
	movzbl	%al, %r8d
	movzwl	%r14w, %r9d
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movl	24(%r13), %ebx
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_pci_name
	movq	%rax, %rsi
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movl	%ebx, %edi
	movl	$4, %edx
	callq	_strlcpy
	movq	_aq_ethtool_stat_names@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	_aq_ethtool_queue_stat_names@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	imull	%ebx, %eax
	addl	%r14d, %eax
	movl	%eax, (%r13)
	movl	%r15d, 4(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AQ_CFG_DRV_NAME,4,2            ## @AQ_CFG_DRV_NAME
	.comm	_AQ_CFG_DRV_VERSION,4,2         ## @AQ_CFG_DRV_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u.%u.%u"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_aq_ethtool_stat_names,4,2      ## @aq_ethtool_stat_names
	.comm	_aq_ethtool_queue_stat_names,4,2 ## @aq_ethtool_queue_stat_names
	.no_dead_strip	_aq_ethtool_get_drvinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aq_ethtool_get_drvinfo
_aq_ethtool_get_drvinfo:                ; @aq_ethtool_get_drvinfo
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x23, x0
	bl	_aq_nic_get_cfg
	mov	x20, x0
	ldr	w0, [x21]
	bl	_to_pci_dev
	mov	x22, x0
	mov	x0, x23
	bl	_aq_nic_get_fw_version
	mov	x24, x0
	mov	x0, x23
	bl	_aq_nic_get_regs_count
	mov	x21, x0
	ldr	w0, [x19, #36]
Lloh0:
	adrp	x8, _AQ_CFG_DRV_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AQ_CFG_DRV_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcat
	ldr	w0, [x19, #32]
Lloh3:
	adrp	x8, _AQ_CFG_DRV_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AQ_CFG_DRV_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcat
	ldr	w0, [x19, #28]
	asr	w3, w24, #24
	ubfx	w4, w24, #16, #8
	and	w5, w24, #0xffff
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	w23, [x19, #24]
	cbz	x22, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_pci_name
	mov	x1, x0
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_3:
	mov	x0, x23
	mov	w2, #4
	bl	_strlcpy
Lloh10:
	adrp	x8, _aq_ethtool_stat_names@GOTPAGE
Lloh11:
	ldr	x8, [x8, _aq_ethtool_stat_names@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	mov	x22, x0
	ldr	w20, [x20]
Lloh13:
	adrp	x8, _aq_ethtool_queue_stat_names@GOTPAGE
Lloh14:
	ldr	x8, [x8, _aq_ethtool_queue_stat_names@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	madd	w8, w0, w20, w22
	stp	w8, w21, [x19]
	stp	xzr, xzr, [x19, #8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AQ_CFG_DRV_NAME,4,2            ; @AQ_CFG_DRV_NAME
	.comm	_AQ_CFG_DRV_VERSION,4,2         ; @AQ_CFG_DRV_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u.%u.%u"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_aq_ethtool_stat_names,4,2      ; @aq_ethtool_stat_names
	.comm	_aq_ethtool_queue_stat_names,4,2 ; @aq_ethtool_queue_stat_names
	.no_dead_strip	_aq_ethtool_get_drvinfo
.subsections_via_symbols
