	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_get_eeprom
_igb_get_eeprom:                        ## @igb_get_eeprom
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movl	8(%r12), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	4(%r14), %ecx
	shll	$16, %ecx
	orl	(%r14), %ecx
	movl	%ecx, (%r12)
	movl	4(%r12), %ecx
	leal	(%rax,%rcx), %ebx
	decl	%ebx
	movl	%ecx, %r15d
	sarl	%r15d
	sarl	%ebx
	subl	%r15d, %ebx
	leal	4(,%rbx,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leal	1(%rbx), %r13d
	movq	8(%r14), %rdx
	movq	_e1000_nvm_eeprom_spi@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_6
## %bb.8:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	*16(%r14)
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_15
LBB0_16:
	movl	%eax, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_le16_to_cpus
	addq	$4, %rbx
	decq	%r13
	jne	LBB0_17
	jmp	LBB0_18
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_19
LBB0_6:
	testl	%ebx, %ebx
	js	LBB0_7
## %bb.11:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	*16(%rdi)
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_12 Depth=1
	incl	%r15d
	addq	$4, %r12
	decq	%rbx
	jne	LBB0_12
## %bb.10:
	xorl	%eax, %eax
LBB0_13:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jns	LBB0_16
LBB0_15:
	movl	%eax, %r14d
	jmp	LBB0_18
LBB0_7:
	xorl	%r14d, %r14d
LBB0_18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	4(%r12), %eax
	movl	8(%r12), %edx
	andl	$1, %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rsi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r14d, %eax
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_e1000_nvm_eeprom_spi,8,3       ## @e1000_nvm_eeprom_spi
	.no_dead_strip	_igb_get_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_get_eeprom
_igb_get_eeprom:                        ; @igb_get_eeprom
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	bl	_netdev_priv
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x22, x0
	ldp	w9, w10, [x0]
	orr	w9, w9, w10, lsl #16
	str	w9, [x20]
	ldr	w9, [x20, #4]
	asr	w24, w9, #1
	add	w8, w8, w9
	sub	w8, w8, #1
	asr	w8, w8, #1
	sub	w26, w8, w24
	add	w23, w26, #1
	lsl	w0, w23, #2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x21, x0
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x9, _e1000_nvm_eeprom_spi@GOTPAGE
Lloh4:
	ldr	x9, [x9, _e1000_nvm_eeprom_spi@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	ldr	x8, [x22, #16]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	mov	x3, x21
	blr	x8
LBB0_4:
	mov	x23, x0
	tbnz	w26, #31, LBB0_16
LBB0_5:
	add	w24, w26, #1
	mov	x22, x21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_le16_to_cpus
	add	x22, x22, #4
	subs	x24, x24, #1
	b.ne	LBB0_6
	b	LBB0_16
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_17
LBB0_10:
	tbnz	w26, #31, LBB0_15
; %bb.11:
	add	w27, w26, #1
	mov	x25, x21
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	mov	x0, x22
	mov	x1, x24
	mov	w2, #1
	mov	x3, x25
	blr	x8
	cbnz	w0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	w24, w24, #1
	add	x25, x25, #4
	subs	x27, x27, #1
	b.ne	LBB0_12
; %bb.14:
	mov	w23, #0
	tbz	w26, #31, LBB0_5
	b	LBB0_16
LBB0_15:
	mov	w23, #0
LBB0_16:
	ldp	w8, w2, [x20, #4]
	and	x8, x8, #0x1
	add	x1, x21, x8, lsl #2
	mov	x0, x19
	bl	_memcpy
	mov	x0, x21
	bl	_kfree
LBB0_17:
	mov	x0, x23
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_e1000_nvm_eeprom_spi,8,3       ; @e1000_nvm_eeprom_spi
	.no_dead_strip	_igb_get_eeprom
.subsections_via_symbols
