	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_set_phys_id
_i40e_set_phys_id:                      ## @i40e_set_phys_id
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_netdev_priv
	xorl	%r12d, %r12d
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_22
## %bb.1:
	movq	(%rax), %rax
	movq	(%rax), %r13
	leaq	12(%r13), %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_I40E_HW_PHY_CONTROLS_LEDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_9
## %bb.11:
	movl	4(%r13), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	jmp	LBB0_12
LBB0_13:
	movq	_I40E_HW_PHY_CONTROLS_LEDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_14
## %bb.15:
	movl	4(%r13), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
LBB0_12:
	xorl	%ecx, %ecx
	callq	_i40e_led_set_phy
	movq	%rax, %r15
	jmp	LBB0_20
LBB0_16:
	movq	_I40E_HW_PHY_CONTROLS_LEDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%r13), %edx
	testl	%eax, (%r13)
	je	LBB0_17
## %bb.18:
	movq	_I40E_PHY_LED_MODE_ORIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	8(%r13), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_i40e_led_set_phy
	movq	%rax, %r15
	movq	_I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r13)
	jne	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_i40e_aq_set_phy_debug
LBB0_20:
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_22
LBB0_2:
	movq	_I40E_HW_PHY_CONTROLS_LEDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_3
## %bb.5:
	movq	_I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_7
## %bb.6:
	movq	_I40E_PHY_DEBUG_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_i40e_aq_set_phy_debug
LBB0_7:
	leaq	8(%r13), %rdx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_i40e_led_get_phy
	movl	-44(%rbp), %eax
	jmp	LBB0_4
LBB0_9:
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movl	$15, %esi
	jmp	LBB0_10
LBB0_14:
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_17:
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movl	%edx, %esi
LBB0_10:
	xorl	%edx, %edx
	callq	_i40e_led_set
	jmp	LBB0_22
LBB0_3:
	movq	%r14, %rdi
	callq	_i40e_led_get
LBB0_4:
	movl	%eax, 4(%r13)
	movl	$2, %r12d
LBB0_22:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_I40E_HW_PHY_CONTROLS_LEDS,4,2  ## @I40E_HW_PHY_CONTROLS_LEDS
	.comm	_I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE,4,2 ## @I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE
	.comm	_I40E_PHY_DEBUG_ALL,4,2         ## @I40E_PHY_DEBUG_ALL
	.comm	_I40E_PHY_LED_MODE_ORIG,4,2     ## @I40E_PHY_LED_MODE_ORIG
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_i40e_set_phys_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_set_phys_id
_i40e_set_phys_id:                      ; @i40e_set_phys_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	bl	_netdev_priv
	sub	w8, w19, #128
	cmp	w8, #3
	b.hi	LBB0_19
; %bb.1:
	ldr	x9, [x0]
	ldr	x21, [x9]
	add	x19, x21, #12
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.3:
	ldr	w2, [x21, #4]
	mov	x0, x19
	mov	w1, #1
	b	LBB0_6
LBB0_4:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.5:
	ldr	w2, [x21, #4]
	mov	x0, x19
	mov	w1, #0
LBB0_6:
	mov	w3, #0
	bl	_i40e_led_set_phy
	mov	x20, x0
	cbnz	x20, LBB0_10
	b	LBB0_19
LBB0_7:
Lloh8:
	adrp	x8, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldp	w9, w2, [x21]
	tst	w8, w9
	b.eq	LBB0_17
; %bb.8:
	ldr	w8, [x21, #8]
Lloh11:
	adrp	x9, _I40E_PHY_LED_MODE_ORIG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _I40E_PHY_LED_MODE_ORIG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x19
	mov	w1, #0
	bl	_i40e_led_set_phy
	mov	x20, x0
	ldr	w8, [x21, #12]
Lloh14:
	adrp	x9, _I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.9:
	cbz	x20, LBB0_19
LBB0_10:
Lloh17:
	adrp	x8, _ENOENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_20
LBB0_11:
	ldr	w8, [x21]
Lloh20:
	adrp	x9, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _I40E_HW_PHY_CONTROLS_LEDS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.12:
	ldr	w8, [x19]
Lloh23:
	adrp	x9, _I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.13:
Lloh26:
	adrp	x8, _I40E_PHY_DEBUG_ALL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _I40E_PHY_DEBUG_ALL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_i40e_aq_set_phy_debug
LBB0_14:
	add	x2, x21, #8
	add	x1, sp, #12
	mov	x0, x19
	bl	_i40e_led_get_phy
	ldr	w8, [sp, #12]
	str	w8, [x21, #4]
	mov	w0, #2
	b	LBB0_20
LBB0_15:
	mov	x0, x19
	mov	w1, #15
	b	LBB0_18
LBB0_16:
	mov	x0, x19
	mov	w1, #0
	b	LBB0_18
LBB0_17:
	mov	x0, x19
	mov	x1, x2
LBB0_18:
	mov	w2, #0
	bl	_i40e_led_set
LBB0_19:
	mov	w0, #0
LBB0_20:
	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
	add	sp, sp, #64
	ret
LBB0_21:
	mov	x0, x19
	bl	_i40e_led_get
	str	w0, [x21, #4]
	mov	w0, #2
	b	LBB0_20
LBB0_22:
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_i40e_aq_set_phy_debug
	cbnz	x20, LBB0_10
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_I40E_HW_PHY_CONTROLS_LEDS,4,2  ; @I40E_HW_PHY_CONTROLS_LEDS
	.comm	_I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE,4,2 ; @I40E_HW_FLAG_AQ_PHY_ACCESS_CAPABLE
	.comm	_I40E_PHY_DEBUG_ALL,4,2         ; @I40E_PHY_DEBUG_ALL
	.comm	_I40E_PHY_LED_MODE_ORIG,4,2     ; @I40E_PHY_LED_MODE_ORIG
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_i40e_set_phys_id
.subsections_via_symbols
