	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_eeprom
_ixgbe_set_eeprom:                      ## @ixgbe_set_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, %rbx
	movq	%rsi, %r14
	callq	_netdev_priv
	movl	8(%r14), %r15d
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movl	4(%rax), %eax
	shll	$16, %eax
	orl	(%r12), %eax
	cmpl	%eax, (%r14)
	jne	LBB0_1
## %bb.4:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %edi
	addl	%edi, %edi
	movl	4(%r14), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r13
	movl	%ebx, %esi
	sarl	%esi
	movl	4(%r14), %eax
	movq	%r13, %rcx
	testb	$1, %al
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	*16(%r12)
	movq	%r13, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.8:
	leaq	1(%rdi), %rcx
	movl	4(%r14), %eax
	movq	%rdi, %r13
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_9:
	addl	%ebx, %r15d
	decl	%r15d
	sarl	%r15d
	addl	8(%r14), %eax
	testb	$1, %al
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %ebx
	jne	LBB0_11
## %bb.10:
	subl	%esi, %ebx
	movq	%r13, %rdi
	jmp	LBB0_12
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_21:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	subl	%esi, %ebx
	movslq	%ebx, %rax
	leaq	(,%rax,4), %rdx
	addq	%r13, %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	*16(%r12)
	movq	%r13, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
LBB0_12:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	js	LBB0_13
## %bb.14:
	subl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	incl	%r15d
	movq	%r15, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_le16_to_cpus
	addq	$4, %rbx
	decq	%r13
	jne	LBB0_15
## %bb.16:
	movl	8(%r14), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_cpu_to_le16s
	addq	$4, %rbx
	decq	%r15
	jne	LBB0_17
	jmp	LBB0_18
LBB0_13:
	movl	8(%r14), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_18:
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rcx
	callq	*24(%r12)
	movq	%r14, %rdi
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:
	movq	%rdi, %rbx
	movq	%r12, %rdi
	callq	*32(%r12)
	movq	%rbx, %rdi
	xorl	%r13d, %r13d
LBB0_20:
	callq	_kfree
	jmp	LBB0_21
	.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_set_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_eeprom
_ixgbe_set_eeprom:                      ; @ixgbe_set_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	x21, x2
	mov	x23, x1
	bl	_netdev_priv
	ldr	w26, [x23, #8]
	cbz	w26, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x23]
	ldp	w9, w10, [x0]
	orr	w9, w9, w10, lsl #16
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	lsl	w0, w8, #1
	ldr	w27, [x23, #4]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	asr	w22, w27, #1
	ldr	w8, [x23, #4]
	tbnz	w8, #0, LBB0_9
; %bb.4:
	mov	x24, x20
	b	LBB0_11
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_7:
	mov	x0, x25
	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
LBB0_8:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_9:
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	blr	x8
	mov	x25, x0
	cbnz	w0, LBB0_22
; %bb.10:
	add	x24, x20, #1
	ldr	w8, [x23, #4]
LBB0_11:
	add	w9, w26, w27
	sub	w9, w9, #1
	asr	w26, w9, #1
	ldr	w9, [x23, #8]
	add	w8, w9, w8
	tbnz	w8, #0, LBB0_13
; %bb.12:
	sub	w27, w26, w22
	b	LBB0_14
LBB0_13:
	ldr	x8, [x19, #16]
	sub	w27, w26, w22
	add	x2, x20, w27, sxtw #2
	mov	x0, x19
	mov	x1, x26
	blr	x8
	mov	x25, x0
	cbnz	w0, LBB0_22
LBB0_14:
	tbnz	w27, #31, LBB0_19
; %bb.15:
	sub	w8, w26, w22
	add	w26, w8, #1
	mov	x28, x26
	mov	x25, x20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_le16_to_cpus
	add	x25, x25, #4
	subs	x28, x28, #1
	b.ne	LBB0_16
; %bb.17:
	ldr	w2, [x23, #8]
	mov	x0, x24
	mov	x1, x21
	bl	_memcpy
	mov	x21, x20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_cpu_to_le16s
	add	x21, x21, #4
	subs	x26, x26, #1
	b.ne	LBB0_18
	b	LBB0_20
LBB0_19:
	ldr	w2, [x23, #8]
	mov	x0, x24
	mov	x1, x21
	bl	_memcpy
LBB0_20:
	add	w2, w27, #1
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	blr	x8
	mov	x25, x0
	cbnz	w0, LBB0_22
; %bb.21:
	ldr	x8, [x19, #32]
	mov	x0, x19
	blr	x8
LBB0_22:
	mov	x0, x20
	bl	_kfree
	b	LBB0_7
	.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_set_eeprom
.subsections_via_symbols
