	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_reg_test
_ixgbevf_reg_test:                      ## @ixgbevf_reg_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_IXGBE_REMOVED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	$1, %eax
	jmp	LBB0_21
LBB0_2:
	movq	_reg_test_vf@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	$0, (%r13)
	je	LBB0_20
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%r13)
	leaq	32(%r13), %r13
	je	LBB0_20
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	cmpq	$0, 8(%r13)
	jle	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %rsi
	addq	%r12, %rsi
	movl	20(%r13), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ixgbe_write_reg
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r15
	addq	$64, %r12
	addq	$4, %r14
	addq	$8, %rbx
	cmpq	8(%r13), %r15
	jge	LBB0_19
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%r13), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %rdx
	addq	%rbx, %rdx
	jmp	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %rax
	leaq	(%rbx,%rax), %rdx
	addq	$4, %rdx
	movl	24(%r13), %ecx
	movl	20(%r13), %r8d
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %rdx
	addq	%r14, %rdx
	jmp	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %rdx
	addq	%r12, %rdx
	movl	20(%r13), %r8d
	movl	24(%r13), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_reg_set_and_check
	testl	%eax, %eax
	je	LBB0_18
	jmp	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %rdx
	addq	%r12, %rdx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movl	20(%r13), %r8d
	movl	24(%r13), %ecx
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_reg_pattern_test
	testl	%eax, %eax
	je	LBB0_18
LBB0_16:
	movl	$1, %eax
	jmp	LBB0_22
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Adapter removed - register test blocked\n"

	.comm	_reg_test_vf,8,3                ## @reg_test_vf
	.no_dead_strip	_ixgbevf_reg_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_reg_test
_ixgbevf_reg_test:                      ; @ixgbevf_reg_test
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_IXGBE_REMOVED
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w0, #1
	b	LBB0_19
LBB0_2:
Lloh2:
	adrp	x8, _reg_test_vf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _reg_test_vf@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
	ldr	x8, [x21]
	cbz	x8, LBB0_18
; %bb.3:
Lloh5:
	adrp	x22, lJTI0_0@PAGE
Lloh6:
	add	x22, x22, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #32]!
	cbz	x8, LBB0_18
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, #0
	mov	x24, #0
	mov	x25, #0
	mov	x26, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x21]
	add	x1, x25, x8
	ldr	w2, [x21, #20]
	mov	x0, x20
	bl	_ixgbe_write_reg
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x26, x26, #1
	ldr	x8, [x21, #8]
	add	x25, x25, #64
	add	x24, x24, #4
	add	x23, x23, #8
	cmp	x26, x8
	b.ge	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21, #16]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	adr	x9, LBB0_7
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x21]
	add	x2, x23, x8
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x21]
	add	x8, x23, x8
	add	x2, x8, #4
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x21]
	add	x2, x24, x8
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x21]
	add	x2, x25, x8
	ldp	w4, w3, [x21, #20]
	mov	x0, x20
	mov	x1, x19
	bl	_reg_set_and_check
	cbz	w0, LBB0_8
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x21]
	add	x2, x25, x8
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	ldp	w4, w3, [x21, #20]
	mov	x0, x20
	mov	x1, x19
	bl	_reg_pattern_test
	cbz	w0, LBB0_8
LBB0_17:
	mov	w0, #1
	b	LBB0_20
LBB0_18:
	mov	w0, #0
LBB0_19:
	str	w0, [x19]
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Adapter removed - register test blocked\n"

	.comm	_reg_test_vf,8,3                ; @reg_test_vf
	.no_dead_strip	_ixgbevf_reg_test
.subsections_via_symbols
