	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nixge_ethtools_set_phys_id
_nixge_ethtools_set_phys_id:            ## @nixge_ethtools_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_NIXGE_REG_LED_CTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_nixge_ctrl_read_reg
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_NIXGE_ID_LED_CTL_VAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%eax, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_5:
	movq	_NIXGE_ID_LED_CTL_VAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_NIXGE_ID_LED_CTL_EN@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	xorl	%ebx, %ebx
	movl	%eax, %edx
	jmp	LBB0_8
LBB0_3:
	movq	_NIXGE_ID_LED_CTL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%eax, %edx
	movl	$2, %ebx
LBB0_8:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_nixge_ctrl_write_reg
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_NIXGE_REG_LED_CTL,4,2          ## @NIXGE_REG_LED_CTL
	.comm	_NIXGE_ID_LED_CTL_EN,4,2        ## @NIXGE_ID_LED_CTL_EN
	.comm	_NIXGE_ID_LED_CTL_VAL,4,2       ## @NIXGE_ID_LED_CTL_VAL
	.no_dead_strip	_nixge_ethtools_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 nixge_ethtools_set_phys_id
_nixge_ethtools_set_phys_id:            ; @nixge_ethtools_set_phys_id
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x21, _NIXGE_REG_LED_CTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NIXGE_REG_LED_CTL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_nixge_ctrl_read_reg
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w20, #0
Lloh4:
	adrp	x8, _NIXGE_ID_LED_CTL_VAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NIXGE_ID_LED_CTL_VAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w2, w8, w0
	b	LBB0_8
LBB0_3:
	mov	w20, #0
	b	LBB0_9
LBB0_4:
	mov	w20, #0
Lloh7:
	adrp	x8, _NIXGE_ID_LED_CTL_VAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NIXGE_ID_LED_CTL_VAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	w20, #0
Lloh9:
	adrp	x8, _NIXGE_ID_LED_CTL_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIXGE_ID_LED_CTL_EN@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	bic	w2, w0, w8
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _NIXGE_ID_LED_CTL_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NIXGE_ID_LED_CTL_EN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	w20, #2
LBB0_8:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_nixge_ctrl_write_reg
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_NIXGE_REG_LED_CTL,4,2          ; @NIXGE_REG_LED_CTL
	.comm	_NIXGE_ID_LED_CTL_EN,4,2        ; @NIXGE_ID_LED_CTL_EN
	.comm	_NIXGE_ID_LED_CTL_VAL,4,2       ; @NIXGE_ID_LED_CTL_VAL
	.no_dead_strip	_nixge_ethtools_set_phys_id
.subsections_via_symbols
