	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_check_alt_mac_addr         ## -- Begin function igb_check_alt_mac_addr
	.p2align	4, 0x90
_igb_check_alt_mac_addr:                ## @igb_check_alt_mac_addr
	.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	%rdi, %r15
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	(%r15), %rax
	movq	_e1000_82580@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.1:
	movq	_NVM_ALT_MAC_ADDR_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rcx
	movq	%r15, %rdi
	movl	$1, %edx
	callq	*16(%r15)
	testq	%rax, %rax
	je	LBB0_7
LBB0_2:
	movq	%rax, %rbx
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_hw_dbg
	jmp	LBB0_5
LBB0_7:
	movl	-52(%rbp), %esi
	xorl	%ebx, %ebx
	testl	%esi, %esi
	je	LBB0_5
## %bb.8:
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_5
## %bb.9:
	movq	24(%r15), %rax
	movq	_E1000_FUNC_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN1@GOTPCREL(%rip), %rcx
	addl	(%rcx), %esi
	movl	%esi, -52(%rbp)
LBB0_11:
	movq	_E1000_FUNC_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN2@GOTPCREL(%rip), %rcx
	addl	(%rcx), %esi
	movl	%esi, -52(%rbp)
LBB0_13:
	movq	_E1000_FUNC_3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movq	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN3@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	movl	%esi, -52(%rbp)
LBB0_15:
	cmpl	$0, (%r12)
	jle	LBB0_20
## %bb.16:
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	movl	$1, %edx
	callq	*16(%r15)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.17:
	movl	$2, %r12d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %eax
	movzbl	%al, %ecx
	movq	%rcx, -16(%r14,%r12,8)
	sarl	$8, %eax
	cltq
	movq	%rax, -8(%r14,%r12,8)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jle	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r12, %rsi
	shrq	%rsi
	addl	-52(%rbp), %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %edx
	leaq	-56(%rbp), %rcx
	callq	*16(%r15)
	addq	$2, %r12
	testq	%rax, %rax
	je	LBB0_18
	jmp	LBB0_2
LBB0_20:
	movq	%r14, %rdi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.1(%rip), %rdi
	callq	_hw_dbg
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.6:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	*8(%r15)
	jmp	LBB0_5
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_e1000_82580,8,3                ## @e1000_82580
	.comm	_NVM_ALT_MAC_ADDR_PTR,4,2       ## @NVM_ALT_MAC_ADDR_PTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVM Read Error\n"

	.comm	_E1000_FUNC_1,8,3               ## @E1000_FUNC_1
	.comm	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN1,8,3 ## @E1000_ALT_MAC_ADDRESS_OFFSET_LAN1
	.comm	_E1000_FUNC_2,8,3               ## @E1000_FUNC_2
	.comm	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN2,8,3 ## @E1000_ALT_MAC_ADDRESS_OFFSET_LAN2
	.comm	_E1000_FUNC_3,8,3               ## @E1000_FUNC_3
	.comm	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN3,8,3 ## @E1000_ALT_MAC_ADDRESS_OFFSET_LAN3
L_.str.1:                               ## @.str.1
	.asciz	"Ignoring Alternate Mac Address with MC bit set\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_check_alt_mac_addr         ; -- Begin function igb_check_alt_mac_addr
	.p2align	2
_igb_check_alt_mac_addr:                ; @igb_check_alt_mac_addr
	.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
	sub	sp, sp, #16
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x0]
Lloh7:
	adrp	x9, _e1000_82580@GOTPAGE
Lloh8:
	ldr	x9, [x9, _e1000_82580@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_20
; %bb.1:
	ldr	x8, [x19, #16]
Lloh10:
	adrp	x9, _NVM_ALT_MAC_ADDR_PTR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NVM_ALT_MAC_ADDR_PTR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
	sub	x3, x29, #60
	mov	x0, x19
	mov	w2, #1
	blr	x8
	mov	x21, x0
	cbz	x0, LBB0_3
LBB0_2:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hw_dbg
	b	LBB0_21
LBB0_3:
	ldur	w1, [x29, #-60]
	cbz	w1, LBB0_21
; %bb.4:
	mov	w8, #65535
	cmp	w1, w8
	b.eq	LBB0_21
; %bb.5:
	ldr	x8, [x19, #24]
Lloh15:
	adrp	x9, _E1000_FUNC_1@GOTPAGE
Lloh16:
	ldr	x9, [x9, _E1000_FUNC_1@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh18:
	adrp	x9, _E1000_ALT_MAC_ADDRESS_OFFSET_LAN1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _E1000_ALT_MAC_ADDRESS_OFFSET_LAN1@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	add	w1, w1, w9
	stur	w1, [x29, #-60]
LBB0_7:
Lloh21:
	adrp	x9, _E1000_FUNC_2@GOTPAGE
Lloh22:
	ldr	x9, [x9, _E1000_FUNC_2@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh24:
	adrp	x9, _E1000_ALT_MAC_ADDRESS_OFFSET_LAN2@GOTPAGE
Lloh25:
	ldr	x9, [x9, _E1000_ALT_MAC_ADDRESS_OFFSET_LAN2@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	add	w1, w1, w9
	stur	w1, [x29, #-60]
LBB0_9:
Lloh27:
	adrp	x9, _E1000_FUNC_3@GOTPAGE
Lloh28:
	ldr	x9, [x9, _E1000_FUNC_3@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
Lloh30:
	adrp	x8, _E1000_ALT_MAC_ADDRESS_OFFSET_LAN3@GOTPAGE
Lloh31:
	ldr	x8, [x8, _E1000_ALT_MAC_ADDRESS_OFFSET_LAN3@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	add	w1, w1, w8
	stur	w1, [x29, #-60]
LBB0_11:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.12:
	ldr	x8, [x19, #16]
	sub	x3, x29, #64
	mov	x0, x19
	mov	w2, #1
	blr	x8
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.13:
	mov	x24, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x29, #-64]
	and	x9, x8, #0xff
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	add	x10, x20, x24, lsl #3
	sbfx	x8, x8, #8, #24
	stp	x9, x8, [x10]
	add	x24, x24, #2
	ldr	w8, [x23]
	cmp	w8, w24
	b.le	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldur	w8, [x29, #-60]
	lsr	x9, x24, #1
	add	w1, w8, w9
	ldr	x8, [x19, #16]
	sub	x3, x29, #64
	mov	x0, x19
	mov	w2, #1
	blr	x8
	cbz	x0, LBB0_14
; %bb.16:
	mov	x21, x0
	b	LBB0_2
LBB0_17:
	mov	x0, x20
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_19
; %bb.18:
Lloh33:
	adrp	x0, l_.str.1@PAGE
Lloh34:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_hw_dbg
	b	LBB0_20
LBB0_19:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	blr	x8
LBB0_20:
	mov	x21, #0
LBB0_21:
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x21
	sub	sp, x29, #48
	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
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_e1000_82580,8,3                ; @e1000_82580
	.comm	_NVM_ALT_MAC_ADDR_PTR,4,2       ; @NVM_ALT_MAC_ADDR_PTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVM Read Error\n"

	.comm	_E1000_FUNC_1,8,3               ; @E1000_FUNC_1
	.comm	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN1,8,3 ; @E1000_ALT_MAC_ADDRESS_OFFSET_LAN1
	.comm	_E1000_FUNC_2,8,3               ; @E1000_FUNC_2
	.comm	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN2,8,3 ; @E1000_ALT_MAC_ADDRESS_OFFSET_LAN2
	.comm	_E1000_FUNC_3,8,3               ; @E1000_FUNC_3
	.comm	_E1000_ALT_MAC_ADDRESS_OFFSET_LAN3,8,3 ; @E1000_ALT_MAC_ADDRESS_OFFSET_LAN3
l_.str.1:                               ; @.str.1
	.asciz	"Ignoring Alternate Mac Address with MC bit set\n"

.subsections_via_symbols
