	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_self_test
_fm10k_self_test:                       ## @fm10k_self_test
	.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, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_FM10K_TEST_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	(%rbx), %edi
	callq	_FM10K_REMOVED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_netif_err
	jmp	LBB0_3
LBB0_2:
	movq	_FM10K_TEST_MBX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%rax,4), %rsi
	movq	%rbx, %rdi
	callq	_fm10k_mbx_test
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_ETH_TEST_FL_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_TEST_LEN,4,2             ## @FM10K_TEST_LEN
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Interface removed - test blocked\n"

	.comm	_ETH_TEST_FL_FAILED,4,2         ## @ETH_TEST_FL_FAILED
	.comm	_FM10K_TEST_MBX,8,3             ## @FM10K_TEST_MBX
	.no_dead_strip	_fm10k_self_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_self_test
_fm10k_self_test:                       ; @fm10k_self_test
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _FM10K_TEST_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_TEST_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	x0, x22
	mov	w1, #0
	bl	_memset
	ldr	w0, [x21]
	bl	_FM10K_REMOVED
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _drv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_netif_err
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _FM10K_TEST_MBX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FM10K_TEST_MBX@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x1, x22, x8, lsl #2
	mov	x0, x21
	bl	_fm10k_mbx_test
	cbz	x0, LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _ETH_TEST_FL_FAILED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_TEST_FL_FAILED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_TEST_LEN,4,2             ; @FM10K_TEST_LEN
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Interface removed - test blocked\n"

	.comm	_ETH_TEST_FL_FAILED,4,2         ; @ETH_TEST_FL_FAILED
	.comm	_FM10K_TEST_MBX,8,3             ; @FM10K_TEST_MBX
	.no_dead_strip	_fm10k_self_test
.subsections_via_symbols
