	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_port_attr_set
_mlxsw_sp_port_attr_set:                ## @mlxsw_sp_port_attr_set
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	24(%rbx), %ecx
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_attr_stp_state_set
	jmp	LBB0_11
LBB0_3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_4:
	movl	20(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_attr_br_pre_flags_set
	jmp	LBB0_11
LBB0_5:
	movl	4(%rbx), %ecx
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_attr_mrouter_set
	jmp	LBB0_11
LBB0_6:
	movl	20(%rbx), %ecx
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_attr_br_flags_set
	jmp	LBB0_11
LBB0_7:
	movl	12(%rbx), %ecx
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_attr_br_vlan_set
	jmp	LBB0_11
LBB0_8:
	movl	4(%rbx), %ecx
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_attr_br_mrouter_set
	jmp	LBB0_11
LBB0_9:
	movl	8(%rbx), %ecx
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_mc_disabled_set
	jmp	LBB0_11
LBB0_10:
	movl	16(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_port_attr_br_ageing_set
LBB0_11:
	movl	%eax, %ebx
LBB0_12:
	movq	%r15, %rdi
	callq	_switchdev_trans_ph_commit
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	(%r14), %edi
	callq	_mlxsw_sp_span_respin
LBB0_14:
	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_2, LBB0_2-LJTI0_0
.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_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_mlxsw_sp_port_attr_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_port_attr_set
_mlxsw_sp_port_attr_set:                ; @mlxsw_sp_port_attr_set
	.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, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
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:
	ldp	w3, w2, [x21, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_attr_stp_state_set
	b	LBB0_11
LBB0_3:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_12
LBB0_4:
	ldr	w2, [x21, #20]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_attr_br_pre_flags_set
	b	LBB0_11
LBB0_5:
	ldr	w2, [x21, #28]
	ldr	w3, [x21, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_attr_mrouter_set
	b	LBB0_11
LBB0_6:
	ldr	w2, [x21, #28]
	ldr	w3, [x21, #20]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_attr_br_flags_set
	b	LBB0_11
LBB0_7:
	ldr	w2, [x21, #28]
	ldr	w3, [x21, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_attr_br_vlan_set
	b	LBB0_11
LBB0_8:
	ldr	w2, [x21, #28]
	ldr	w3, [x21, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_attr_br_mrouter_set
	b	LBB0_11
LBB0_9:
	ldr	w2, [x21, #28]
	ldr	w3, [x21, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_mc_disabled_set
	b	LBB0_11
LBB0_10:
	ldr	w2, [x21, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_port_attr_br_ageing_set
LBB0_11:
	mov	x21, x0
LBB0_12:
	mov	x0, x20
	bl	_switchdev_trans_ph_commit
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w0, [x19]
	bl	_mlxsw_sp_span_respin
LBB0_14:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.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_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_mlxsw_sp_port_attr_set
.subsections_via_symbols
