	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_reg_test
_igb_reg_test:                          ## @igb_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, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	movslq	%eax, %rcx
	leaq	l_switch.table.igb_reg_test(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	leaq	l_switch.table.igb_reg_test.1(%rip), %rdx
	movq	(%rdx,%rcx,8), %r15
	jmp	LBB0_3
LBB0_1:
	movl	$2147480575, %r15d              ## imm = 0x7FFFF3FF
	movq	_reg_test_82575@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r14
	movq	_E1000_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_rd32
	movq	%rax, %r13
	andq	%r15, %r13
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_wr32
	movl	(%rbx), %edi
	callq	_rd32
	andq	%r15, %rax
	cmpq	%rax, %r13
	jne	LBB0_4
## %bb.5:
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_wr32
	cmpq	$0, (%r14)
	je	LBB0_21
## %bb.6:
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 40(%r14)
	leaq	40(%r14), %r14
	je	LBB0_21
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpq	$0, 8(%r14)
	jle	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r14), %rdi
	addq	%r12, %rdi
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	32(%r14), %edx
	movl	36(%r14), %esi
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=2
	callq	_REG_PATTERN_TEST
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%r15
	addq	$4, %r12
	addq	$8, %rbx
	cmpq	8(%r14), %r15
	jge	LBB0_20
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%r14), %eax
	movl	$-134, %ecx
	addl	%ecx, %eax
	cmpl	$5, %eax
	ja	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	(%rcx), %rax
	movl	32(%r14), %edi
	movq	24(%r14), %rsi
	imulq	%r15, %rsi
	addq	%rax, %rsi
	callq	_writel
	jmp	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	jmp	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r14), %rax
	leaq	(%rbx,%rax), %rdi
	addq	$4, %rdi
	movl	36(%r14), %esi
	movl	32(%r14), %edx
	jmp	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	24(%r14), %rdi
	imulq	%r15, %rdi
	addq	(%r14), %rdi
	movl	32(%r14), %edx
	movl	36(%r14), %esi
	callq	_REG_SET_AND_CHECK
	jmp	LBB0_19
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	24(%r14), %rdi
	imulq	%r15, %rdi
	addq	(%r14), %rdi
	jmp	LBB0_15
LBB0_4:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	movq	%r13, %rcx
	callq	_dev_err
	movl	$1, %eax
	jmp	LBB0_22
LBB0_21:
	xorl	%eax, %eax
LBB0_22:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	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_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_reg_test_i350,8,3              ## @reg_test_i350
	.comm	_reg_test_i210,8,3              ## @reg_test_i210
	.comm	_reg_test_82580,8,3             ## @reg_test_82580
	.comm	_reg_test_82576,8,3             ## @reg_test_82576
	.comm	_reg_test_82575,8,3             ## @reg_test_82575
	.comm	_E1000_STATUS,4,2               ## @E1000_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed STATUS register test got: 0x%08X expected: 0x%08X\n"

	.no_dead_strip	_igb_reg_test
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.igb_reg_test
l_switch.table.igb_reg_test:
	.quad	_reg_test_i350
	.quad	_reg_test_i350
	.quad	_reg_test_i210
	.quad	_reg_test_i210
	.quad	_reg_test_82580
	.quad	_reg_test_82576

	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.igb_reg_test.1
l_switch.table.igb_reg_test.1:
	.quad	2146431999                      ## 0x7feff3ff
	.quad	2146431999                      ## 0x7feff3ff
	.quad	2146431999                      ## 0x7feff3ff
	.quad	2146431999                      ## 0x7feff3ff
	.quad	2146431999                      ## 0x7feff3ff
	.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 igb_reg_test
_igb_reg_test:                          ; @igb_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	w8, [x0, #8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x9, x8, #3, #32
Lloh0:
	adrp	x8, l_switch.table.igb_reg_test@PAGE
Lloh1:
	add	x8, x8, l_switch.table.igb_reg_test@PAGEOFF
	ldr	x8, [x8, x9]
Lloh2:
	adrp	x10, l_switch.table.igb_reg_test.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.igb_reg_test.1@PAGEOFF
	ldr	x21, [x10, x9]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _reg_test_82575@GOTPAGE
Lloh5:
	ldr	x8, [x8, _reg_test_82575@GOTPAGEOFF]
	mov	w21, #62463
	movk	w21, #32767, lsl #16
LBB0_3:
	ldr	x24, [x8]
Lloh6:
	adrp	x25, _E1000_STATUS@GOTPAGE
Lloh7:
	ldr	x25, [x25, _E1000_STATUS@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_rd32
	mov	x22, x0
	ldr	w0, [x25]
	bl	_rd32
	and	x23, x0, x21
	ldr	w0, [x25]
	mov	x1, x21
	bl	_wr32
	ldr	w0, [x25]
	bl	_rd32
	and	x2, x0, x21
	cmp	x23, x2
	b.ne	LBB0_19
; %bb.4:
	ldr	w0, [x25]
	mov	x1, x22
	bl	_wr32
	ldr	x8, [x24]
	cbz	x8, LBB0_20
; %bb.5:
Lloh8:
	adrp	x21, lJTI0_0@PAGE
Lloh9:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24, #40]!
	cbz	x8, LBB0_20
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [x24, #8]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, #0
	mov	x23, #0
	mov	x25, #0
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24]
	add	x8, x22, x8
	add	x0, x8, #4
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	ldp	w2, w1, [x24, #32]
	bl	_REG_PATTERN_TEST
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x25, x25, #1
	ldr	x8, [x24, #8]
	add	x23, x23, #4
	add	x22, x22, #8
	cmp	x25, x8
	b.ge	LBB0_6
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24, #16]
	sub	w8, w8, #134
	cmp	w8, #5
	b.hi	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	adr	x9, LBB0_9
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	w0, [x24, #32]
	ldr	x8, [x20]
	ldr	x9, [x24]
	add	x8, x9, x8
	ldr	x9, [x24, #24]
	madd	x1, x9, x25, x8
	bl	_writel
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24]
	add	x0, x22, x8
	b	LBB0_10
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24]
	add	x0, x23, x8
	b	LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24]
	ldr	x9, [x24, #24]
	madd	x0, x9, x25, x8
	ldp	w2, w1, [x24, #32]
	bl	_REG_SET_AND_CHECK
	b	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x24]
	ldr	x9, [x24, #24]
	madd	x0, x9, x25, x8
	b	LBB0_10
LBB0_19:
	ldr	x0, [x20, #16]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x23
	bl	_dev_err
	mov	w0, #1
	b	LBB0_21
LBB0_20:
	mov	w0, #0
LBB0_21:
	str	w0, [x19]
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
                                        ; -- End function
	.comm	_reg_test_i350,8,3              ; @reg_test_i350
	.comm	_reg_test_i210,8,3              ; @reg_test_i210
	.comm	_reg_test_82580,8,3             ; @reg_test_82580
	.comm	_reg_test_82576,8,3             ; @reg_test_82576
	.comm	_reg_test_82575,8,3             ; @reg_test_82575
	.comm	_E1000_STATUS,4,2               ; @E1000_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed STATUS register test got: 0x%08X expected: 0x%08X\n"

	.no_dead_strip	_igb_reg_test
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.igb_reg_test
l_switch.table.igb_reg_test:
	.quad	_reg_test_i350
	.quad	_reg_test_i350
	.quad	_reg_test_i210
	.quad	_reg_test_i210
	.quad	_reg_test_82580
	.quad	_reg_test_82576

	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.igb_reg_test.1
l_switch.table.igb_reg_test.1:
	.quad	2146431999                      ; 0x7feff3ff
	.quad	2146431999                      ; 0x7feff3ff
	.quad	2146431999                      ; 0x7feff3ff
	.quad	2146431999                      ; 0x7feff3ff
	.quad	2146431999                      ; 0x7feff3ff
	.quad	2147480575                      ; 0x7ffff3ff

.subsections_via_symbols
