	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_reg_test
_ixgbe_reg_test:                        ## @ixgbe_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	4(%rdi), %edi
	callq	_ixgbe_removed
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_e_err
	movl	$1, %r15d
	jmp	LBB0_24
LBB0_2:
	movl	(%rbx), %eax
	addl	$-128, %eax
	movl	$1, %r15d
	cmpl	$5, %eax
	ja	LBB0_24
## %bb.3:
	cltq
	leaq	l_switch.table.ixgbe_reg_test(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.ixgbe_reg_test.2(%rip), %rdx
	movq	(%rdx,%rax,8), %r13
	movq	(%rcx), %r14
	movq	_IXGBE_STATUS@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_ixgbe_read_reg
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_ixgbe_read_reg
	movq	%rax, %r12
	andq	%r13, %r12
	movq	_IXGBE_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_ixgbe_write_reg
	movq	_IXGBE_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_ixgbe_read_reg
	andq	%r13, %rax
	cmpq	%rax, %r12
	jne	LBB0_4
## %bb.5:
	movq	_IXGBE_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ixgbe_write_reg
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.7:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r15d, %r15d
	cmpq	$0, 40(%r14)
	leaq	40(%r14), %r14
	je	LBB0_24
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	cmpq	$0, 8(%r14)
	jle	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r14), %rsi
	addq	%r13, %rsi
	movq	24(%r14), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ixgbe_write_reg
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%r15
	addq	$64, %r13
	addq	$4, %r12
	addq	$8, %rbx
	cmpq	8(%r14), %r15
	jge	LBB0_23
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%r14), %eax
	movl	$-134, %ecx
	addl	%ecx, %eax
	cmpl	$5, %eax
	ja	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r14), %rdx
	addq	%rbx, %rdx
	jmp	LBB0_13
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r14), %rax
	movq	24(%r14), %r8
	leaq	(%rbx,%rax), %rdx
	addq	$4, %rdx
	movl	32(%r14), %ecx
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r14), %rdx
	addq	%r12, %rdx
	jmp	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r14), %rdx
	addq	%r13, %rdx
	movl	32(%r14), %ecx
	movq	24(%r14), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_reg_set_and_check
	testl	%eax, %eax
	je	LBB0_22
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r14), %rdx
	addq	%r13, %rdx
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	movl	32(%r14), %ecx
	movq	24(%r14), %r8
LBB0_18:                                ##   in Loop: Header=BB0_10 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_22
LBB0_20:
	movl	$1, %r15d
	jmp	LBB0_25
LBB0_4:
	movq	_drv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_e_err
	jmp	LBB0_24
LBB0_6:
	xorl	%r15d, %r15d
LBB0_24:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
LBB0_25:
	movl	%r15d, %eax
	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_21, LBB0_21-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Adapter removed - register test blocked\n"

	.comm	_reg_test_82598,8,3             ## @reg_test_82598
	.comm	_reg_test_82599,8,3             ## @reg_test_82599
	.comm	_IXGBE_STATUS,8,3               ## @IXGBE_STATUS
L_.str.1:                               ## @.str.1
	.asciz	"failed STATUS register test got: 0x%08X expected: 0x%08X\n"

	.no_dead_strip	_ixgbe_reg_test
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ixgbe_reg_test
l_switch.table.ixgbe_reg_test:
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82598

	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.ixgbe_reg_test.2
l_switch.table.ixgbe_reg_test.2:
	.quad	2147480335                      ## 0x7ffff30f
	.quad	2147480335                      ## 0x7ffff30f
	.quad	2147480335                      ## 0x7ffff30f
	.quad	2147480335                      ## 0x7ffff30f
	.quad	2147480335                      ## 0x7ffff30f
	.quad	2147480575                      ## 0x7ffff3ff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_reg_test
_ixgbe_reg_test:                        ; @ixgbe_reg_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, #4]
	bl	_ixgbe_removed
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _drv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_e_err
	b	LBB0_7
LBB0_3:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.4:
	sbfiz	x8, x8, #3, #32
Lloh5:
	adrp	x9, l_switch.table.ixgbe_reg_test@PAGE
Lloh6:
	add	x9, x9, l_switch.table.ixgbe_reg_test@PAGEOFF
	ldr	x9, [x9, x8]
Lloh7:
	adrp	x10, l_switch.table.ixgbe_reg_test.2@PAGE
Lloh8:
	add	x10, x10, l_switch.table.ixgbe_reg_test.2@PAGEOFF
	ldr	x22, [x10, x8]
	ldr	x23, [x9]
Lloh9:
	adrp	x24, _IXGBE_STATUS@GOTPAGE
Lloh10:
	ldr	x24, [x24, _IXGBE_STATUS@GOTPAGEOFF]
	ldr	x1, [x24]
	mov	x0, x20
	bl	_ixgbe_read_reg
	mov	x21, x0
	ldr	x1, [x24]
	mov	x0, x20
	bl	_ixgbe_read_reg
	and	x25, x0, x22
	ldr	x1, [x24]
	mov	x0, x20
	mov	x2, x22
	bl	_ixgbe_write_reg
	ldr	x1, [x24]
	mov	x0, x20
	bl	_ixgbe_read_reg
	and	x8, x0, x22
	cmp	x25, x8
	b.ne	LBB0_24
; %bb.5:
	ldr	x1, [x24]
	mov	x0, x20
	mov	x2, x21
	bl	_ixgbe_write_reg
	ldr	x8, [x23]
	cbz	x8, LBB0_25
; %bb.6:
Lloh11:
	adrp	x21, lJTI0_0@PAGE
Lloh12:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_11
LBB0_7:
	mov	w0, #1
LBB0_8:
	str	w0, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #0
	ldr	x8, [x23, #40]!
	cbz	x8, LBB0_8
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x23, #8]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
	mov	x24, #0
	mov	x25, #0
	mov	x26, #0
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x23]
	add	x2, x25, x8
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	w3, [x23, #32]
	ldr	x4, [x23, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_reg_pattern_test
	cbnz	w0, LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x26, x26, #1
	ldr	x8, [x23, #8]
	add	x25, x25, #64
	add	x24, x24, #4
	add	x22, x22, #8
	cmp	x26, x8
	b.ge	LBB0_10
LBB0_16:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x23, #16]
	sub	w8, w8, #134
	cmp	w8, #5
	b.hi	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	adr	x9, LBB0_13
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x23]
	add	x1, x25, x8
	ldr	x2, [x23, #24]
	mov	x0, x20
	bl	_ixgbe_write_reg
	b	LBB0_15
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x23]
	add	x2, x22, x8
	b	LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x23]
	add	x8, x22, x8
	add	x2, x8, #4
	b	LBB0_14
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x23]
	add	x2, x24, x8
	b	LBB0_14
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x23]
	add	x2, x25, x8
	ldr	w3, [x23, #32]
	ldr	x4, [x23, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_reg_set_and_check
	cbz	w0, LBB0_15
LBB0_23:
	mov	w0, #1
	b	LBB0_9
LBB0_24:
Lloh13:
	adrp	x9, _drv@GOTPAGE
Lloh14:
	ldr	x9, [x9, _drv@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x9]
	stp	x8, x25, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_25:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_13)>>2
	.byte	(LBB0_19-LBB0_13)>>2
	.byte	(LBB0_20-LBB0_13)>>2
	.byte	(LBB0_21-LBB0_13)>>2
	.byte	(LBB0_22-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
                                        ; -- End function
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Adapter removed - register test blocked\n"

	.comm	_reg_test_82598,8,3             ; @reg_test_82598
	.comm	_reg_test_82599,8,3             ; @reg_test_82599
	.comm	_IXGBE_STATUS,8,3               ; @IXGBE_STATUS
l_.str.1:                               ; @.str.1
	.asciz	"failed STATUS register test got: 0x%08X expected: 0x%08X\n"

	.no_dead_strip	_ixgbe_reg_test
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ixgbe_reg_test
l_switch.table.ixgbe_reg_test:
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82599
	.quad	_reg_test_82598

	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.ixgbe_reg_test.2
l_switch.table.ixgbe_reg_test.2:
	.quad	2147480335                      ; 0x7ffff30f
	.quad	2147480335                      ; 0x7ffff30f
	.quad	2147480335                      ; 0x7ffff30f
	.quad	2147480335                      ; 0x7ffff30f
	.quad	2147480335                      ; 0x7ffff30f
	.quad	2147480575                      ; 0x7ffff3ff

.subsections_via_symbols
