	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_get_eeprom
_ixgbe_get_eeprom:                      ## @ixgbe_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r13
	movl	8(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %ecx
	shll	$16, %ecx
	orl	(%r13), %ecx
	movl	%ecx, (%rbx)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %ecx
	leal	(%rax,%rcx), %ebx
	decl	%ebx
	movl	%ecx, %r14d
	sarl	%r14d
	sarl	%ebx
	subl	%r14d, %ebx
	leal	1(%rbx), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$4, %esi
	callq	_kmalloc_array
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movq	%rax, %rcx
	callq	*8(%r13)
	movl	%eax, %r13d
	testl	%ebx, %ebx
	js	LBB0_8
## %bb.6:
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_le16_to_cpus
	addq	$4, %rbx
	decq	%r12
	jne	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %eax
	movl	8(%rcx), %edx
	andl	$1, %eax
	leaq	(%r15,%rax,4), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_memcpy
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$24, %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
	.no_dead_strip	_ixgbe_get_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_get_eeprom
_ixgbe_get_eeprom:                      ; @ixgbe_get_eeprom
	.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, x2
	mov	x20, x1
	bl	_netdev_priv
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x22, x0
	ldp	w9, w10, [x0]
	orr	w9, w9, w10, lsl #16
	str	w9, [x20]
	ldr	w9, [x20, #4]
	asr	w23, w9, #1
	add	w8, w8, w9
	sub	w8, w8, #1
	asr	w8, w8, #1
	sub	w25, w8, w23
	add	w24, w25, #1
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x24
	mov	w1, #4
	bl	_kmalloc_array
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	x8, [x22, #8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x21
	blr	x8
	mov	x22, x0
	tbnz	w25, #31, LBB0_5
; %bb.3:
	add	w24, w25, #1
	mov	x23, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_le16_to_cpus
	add	x23, x23, #4
	subs	x24, x24, #1
	b.ne	LBB0_4
LBB0_5:
	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
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ixgbe_get_eeprom
.subsections_via_symbols
