	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_lag_fib_nexthop_event
_mlx5_lag_fib_nexthop_event:            ## @mlx5_lag_fib_nexthop_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	cmpq	%rcx, %rax
	jne	LBB0_8
## %bb.2:
	movq	%rdi, %rbx
	movq	_FIB_EVENT_NH_DEL@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_6
## %bb.3:
	movl	(%rdx), %esi
	movq	%rbx, %rdi
	callq	_mlx5_lag_dev_get_netdev_idx
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	andl	$1, %eax
	movl	$2, %esi
	subl	%eax, %esi
	jmp	LBB0_5
LBB0_6:
	movq	_FIB_EVENT_NH_ADD@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	%rcx, %rdi
	callq	_fib_info_num_path
	xorl	%esi, %esi
	cmpl	$2, %eax
	jne	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mlx5_lag_set_port_affinity     ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIB_EVENT_NH_DEL,8,3           ## @FIB_EVENT_NH_DEL
	.comm	_FIB_EVENT_NH_ADD,8,3           ## @FIB_EVENT_NH_ADD
	.no_dead_strip	_mlx5_lag_fib_nexthop_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_lag_fib_nexthop_event
_mlx5_lag_fib_nexthop_event:            ; @mlx5_lag_fib_nexthop_event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cmp	x8, #0
	ccmp	x8, x3, #0, ne
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _FIB_EVENT_NH_DEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIB_EVENT_NH_DEL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.2:
	ldr	w1, [x2]
	mov	x0, x19
	bl	_mlx5_lag_dev_get_netdev_idx
	tbnz	w0, #31, LBB0_8
; %bb.3:
	and	w8, w0, #0x1
	mov	w9, #2
	sub	w1, w9, w8
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _FIB_EVENT_NH_ADD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIB_EVENT_NH_ADD@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x3
	bl	_fib_info_num_path
	cmp	w0, #2
	b.ne	LBB0_8
; %bb.6:
	mov	w1, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx5_lag_set_port_affinity
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FIB_EVENT_NH_DEL,8,3           ; @FIB_EVENT_NH_DEL
	.comm	_FIB_EVENT_NH_ADD,8,3           ; @FIB_EVENT_NH_ADD
	.no_dead_strip	_mlx5_lag_fib_nexthop_event
.subsections_via_symbols
