	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_read_mac_addr              ## -- Begin function igb_read_mac_addr
	.p2align	4, 0x90
_igb_read_mac_addr:                     ## @igb_read_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%edi, %edi
	callq	_E1000_RAH
	movl	%eax, %edi
	callq	_rd32
	movq	%rax, %r14
	xorl	%edi, %edi
	callq	_E1000_RAL
	movl	%eax, %edi
	callq	_rd32
	movq	_E1000_RAL_MAC_ADDR_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	testq	%r8, %r8
	je	LBB0_6
## %bb.1:
	leaq	-1(%r8), %rcx
	movl	%r8d, %r9d
	andl	$3, %r9d
	cmpq	$3, %rcx
	jae	LBB0_9
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_9:
	andq	$-4, %r8
	movl	$16, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leal	-16(%rsi), %ecx
	movq	%rax, %rbx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rbx
	movq	(%r15), %rcx
	movq	%rbx, -16(%rcx,%rsi)
	leal	-8(%rsi), %ecx
	movq	%rax, %rbx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rbx
	movq	(%r15), %r10
	movq	%rax, %rdi
	movl	%esi, %ecx
	shrq	%cl, %rdi
	movq	%rbx, -8(%r10,%rsi)
	movq	(%r15), %rcx
	movq	%rdi, (%rcx,%rsi)
	leal	8(%rsi), %ecx
	movq	%rax, %rdi
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rdi
	movq	(%r15), %rcx
	movq	%rdi, 8(%rcx,%rsi)
	addq	$4, %rdx
	addq	$32, %rsi
	cmpq	%rdx, %r8
	jne	LBB0_10
LBB0_3:
	testq	%r9, %r9
	je	LBB0_6
## %bb.4:
	shlq	$3, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rsi
	movl	%edx, %ecx
	shrq	%cl, %rsi
	movq	(%r15), %rcx
	movq	%rsi, (%rcx,%rdx)
	addq	$8, %rdx
	decq	%r9
	jne	LBB0_5
LBB0_6:
	movq	_E1000_RAH_MAC_ADDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.7:
	cmpq	$1, %rdx
	jne	LBB0_17
## %bb.8:
	xorl	%esi, %esi
	testb	$1, %dl
	jne	LBB0_13
	jmp	LBB0_14
LBB0_17:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	negq	%rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rbx
	movl	%eax, %ecx
	shrq	%cl, %rbx
	movq	(%r15), %rcx
	movq	%rbx, 32(%rcx,%rax)
	leal	8(%rax), %ecx
	movq	%r14, %rbx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rbx
	movq	(%r15), %rcx
	movq	%rbx, 40(%rcx,%rax)
	addq	$16, %rax
	addq	$-2, %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_18
## %bb.11:
	negq	%rsi
	testb	$1, %dl
	je	LBB0_14
LBB0_13:
	leal	(,%rsi,8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %r14
	movq	(%r15), %rax
	movq	%r14, 32(%rax,%rsi,8)
LBB0_14:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.15:
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_19
## %bb.16:
	xorl	%ecx, %ecx
	jmp	LBB0_21
LBB0_19:
	andq	$-4, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	movq	8(%r15), %rdi
	movq	(%rsi,%rcx,8), %rsi
	movq	%rsi, (%rdi,%rcx,8)
	movq	(%r15), %rsi
	movq	8(%r15), %rdi
	movq	8(%rsi,%rcx,8), %rsi
	movq	%rsi, 8(%rdi,%rcx,8)
	movq	(%r15), %rsi
	movq	8(%r15), %rdi
	movq	16(%rsi,%rcx,8), %rsi
	movq	%rsi, 16(%rdi,%rcx,8)
	movq	(%r15), %rsi
	movq	8(%r15), %rdi
	movq	24(%rsi,%rcx,8), %rsi
	movq	%rsi, 24(%rdi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_20
LBB0_21:
	testq	%rax, %rax
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdx
	movq	8(%r15), %rsi
	movq	(%rdx,%rcx,8), %rdx
	movq	%rdx, (%rsi,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_22
LBB0_23:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_RAL_MAC_ADDR_LEN,8,3     ## @E1000_RAL_MAC_ADDR_LEN
	.comm	_E1000_RAH_MAC_ADDR_LEN,8,3     ## @E1000_RAH_MAC_ADDR_LEN
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_read_mac_addr              ; -- Begin function igb_read_mac_addr
	.p2align	2
_igb_read_mac_addr:                     ; @igb_read_mac_addr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #0
	bl	_E1000_RAH
	bl	_rd32
	mov	x20, x0
	mov	w0, #0
	bl	_E1000_RAL
	bl	_rd32
Lloh0:
	adrp	x8, _E1000_RAL_MAC_ADDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_RAL_MAC_ADDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x9, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x10, x0, x9
	ldr	x11, [x19]
	str	x10, [x11, x9]
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
Lloh3:
	adrp	x8, _E1000_RAH_MAC_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_RAH_MAC_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
	mov	w9, #32
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x9, #32
	lsr	x10, x20, x10
	ldr	x11, [x19]
	str	x10, [x11, x9]
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_5
LBB0_6:
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x9, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x9, #3
	ldp	x11, x12, [x19]
	ldr	x11, [x11, x10]
	str	x11, [x12, x10]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_RAL_MAC_ADDR_LEN,8,3     ; @E1000_RAL_MAC_ADDR_LEN
	.comm	_E1000_RAH_MAC_ADDR_LEN,8,3     ; @E1000_RAH_MAC_ADDR_LEN
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
.subsections_via_symbols
