	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_rif_should_config
_mlxsw_sp_rif_should_config:            ## @mlxsw_sp_rif_should_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	cmpq	$129, %rdx
	je	LBB0_3
## %bb.1:
	cmpq	$128, %rdx
	jne	LBB0_15
## %bb.2:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	sete	%bl
	jmp	LBB0_15
LBB0_3:
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	___in_dev_get_rtnl
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	sete	%bl
	movl	%ebx, %r12d
	jmp	LBB0_6
LBB0_4:
	movl	$1, %r12d
	movb	$1, %bl
LBB0_6:
	movq	%r15, %rdi
	callq	___in6_dev_get
	testb	%bl, %bl
	je	LBB0_9
## %bb.7:
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rdi
	callq	_list_empty
	xorl	%r12d, %r12d
	testl	%eax, %eax
	setne	%r12b
LBB0_9:
	movq	%r15, %rdi
	callq	_netif_is_macvlan
	movl	$1, %ebx
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:
	testl	%eax, %eax
	jne	LBB0_15
LBB0_11:
	testq	%r14, %r14
	je	LBB0_14
## %bb.12:
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.13:
	movl	(%r14), %edi
	callq	_netif_is_l3_slave
	testl	%eax, %eax
	je	LBB0_15
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxsw_sp_rif_should_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_rif_should_config
_mlxsw_sp_rif_should_config:            ; @mlxsw_sp_rif_should_config
	.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	x19, x0
	cmp	x2, #129
	b.eq	LBB0_2
; %bb.1:
	cmp	x19, #0
	cset	w8, eq
	cmp	x2, #128
	csel	w0, wzr, w8, ne
	b	LBB0_15
LBB0_2:
	mov	x20, x1
	mov	x0, x1
	bl	___in_dev_get_rtnl
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w21, eq
	b	LBB0_5
LBB0_4:
	mov	w21, #1
LBB0_5:
	mov	x0, x20
	bl	___in6_dev_get
	cbz	w21, LBB0_8
; %bb.6:
	cbz	x0, LBB0_8
; %bb.7:
	bl	_list_empty
	cmp	w0, #0
	cset	w21, ne
LBB0_8:
	mov	x0, x20
	bl	_netif_is_macvlan
	cbz	w21, LBB0_11
; %bb.9:
	cbz	w0, LBB0_11
LBB0_10:
	mov	w0, #1
	b	LBB0_15
LBB0_11:
	cbz	x19, LBB0_14
; %bb.12:
	cbz	w21, LBB0_14
; %bb.13:
	ldr	w0, [x19]
	bl	_netif_is_l3_slave
	cbz	w0, LBB0_10
LBB0_14:
	mov	w0, #0
LBB0_15:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxsw_sp_rif_should_config
.subsections_via_symbols
